@automattic/vip 4.1.4 → 4.1.6
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/assets/dev-env.lando.template.yml.ejs +6 -2
- package/config/config.local.json +6 -0
- package/dist/bin/vip-config-software-get.js +9 -0
- package/dist/bin/vip-wp.js +128 -39
- package/dist/lib/client-file-uploader.js +34 -5
- package/dist/lib/config/software.js +42 -2
- package/dist/lib/dev-environment/dev-environment-cli.js +8 -5
- package/dist/lib/dev-environment/dev-environment-core.js +1 -1
- package/helpers/generate-docs.js +9 -3
- package/node_modules/@apollo/client/CHANGELOG.md +38 -0
- package/node_modules/@apollo/client/__cjs/cache/core/cache.cjs +1 -1
- package/node_modules/@apollo/client/__cjs/cache/core/cache.cjs.map +1 -1
- package/node_modules/@apollo/client/__cjs/cache/core/cache.d.cts +4 -1
- package/node_modules/@apollo/client/__cjs/cache/core/types/Cache.d.cts +5 -0
- package/node_modules/@apollo/client/__cjs/cache/inmemory/entityStore.cjs +4 -4
- package/node_modules/@apollo/client/__cjs/cache/inmemory/inMemoryCache.cjs +15 -5
- package/node_modules/@apollo/client/__cjs/cache/inmemory/inMemoryCache.cjs.map +1 -1
- package/node_modules/@apollo/client/__cjs/cache/inmemory/inMemoryCache.d.cts +3 -1
- package/node_modules/@apollo/client/__cjs/cache/inmemory/key-extractor.cjs +1 -1
- package/node_modules/@apollo/client/__cjs/cache/inmemory/policies.cjs +5 -5
- package/node_modules/@apollo/client/__cjs/cache/inmemory/readFromStore.cjs +28 -10
- package/node_modules/@apollo/client/__cjs/cache/inmemory/readFromStore.cjs.map +1 -1
- package/node_modules/@apollo/client/__cjs/cache/inmemory/types.d.cts +7 -2
- package/node_modules/@apollo/client/__cjs/cache/inmemory/writeToStore.cjs +29 -14
- package/node_modules/@apollo/client/__cjs/cache/inmemory/writeToStore.cjs.map +1 -1
- package/node_modules/@apollo/client/__cjs/cache/inmemory/writeToStore.d.cts +5 -2
- package/node_modules/@apollo/client/__cjs/core/ApolloClient.cjs +14 -14
- package/node_modules/@apollo/client/__cjs/core/ObservableQuery.cjs +8 -8
- package/node_modules/@apollo/client/__cjs/core/QueryInfo.cjs +13 -32
- package/node_modules/@apollo/client/__cjs/core/QueryInfo.cjs.map +1 -1
- package/node_modules/@apollo/client/__cjs/core/QueryManager.cjs +12 -12
- package/node_modules/@apollo/client/__cjs/core/RefetchEventManager.cjs +3 -3
- package/node_modules/@apollo/client/__cjs/incremental/handlers/defer20220824.cjs +15 -2
- package/node_modules/@apollo/client/__cjs/incremental/handlers/defer20220824.cjs.map +1 -1
- package/node_modules/@apollo/client/__cjs/incremental/handlers/defer20220824.d.cts +5 -1
- package/node_modules/@apollo/client/__cjs/incremental/handlers/graphql17Alpha9.cjs +58 -14
- package/node_modules/@apollo/client/__cjs/incremental/handlers/graphql17Alpha9.cjs.map +1 -1
- package/node_modules/@apollo/client/__cjs/incremental/handlers/graphql17Alpha9.d.cts +23 -12
- package/node_modules/@apollo/client/__cjs/incremental/handlers/notImplemented.cjs +1 -1
- package/node_modules/@apollo/client/__cjs/incremental/types.d.cts +19 -1
- package/node_modules/@apollo/client/__cjs/invariantErrorCodes.cjs +64 -58
- package/node_modules/@apollo/client/__cjs/link/http/parseAndCheckHttpResponse.cjs +1 -1
- package/node_modules/@apollo/client/__cjs/link/http/parseAndCheckHttpResponse.cjs.map +1 -1
- package/node_modules/@apollo/client/__cjs/react/hooks/useLazyQuery.cjs +27 -1
- package/node_modules/@apollo/client/__cjs/react/hooks/useLazyQuery.cjs.map +1 -1
- package/node_modules/@apollo/client/__cjs/utilities/internal/index.cjs.map +1 -1
- package/node_modules/@apollo/client/__cjs/utilities/internal/index.d.cts +0 -1
- package/node_modules/@apollo/client/__cjs/utilities/internal/isDeferredFragment.cjs +24 -26
- package/node_modules/@apollo/client/__cjs/utilities/internal/isDeferredFragment.cjs.map +1 -1
- package/node_modules/@apollo/client/__cjs/utilities/internal/isDeferredFragment.d.cts +1 -1
- package/node_modules/@apollo/client/__cjs/utilities/internal/isStreamField.cjs +24 -20
- package/node_modules/@apollo/client/__cjs/utilities/internal/isStreamField.cjs.map +1 -1
- package/node_modules/@apollo/client/__cjs/utilities/internal/isStreamField.d.cts +1 -1
- package/node_modules/@apollo/client/__cjs/version.cjs +1 -1
- package/node_modules/@apollo/client/cache/core/cache.d.ts +4 -1
- package/node_modules/@apollo/client/cache/core/cache.js +1 -1
- package/node_modules/@apollo/client/cache/core/cache.js.map +1 -1
- package/node_modules/@apollo/client/cache/core/types/Cache.d.ts +5 -0
- package/node_modules/@apollo/client/cache/core/types/Cache.js.map +1 -1
- package/node_modules/@apollo/client/cache/inmemory/entityStore.js +4 -4
- package/node_modules/@apollo/client/cache/inmemory/inMemoryCache.d.ts +3 -1
- package/node_modules/@apollo/client/cache/inmemory/inMemoryCache.js +15 -5
- package/node_modules/@apollo/client/cache/inmemory/inMemoryCache.js.map +1 -1
- package/node_modules/@apollo/client/cache/inmemory/key-extractor.js +1 -1
- package/node_modules/@apollo/client/cache/inmemory/policies.js +5 -5
- package/node_modules/@apollo/client/cache/inmemory/readFromStore.js +28 -10
- package/node_modules/@apollo/client/cache/inmemory/readFromStore.js.map +1 -1
- package/node_modules/@apollo/client/cache/inmemory/types.d.ts +7 -2
- package/node_modules/@apollo/client/cache/inmemory/types.js.map +1 -1
- package/node_modules/@apollo/client/cache/inmemory/writeToStore.d.ts +5 -2
- package/node_modules/@apollo/client/cache/inmemory/writeToStore.js +30 -15
- package/node_modules/@apollo/client/cache/inmemory/writeToStore.js.map +1 -1
- package/node_modules/@apollo/client/core/ApolloClient.js +14 -14
- package/node_modules/@apollo/client/core/ObservableQuery.js +8 -8
- package/node_modules/@apollo/client/core/QueryInfo.js +14 -33
- package/node_modules/@apollo/client/core/QueryInfo.js.map +1 -1
- package/node_modules/@apollo/client/core/QueryManager.js +12 -12
- package/node_modules/@apollo/client/core/RefetchEventManager.js +3 -3
- package/node_modules/@apollo/client/incremental/handlers/defer20220824.d.ts +5 -1
- package/node_modules/@apollo/client/incremental/handlers/defer20220824.js +15 -2
- package/node_modules/@apollo/client/incremental/handlers/defer20220824.js.map +1 -1
- package/node_modules/@apollo/client/incremental/handlers/graphql17Alpha9.d.ts +23 -12
- package/node_modules/@apollo/client/incremental/handlers/graphql17Alpha9.js +58 -14
- package/node_modules/@apollo/client/incremental/handlers/graphql17Alpha9.js.map +1 -1
- package/node_modules/@apollo/client/incremental/handlers/notImplemented.js +1 -1
- package/node_modules/@apollo/client/incremental/types.d.ts +19 -1
- package/node_modules/@apollo/client/incremental/types.js.map +1 -1
- package/node_modules/@apollo/client/invariantErrorCodes.js +64 -58
- package/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js +1 -1
- package/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js.map +1 -1
- package/node_modules/@apollo/client/package.json +1 -1
- package/node_modules/@apollo/client/react/hooks/useLazyQuery.js +27 -1
- package/node_modules/@apollo/client/react/hooks/useLazyQuery.js.map +1 -1
- package/node_modules/@apollo/client/react/hooks-compiled/useLazyQuery.js +27 -1
- package/node_modules/@apollo/client/react/hooks-compiled/useLazyQuery.js.map +1 -1
- package/node_modules/@apollo/client/utilities/internal/index.d.ts +0 -1
- package/node_modules/@apollo/client/utilities/internal/index.js.map +1 -1
- package/node_modules/@apollo/client/utilities/internal/isDeferredFragment.d.ts +1 -1
- package/node_modules/@apollo/client/utilities/internal/isDeferredFragment.js +23 -25
- package/node_modules/@apollo/client/utilities/internal/isDeferredFragment.js.map +1 -1
- package/node_modules/@apollo/client/utilities/internal/isStreamField.d.ts +1 -1
- package/node_modules/@apollo/client/utilities/internal/isStreamField.js +23 -19
- package/node_modules/@apollo/client/utilities/internal/isStreamField.js.map +1 -1
- package/node_modules/@apollo/client/version.js +1 -1
- package/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/node/child_process.d.ts +1 -1
- package/node_modules/@types/node/crypto.d.ts +22 -10
- package/node_modules/@types/node/dgram.d.ts +1 -1
- package/node_modules/@types/node/ffi.d.ts +14 -0
- package/node_modules/@types/node/http2.d.ts +3 -2
- package/node_modules/@types/node/net.d.ts +16 -4
- package/node_modules/@types/node/package.json +2 -17
- package/node_modules/@types/node/process.d.ts +1 -0
- package/node_modules/@types/node/quic.d.ts +39 -1
- package/node_modules/@types/node/stream/iter.d.ts +9 -12
- package/node_modules/@types/node/test/reporters.d.ts +1 -0
- package/node_modules/@types/node/test.d.ts +72 -0
- package/node_modules/@types/node/tls.d.ts +14 -10
- package/node_modules/@types/node/util.d.ts +6 -3
- package/node_modules/@types/node/vm.d.ts +2 -1
- package/node_modules/@types/node/worker_threads.d.ts +4 -1
- package/node_modules/@types/node/zlib.d.ts +6 -0
- package/node_modules/axios/CHANGELOG.md +62 -0
- package/node_modules/axios/README.md +297 -5
- package/node_modules/axios/dist/axios.js +728 -170
- package/node_modules/axios/dist/axios.min.js +3 -3
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +871 -188
- package/node_modules/axios/dist/esm/axios.js +871 -188
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +1037 -225
- package/node_modules/axios/index.d.cts +102 -74
- package/node_modules/axios/index.d.ts +100 -68
- package/node_modules/axios/lib/adapters/fetch.js +64 -11
- package/node_modules/axios/lib/adapters/http.js +140 -67
- package/node_modules/axios/lib/adapters/xhr.js +52 -3
- package/node_modules/axios/lib/core/Axios.js +43 -20
- package/node_modules/axios/lib/core/AxiosError.js +33 -2
- package/node_modules/axios/lib/core/AxiosHeaders.js +124 -1
- package/node_modules/axios/lib/core/InterceptorManager.js +107 -8
- package/node_modules/axios/lib/core/buildFullPath.js +41 -15
- package/node_modules/axios/lib/core/dispatchRequest.js +8 -2
- package/node_modules/axios/lib/core/mergeConfig.js +19 -4
- package/node_modules/axios/lib/core/methodList.js +17 -0
- package/node_modules/axios/lib/core/setFormDataHeaders.js +27 -0
- package/node_modules/axios/lib/defaults/index.js +2 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/Http2Sessions.js +2 -0
- package/node_modules/axios/lib/helpers/HttpStatusCode.js +12 -1
- package/node_modules/axios/lib/helpers/combineURLs.js +11 -3
- package/node_modules/axios/lib/helpers/composeSignals.js +12 -1
- package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +115 -54
- package/node_modules/axios/lib/helpers/formDataToJSON.js +11 -5
- package/node_modules/axios/lib/helpers/fromDataURI.js +5 -4
- package/node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js +24 -0
- package/node_modules/axios/lib/helpers/parseHeaders.js +5 -3
- package/node_modules/axios/lib/helpers/progressEventReducer.js +4 -4
- package/node_modules/axios/lib/helpers/resolveConfig.js +5 -17
- package/node_modules/axios/lib/helpers/shouldBypassProxy.js +300 -5
- package/node_modules/axios/lib/helpers/throttle.js +3 -2
- package/node_modules/axios/lib/helpers/toFormData.js +17 -23
- package/node_modules/axios/lib/platform/node/classes/Buffer.js +11 -0
- package/node_modules/axios/lib/utils.js +151 -18
- package/node_modules/axios/package.json +21 -19
- package/node_modules/chalk/package.json +1 -1
- package/node_modules/chalk/source/index.js +2 -1
- package/node_modules/cpu-features/build/config.gypi +2 -2
- package/node_modules/ejs/README.md +64 -28
- package/node_modules/ejs/bin/cli.js +220 -158
- package/node_modules/ejs/ejs.js +64 -94
- package/node_modules/ejs/ejs.min.js +1 -1
- package/node_modules/ejs/jakefile.js +44 -0
- package/node_modules/ejs/lib/cjs/ejs.js +64 -63
- package/node_modules/ejs/lib/cjs/parseargs.js +129 -77
- package/node_modules/ejs/lib/cjs/utils.js +0 -31
- package/node_modules/ejs/lib/esm/ejs.js +66 -65
- package/node_modules/ejs/lib/esm/parseargs.js +136 -82
- package/node_modules/ejs/lib/esm/utils.js +0 -32
- package/node_modules/ejs/package.json +3 -2
- package/node_modules/ejs/usage.txt +9 -9
- package/node_modules/follow-redirects/index.js +10 -1
- package/node_modules/follow-redirects/package.json +1 -1
- package/node_modules/graphql-ws/dist/client.cjs +28 -13
- package/node_modules/graphql-ws/dist/client.js +28 -13
- package/node_modules/graphql-ws/dist/index.cjs +1 -1
- package/node_modules/graphql-ws/dist/index.d.cts +1 -1
- package/node_modules/graphql-ws/dist/index.d.ts +1 -1
- package/node_modules/graphql-ws/dist/index.js +1 -1
- package/node_modules/graphql-ws/dist/{server-B8ZBs9OC.d.ts → server-BzBeHlSW.d.ts} +26 -1
- package/node_modules/graphql-ws/dist/{server-DN5-9C2B.cjs → server-Ce-Z86Ys.cjs} +10 -4
- package/node_modules/graphql-ws/dist/{server-ChpuX357.d.cts → server-u6zrlwzL.d.cts} +26 -1
- package/node_modules/graphql-ws/dist/{server-DHPI7HHW.js → server-zBhvXJ_Z.js} +10 -4
- package/node_modules/graphql-ws/dist/use/@fastify/websocket.cjs +2 -2
- package/node_modules/graphql-ws/dist/use/@fastify/websocket.d.cts +8 -2
- package/node_modules/graphql-ws/dist/use/@fastify/websocket.d.ts +8 -2
- package/node_modules/graphql-ws/dist/use/@fastify/websocket.js +2 -2
- package/node_modules/graphql-ws/dist/use/bun.cjs +1 -1
- package/node_modules/graphql-ws/dist/use/bun.d.cts +2 -2
- package/node_modules/graphql-ws/dist/use/bun.d.ts +2 -2
- package/node_modules/graphql-ws/dist/use/bun.js +2 -2
- package/node_modules/graphql-ws/dist/use/crossws.cjs +16 -4
- package/node_modules/graphql-ws/dist/use/crossws.d.cts +6 -1
- package/node_modules/graphql-ws/dist/use/crossws.d.ts +6 -1
- package/node_modules/graphql-ws/dist/use/crossws.js +16 -4
- package/node_modules/graphql-ws/dist/use/deno.d.ts +1 -1
- package/node_modules/graphql-ws/dist/use/deno.js +1 -1
- package/node_modules/graphql-ws/dist/use/uWebSockets.cjs +2 -2
- package/node_modules/graphql-ws/dist/use/uWebSockets.d.cts +8 -2
- package/node_modules/graphql-ws/dist/use/uWebSockets.d.ts +8 -2
- package/node_modules/graphql-ws/dist/use/uWebSockets.js +2 -2
- package/node_modules/graphql-ws/dist/use/ws.cjs +2 -2
- package/node_modules/graphql-ws/dist/use/ws.d.cts +8 -2
- package/node_modules/graphql-ws/dist/use/ws.d.ts +8 -2
- package/node_modules/graphql-ws/dist/use/ws.js +2 -2
- package/node_modules/graphql-ws/package.json +3 -3
- package/node_modules/graphql-ws/umd/graphql-ws.js +28 -13
- package/node_modules/graphql-ws/umd/graphql-ws.min.js +1 -1
- package/node_modules/graphql-ws/umd/graphql-ws.min.js.gz +0 -0
- package/node_modules/js-yaml/dist/browser/js-yaml.esm.min.mjs +522 -495
- package/node_modules/js-yaml/dist/browser/js-yaml.esm.min.mjs.map +1 -1
- package/node_modules/js-yaml/dist/browser/js-yaml.umd.min.js +24 -24
- package/node_modules/js-yaml/dist/browser/js-yaml.umd.min.js.map +1 -1
- package/node_modules/js-yaml/dist/js-yaml.cjs.js +135 -78
- package/node_modules/js-yaml/dist/js-yaml.cjs.js.map +1 -1
- package/node_modules/js-yaml/dist/js-yaml.mjs +129 -72
- package/node_modules/js-yaml/dist/js-yaml.mjs.map +1 -1
- package/node_modules/js-yaml/node_modules/argparse/LICENSE +47 -0
- package/node_modules/js-yaml/node_modules/argparse/README.md +89 -0
- package/node_modules/js-yaml/node_modules/argparse/lib/_colorize.js +72 -0
- package/node_modules/js-yaml/node_modules/argparse/lib/argparse.d.ts +292 -0
- package/node_modules/{argparse → js-yaml/node_modules/argparse/lib}/argparse.js +1142 -1029
- package/node_modules/js-yaml/node_modules/argparse/lib/difflib.js +190 -0
- package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/sub.js +4 -4
- package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/textwrap.js +28 -28
- package/node_modules/js-yaml/node_modules/argparse/package.json +38 -0
- package/node_modules/js-yaml/package.json +12 -12
- package/node_modules/lando/.github/dependabot.yml +4 -0
- package/node_modules/lando/.github/workflows/build-util-images.yml +1 -1
- package/node_modules/lando/.github/workflows/pr-core-tests.yml +4 -2
- package/node_modules/lando/.github/workflows/pr-db-tools-tests.yml +4 -2
- package/node_modules/lando/.github/workflows/pr-django-tests.yml +4 -2
- package/node_modules/lando/.github/workflows/pr-linter.yml +2 -2
- package/node_modules/lando/.github/workflows/pr-unit-tests.yml +2 -2
- package/node_modules/lando/.node-version +1 -1
- package/node_modules/lando/bin/lando.js +3 -83
- package/node_modules/lando/config.yml +0 -1
- package/node_modules/lando/eslint.config.mjs +4 -0
- package/node_modules/lando/examples/django/.lando.yml +1 -1
- package/node_modules/lando/examples/django/README.md +1 -1
- package/node_modules/lando/examples/django/requirements.txt +1 -1
- package/node_modules/lando/examples/sql-export/README.md +5 -0
- package/node_modules/lando/lib/app.js +78 -84
- package/node_modules/lando/lib/art.js +86 -30
- package/node_modules/lando/lib/bootstrap.js +148 -45
- package/node_modules/lando/lib/cache.js +14 -15
- package/node_modules/lando/lib/cli.js +67 -63
- package/node_modules/lando/lib/compose.js +76 -45
- package/node_modules/lando/lib/config.js +51 -33
- package/node_modules/lando/lib/daemon.js +27 -10
- package/node_modules/lando/lib/docker.js +46 -19
- package/node_modules/lando/lib/engine.js +131 -144
- package/node_modules/lando/lib/env.js +25 -46
- package/node_modules/lando/lib/error.js +15 -6
- package/node_modules/lando/lib/esm/package.json +3 -0
- package/node_modules/lando/lib/esm/string-argv.js +2 -0
- package/node_modules/lando/lib/esm/yargs.js +2 -0
- package/node_modules/lando/lib/events.js +15 -15
- package/node_modules/lando/lib/factory.js +43 -14
- package/node_modules/lando/lib/formatters.js +19 -31
- package/node_modules/lando/lib/lando.js +59 -48
- package/node_modules/lando/lib/logger.js +12 -24
- package/node_modules/lando/lib/plugins.js +27 -15
- package/node_modules/lando/lib/promise.js +17 -17
- package/node_modules/lando/lib/router.js +75 -21
- package/node_modules/lando/lib/scan.js +29 -12
- package/node_modules/lando/lib/shell.js +44 -20
- package/node_modules/lando/lib/user.js +14 -20
- package/node_modules/lando/lib/utils.js +87 -44
- package/node_modules/lando/lib/yaml.js +11 -9
- package/node_modules/lando/node_modules/ansi-regex/index.d.ts +33 -0
- package/node_modules/lando/node_modules/ansi-regex/index.js +15 -0
- package/node_modules/lando/node_modules/ansi-regex/package.json +61 -0
- package/node_modules/lando/node_modules/ansi-regex/readme.md +66 -0
- package/node_modules/lando/node_modules/cliui/README.md +26 -6
- package/node_modules/lando/node_modules/cliui/build/lib/index.js +2 -2
- package/node_modules/lando/node_modules/cliui/build/tsconfig.tsbuildinfo +1 -0
- package/node_modules/lando/node_modules/cliui/index.mjs +7 -5
- package/node_modules/lando/node_modules/cliui/node_modules/string-width/index.d.ts +39 -0
- package/node_modules/lando/node_modules/cliui/node_modules/string-width/index.js +82 -0
- package/node_modules/lando/node_modules/cliui/node_modules/string-width/license +9 -0
- package/node_modules/lando/node_modules/cliui/node_modules/string-width/package.json +64 -0
- package/node_modules/lando/node_modules/cliui/node_modules/string-width/readme.md +66 -0
- package/node_modules/lando/node_modules/cliui/package.json +21 -32
- package/node_modules/lando/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/node_modules/lando/node_modules/emoji-regex/README.md +107 -0
- package/node_modules/lando/node_modules/emoji-regex/index.d.ts +3 -0
- package/node_modules/lando/node_modules/emoji-regex/index.js +4 -0
- package/node_modules/lando/node_modules/emoji-regex/index.mjs +4 -0
- package/node_modules/lando/node_modules/emoji-regex/package.json +45 -0
- package/node_modules/lando/node_modules/string-width/index.d.ts +39 -0
- package/node_modules/lando/node_modules/string-width/index.js +203 -0
- package/node_modules/lando/node_modules/string-width/license +9 -0
- package/node_modules/lando/node_modules/string-width/package.json +65 -0
- package/node_modules/lando/node_modules/string-width/readme.md +66 -0
- package/node_modules/lando/node_modules/strip-ansi/index.d.ts +15 -0
- package/node_modules/lando/node_modules/strip-ansi/index.js +19 -0
- package/node_modules/lando/node_modules/strip-ansi/license +9 -0
- package/node_modules/lando/node_modules/strip-ansi/package.json +59 -0
- package/node_modules/lando/node_modules/strip-ansi/readme.md +37 -0
- package/node_modules/lando/node_modules/yargs/README.md +16 -36
- package/node_modules/lando/node_modules/yargs/browser.d.ts +5 -0
- package/node_modules/lando/node_modules/yargs/browser.mjs +2 -2
- package/node_modules/lando/node_modules/yargs/build/lib/command.js +308 -211
- package/node_modules/lando/node_modules/yargs/build/lib/completion-templates.js +28 -9
- package/node_modules/lando/node_modules/yargs/build/lib/completion.js +233 -91
- package/node_modules/lando/node_modules/yargs/build/lib/middleware.js +51 -16
- package/node_modules/lando/node_modules/yargs/build/lib/usage.js +88 -52
- package/node_modules/lando/node_modules/yargs/build/lib/utils/apply-extends.js +4 -2
- package/node_modules/lando/node_modules/yargs/build/lib/utils/levenshtein.js +9 -1
- package/node_modules/lando/node_modules/yargs/build/lib/utils/maybe-async-result.js +17 -0
- package/node_modules/lando/node_modules/yargs/build/lib/validation.js +51 -54
- package/node_modules/lando/node_modules/yargs/build/lib/yargs-factory.js +1261 -887
- package/node_modules/lando/node_modules/yargs/build/lib/yerror.js +3 -1
- package/node_modules/lando/node_modules/yargs/index.mjs +4 -2
- package/node_modules/lando/node_modules/yargs/lib/platform-shims/browser.mjs +9 -2
- package/node_modules/lando/node_modules/yargs/lib/platform-shims/esm.mjs +22 -22
- package/node_modules/lando/node_modules/yargs/locales/cs.json +51 -0
- package/node_modules/lando/node_modules/yargs/locales/de.json +1 -1
- package/node_modules/lando/node_modules/yargs/locales/en.json +4 -0
- package/node_modules/lando/node_modules/yargs/locales/fi.json +1 -1
- package/node_modules/lando/node_modules/yargs/locales/he.json +55 -0
- package/node_modules/lando/node_modules/yargs/locales/ka.json +55 -0
- package/node_modules/lando/node_modules/yargs/locales/ko.json +25 -25
- package/node_modules/lando/node_modules/yargs/locales/ru.json +6 -1
- package/node_modules/lando/node_modules/yargs/locales/uk_UA.json +51 -0
- package/node_modules/lando/node_modules/yargs/locales/uz.json +52 -0
- package/node_modules/lando/node_modules/yargs/locales/zh_TW.json +50 -46
- package/node_modules/lando/node_modules/yargs/package.json +41 -60
- package/node_modules/lando/node_modules/yargs-parser/build/lib/index.js +13 -8
- package/node_modules/lando/node_modules/yargs-parser/build/lib/yargs-parser.js +21 -12
- package/node_modules/lando/node_modules/yargs-parser/package.json +31 -40
- package/node_modules/lando/package.json +59 -22
- package/node_modules/lando/plugins/lando-compose/index.js +4 -0
- package/node_modules/lando/plugins/lando-compose/lib/utils.js +16 -7
- package/node_modules/lando/plugins/lando-core/index.js +1 -2
- package/node_modules/lando/plugins/lando-core/lib/utils.js +35 -15
- package/node_modules/lando/plugins/lando-core/lib/warnings.js +27 -0
- package/node_modules/lando/plugins/lando-core/tasks/destroy.js +1 -1
- package/node_modules/lando/plugins/lando-core/tasks/rebuild.js +1 -1
- package/node_modules/lando/plugins/lando-events/index.js +4 -0
- package/node_modules/lando/plugins/lando-events/lib/utils.js +27 -6
- package/node_modules/lando/plugins/lando-networking/app.js +2 -2
- package/node_modules/lando/plugins/lando-networking/index.js +9 -2
- package/node_modules/lando/plugins/lando-networking/test/app.spec.js +87 -0
- package/node_modules/lando/plugins/lando-proxy/index.js +6 -1
- package/node_modules/lando/plugins/lando-proxy/lib/utils.js +63 -28
- package/node_modules/lando/plugins/lando-proxy/lib/warnings.js +10 -0
- package/node_modules/lando/plugins/lando-recipes/index.js +4 -0
- package/node_modules/lando/plugins/lando-recipes/lib/build.js +22 -4
- package/node_modules/lando/plugins/lando-recipes/lib/options.js +42 -66
- package/node_modules/lando/plugins/lando-recipes/lib/utils.js +30 -13
- package/node_modules/lando/plugins/lando-recipes/lib/warnings.js +5 -0
- package/node_modules/lando/plugins/lando-recipes/sources/remote.js +0 -26
- package/node_modules/lando/plugins/lando-recipes/tasks/init.js +1 -1
- package/node_modules/lando/plugins/lando-services/index.js +4 -0
- package/node_modules/lando/plugins/lando-services/lib/utils.js +38 -15
- package/node_modules/lando/plugins/lando-sharing/index.js +4 -0
- package/node_modules/lando/plugins/lando-sharing/lib/utils.js +28 -5
- package/node_modules/lando/plugins/lando-tooling/index.js +5 -0
- package/node_modules/lando/plugins/lando-tooling/lib/build.js +5 -2
- package/node_modules/lando/plugins/lando-tooling/lib/utils.js +83 -47
- package/node_modules/lando/test/cli.spec.js +59 -21
- package/node_modules/lando/test/docker.spec.js +24 -28
- package/node_modules/lando/test/env.spec.js +8 -0
- package/node_modules/lando/test/error.spec.js +1 -1
- package/node_modules/lando/test/events.spec.js +6 -7
- package/node_modules/lando/test/lando.spec.js +1 -1
- package/node_modules/lando/test/plugins.spec.js +2 -3
- package/node_modules/lando/test/promise.spec.js +1 -1
- package/node_modules/lando/test/scan.spec.js +1 -1
- package/node_modules/lando/test/shell.spec.js +19 -2
- package/node_modules/lando/test/utils.spec.js +52 -0
- package/node_modules/open/index.js +3 -5
- package/node_modules/open/package.json +1 -1
- package/node_modules/socket.io-client/README.md +1 -0
- package/node_modules/socket.io-client/build/cjs/index.d.ts +3 -3
- package/node_modules/socket.io-client/build/cjs/manager.d.ts +1 -2
- package/node_modules/socket.io-client/build/cjs/manager.js +17 -7
- package/node_modules/socket.io-client/build/cjs/socket.d.ts +5 -2
- package/node_modules/socket.io-client/build/cjs/socket.js +0 -1
- package/node_modules/socket.io-client/build/esm/index.d.ts +3 -3
- package/node_modules/socket.io-client/build/esm/index.js +1 -1
- package/node_modules/socket.io-client/build/esm/manager.d.ts +1 -2
- package/node_modules/socket.io-client/build/esm/package.json +1 -1
- package/node_modules/socket.io-client/build/esm/socket.d.ts +5 -2
- package/node_modules/socket.io-client/build/esm/socket.js +0 -1
- package/node_modules/socket.io-client/build/esm-debug/index.d.ts +3 -3
- package/node_modules/socket.io-client/build/esm-debug/index.js +1 -1
- package/node_modules/socket.io-client/build/esm-debug/manager.d.ts +1 -2
- package/node_modules/socket.io-client/build/esm-debug/package.json +1 -1
- package/node_modules/socket.io-client/build/esm-debug/socket.d.ts +5 -2
- package/node_modules/socket.io-client/build/esm-debug/socket.js +0 -1
- package/node_modules/socket.io-client/dist/socket.io.esm.min.js +3 -3
- package/node_modules/socket.io-client/dist/socket.io.esm.min.js.map +1 -1
- package/node_modules/socket.io-client/dist/socket.io.js +174 -242
- package/node_modules/socket.io-client/dist/socket.io.js.map +1 -1
- package/node_modules/socket.io-client/dist/socket.io.min.js +3 -3
- package/node_modules/socket.io-client/dist/socket.io.min.js.map +1 -1
- package/node_modules/socket.io-client/dist/socket.io.msgpack.min.js +3 -3
- package/node_modules/socket.io-client/dist/socket.io.msgpack.min.js.map +1 -1
- package/node_modules/socket.io-client/package.json +2 -2
- package/node_modules/string-argv/CHANGELOG.md +38 -0
- package/node_modules/string-argv/README.md +96 -50
- package/node_modules/string-argv/index.d.ts +2 -0
- package/node_modules/string-argv/index.js +55 -35
- package/node_modules/string-argv/package.json +50 -40
- package/node_modules/undici/README.md +35 -4
- package/node_modules/undici/docs/docs/api/Agent.md +8 -8
- package/node_modules/undici/docs/docs/api/CacheStore.md +24 -9
- package/node_modules/undici/docs/docs/api/Client.md +11 -6
- package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +9 -6
- package/node_modules/undici/docs/docs/api/Dispatcher.md +12 -0
- package/node_modules/undici/docs/docs/api/Errors.md +101 -1
- package/node_modules/undici/docs/docs/api/Fetch.md +10 -0
- package/node_modules/undici/docs/docs/api/H2CClient.md +3 -2
- package/node_modules/undici/docs/docs/api/Interceptors.md +17 -9
- package/node_modules/undici/docs/docs/api/Pool.md +5 -6
- package/node_modules/undici/docs/docs/api/RedirectHandler.md +13 -10
- package/node_modules/undici/docs/docs/index.md +22 -13
- package/node_modules/undici/docs/docs/type-map.json +66 -66
- package/node_modules/undici/lib/api/readable.js +1 -2
- package/node_modules/undici/lib/cache/memory-cache-store.js +48 -13
- package/node_modules/undici/lib/cache/sqlite-cache-store.js +83 -5
- package/node_modules/undici/lib/core/connect.js +10 -4
- package/node_modules/undici/lib/core/constants.js +12 -1
- package/node_modules/undici/lib/core/errors.js +38 -1
- package/node_modules/undici/lib/core/request.js +39 -3
- package/node_modules/undici/lib/core/symbols.js +2 -0
- package/node_modules/undici/lib/core/util.js +26 -40
- package/node_modules/undici/lib/dispatcher/agent.js +6 -2
- package/node_modules/undici/lib/dispatcher/client-h1.js +127 -84
- package/node_modules/undici/lib/dispatcher/client-h2.js +97 -21
- package/node_modules/undici/lib/dispatcher/client.js +10 -2
- package/node_modules/undici/lib/dispatcher/dispatcher-base.js +3 -2
- package/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +20 -3
- package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +21 -6
- package/node_modules/undici/lib/dispatcher/parser-h1.js +1064 -0
- package/node_modules/undici/lib/dispatcher/pool-base.js +117 -19
- package/node_modules/undici/lib/dispatcher/pool.js +99 -13
- package/node_modules/undici/lib/dispatcher/proxy-agent.js +34 -11
- package/node_modules/undici/lib/dispatcher/retry-agent.js +10 -0
- package/node_modules/undici/lib/dispatcher/round-robin-pool.js +15 -5
- package/node_modules/undici/lib/handler/cache-handler.js +153 -15
- package/node_modules/undici/lib/handler/deduplication-handler.js +126 -52
- package/node_modules/undici/lib/handler/redirect-handler.js +31 -6
- package/node_modules/undici/lib/handler/retry-handler.js +116 -24
- package/node_modules/undici/lib/interceptor/cache.js +15 -4
- package/node_modules/undici/lib/interceptor/decompress.js +253 -73
- package/node_modules/undici/lib/interceptor/dns.js +11 -0
- package/node_modules/undici/lib/interceptor/response-error.js +72 -28
- package/node_modules/undici/lib/milo/LICENSE.md +7 -0
- package/node_modules/undici/lib/milo/no-simd.js +1002 -0
- package/node_modules/undici/lib/milo/simd.js +1002 -0
- package/node_modules/undici/lib/mock/mock-agent.js +11 -0
- package/node_modules/undici/lib/mock/snapshot-recorder.js +3 -2
- package/node_modules/undici/lib/mock/snapshot-utils.js +3 -2
- package/node_modules/undici/lib/util/cache.js +11 -5
- package/node_modules/undici/lib/web/cache/cache.js +17 -8
- package/node_modules/undici/lib/web/cache/cachestorage.js +11 -5
- package/node_modules/undici/lib/web/cookies/index.js +19 -7
- package/node_modules/undici/lib/web/cookies/util.js +21 -2
- package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +69 -15
- package/node_modules/undici/lib/web/eventsource/eventsource.js +50 -3
- package/node_modules/undici/lib/web/fetch/body.js +69 -53
- package/node_modules/undici/lib/web/fetch/data-url.js +6 -6
- package/node_modules/undici/lib/web/fetch/formdata-parser.js +12 -4
- package/node_modules/undici/lib/web/fetch/formdata.js +30 -36
- package/node_modules/undici/lib/web/fetch/headers.js +36 -33
- package/node_modules/undici/lib/web/fetch/index.js +54 -29
- package/node_modules/undici/lib/web/fetch/request.js +74 -79
- package/node_modules/undici/lib/web/fetch/response.js +43 -44
- package/node_modules/undici/lib/web/fetch/util.js +7 -7
- package/node_modules/undici/lib/web/infra/index.js +16 -1
- package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +5 -5
- package/node_modules/undici/lib/web/webidl/index.js +2 -14
- package/node_modules/undici/lib/web/websocket/connection.js +33 -12
- package/node_modules/undici/lib/web/websocket/events.js +43 -26
- package/node_modules/undici/lib/web/websocket/receiver.js +27 -4
- package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +13 -10
- package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +19 -4
- package/node_modules/undici/lib/web/websocket/websocket.js +44 -41
- package/node_modules/undici/package.json +7 -5
- package/node_modules/undici/types/cache-interceptor.d.ts +10 -0
- package/node_modules/undici/types/client.d.ts +10 -4
- package/node_modules/undici/types/diagnostics-channel.d.ts +2 -1
- package/node_modules/undici/types/errors.d.ts +16 -1
- package/node_modules/undici/types/h2c-client.d.ts +1 -1
- package/node_modules/undici/types/interceptors.d.ts +7 -2
- package/node_modules/undici/types/webidl.d.ts +13 -7
- package/node_modules/{lando/node_modules/js-yaml → unicode-segmenter}/LICENSE +6 -6
- package/node_modules/unicode-segmenter/README.md +324 -0
- package/node_modules/unicode-segmenter/_emoji_data.cjs +24 -0
- package/node_modules/unicode-segmenter/_emoji_data.d.cts +1 -0
- package/node_modules/unicode-segmenter/_emoji_data.d.ts +12 -0
- package/node_modules/unicode-segmenter/_emoji_data.js +26 -0
- package/node_modules/unicode-segmenter/_general_data.cjs +30 -0
- package/node_modules/unicode-segmenter/_general_data.d.cts +1 -0
- package/node_modules/unicode-segmenter/_general_data.d.ts +16 -0
- package/node_modules/unicode-segmenter/_general_data.js +34 -0
- package/node_modules/unicode-segmenter/_grapheme_data.cjs +125 -0
- package/node_modules/unicode-segmenter/_grapheme_data.d.cts +1 -0
- package/node_modules/unicode-segmenter/_grapheme_data.d.ts +112 -0
- package/node_modules/unicode-segmenter/_grapheme_data.js +123 -0
- package/node_modules/unicode-segmenter/core.cjs +135 -0
- package/node_modules/unicode-segmenter/core.d.cts +1 -0
- package/node_modules/unicode-segmenter/core.d.ts +118 -0
- package/node_modules/unicode-segmenter/core.js +129 -0
- package/node_modules/unicode-segmenter/emoji.cjs +43 -0
- package/node_modules/unicode-segmenter/emoji.d.cts +1 -0
- package/node_modules/unicode-segmenter/emoji.d.ts +23 -0
- package/node_modules/unicode-segmenter/emoji.js +42 -0
- package/node_modules/unicode-segmenter/general.cjs +51 -0
- package/node_modules/unicode-segmenter/general.d.cts +1 -0
- package/node_modules/unicode-segmenter/general.d.ts +26 -0
- package/node_modules/unicode-segmenter/general.js +50 -0
- package/node_modules/unicode-segmenter/grapheme.cjs +405 -0
- package/node_modules/unicode-segmenter/grapheme.d.cts +1 -0
- package/node_modules/unicode-segmenter/grapheme.d.ts +64 -0
- package/node_modules/unicode-segmenter/grapheme.js +438 -0
- package/node_modules/unicode-segmenter/index.cjs +26 -0
- package/node_modules/unicode-segmenter/index.d.cts +1 -0
- package/node_modules/unicode-segmenter/index.d.ts +4 -0
- package/node_modules/unicode-segmenter/index.js +6 -0
- package/node_modules/unicode-segmenter/intl-adapter.cjs +124 -0
- package/node_modules/unicode-segmenter/intl-adapter.d.cts +1 -0
- package/node_modules/unicode-segmenter/intl-adapter.d.ts +62 -0
- package/node_modules/unicode-segmenter/intl-adapter.js +113 -0
- package/node_modules/unicode-segmenter/intl-polyfill.cjs +17 -0
- package/node_modules/unicode-segmenter/intl-polyfill.d.cts +1 -0
- package/node_modules/unicode-segmenter/intl-polyfill.d.ts +1 -0
- package/node_modules/unicode-segmenter/intl-polyfill.js +16 -0
- package/node_modules/unicode-segmenter/package.json +165 -0
- package/node_modules/unicode-segmenter/utils.cjs +99 -0
- package/node_modules/unicode-segmenter/utils.d.cts +1 -0
- package/node_modules/unicode-segmenter/utils.d.ts +64 -0
- package/node_modules/unicode-segmenter/utils.js +89 -0
- package/package.json +6 -6
- package/.buildkite/build-linux.sh +0 -68
- package/.buildkite/build-macos-installer.sh +0 -34
- package/.buildkite/build-macos.sh +0 -67
- package/.buildkite/build-windows-installer.ps1 +0 -65
- package/.buildkite/build-windows.ps1 +0 -59
- package/.buildkite/fetch-search-replace.sh +0 -65
- package/.buildkite/pack-release.sh +0 -26
- package/.buildkite/pipeline.yml +0 -81
- package/.buildkite/shared-pipeline-vars +0 -16
- package/.buildkite/sign-windows.ps1 +0 -21
- package/.buildkite/test-windows-installer-download.ps1 +0 -54
- package/.buildkite/test_pipeline.py +0 -69
- package/.bundle/config +0 -4
- package/.editorconfig +0 -11
- package/.prettierignore +0 -13
- package/.ruby-version +0 -1
- package/.sonarcloud.properties +0 -2
- package/.xcode-version +0 -1
- package/AGENTS.md +0 -101
- package/CLAUDE.md +0 -4
- package/Gemfile +0 -8
- package/Gemfile.lock +0 -377
- package/Makefile +0 -293
- package/cmd/installer-payload/main.go +0 -19
- package/cmd/installer-version/main.go +0 -22
- package/cmd/stamp-version/main.go +0 -25
- package/cmd/vip-next/auth_bootstrap.go +0 -139
- package/cmd/vip-next/auth_bootstrap_test.go +0 -379
- package/cmd/vip-next/auth_bypass_wiring_test.go +0 -162
- package/cmd/vip-next/cli_error_hook_test.go +0 -91
- package/cmd/vip-next/commands/app.go +0 -23
- package/cmd/vip-next/commands/app_debug_test.go +0 -89
- package/cmd/vip-next/commands/app_deploy.go +0 -217
- package/cmd/vip-next/commands/app_deploy_test.go +0 -297
- package/cmd/vip-next/commands/app_deploy_validate.go +0 -58
- package/cmd/vip-next/commands/app_get.go +0 -293
- package/cmd/vip-next/commands/app_get_test.go +0 -226
- package/cmd/vip-next/commands/app_list.go +0 -93
- package/cmd/vip-next/commands/app_list_test.go +0 -95
- package/cmd/vip-next/commands/backup.go +0 -16
- package/cmd/vip-next/commands/backup_db.go +0 -137
- package/cmd/vip-next/commands/backup_db_test.go +0 -187
- package/cmd/vip-next/commands/cache.go +0 -16
- package/cmd/vip-next/commands/cache_purge_url.go +0 -90
- package/cmd/vip-next/commands/cache_purge_url_test.go +0 -154
- package/cmd/vip-next/commands/config.go +0 -17
- package/cmd/vip-next/commands/config_debug_test.go +0 -137
- package/cmd/vip-next/commands/config_envvar.go +0 -16
- package/cmd/vip-next/commands/config_envvar_delete.go +0 -135
- package/cmd/vip-next/commands/config_envvar_delete_test.go +0 -140
- package/cmd/vip-next/commands/config_envvar_get.go +0 -72
- package/cmd/vip-next/commands/config_envvar_get_all.go +0 -58
- package/cmd/vip-next/commands/config_envvar_get_all_test.go +0 -83
- package/cmd/vip-next/commands/config_envvar_get_test.go +0 -79
- package/cmd/vip-next/commands/config_envvar_list.go +0 -70
- package/cmd/vip-next/commands/config_envvar_list_test.go +0 -134
- package/cmd/vip-next/commands/config_envvar_set.go +0 -162
- package/cmd/vip-next/commands/config_envvar_set_test.go +0 -251
- package/cmd/vip-next/commands/config_software.go +0 -229
- package/cmd/vip-next/commands/config_software_test.go +0 -161
- package/cmd/vip-next/commands/config_software_update.go +0 -270
- package/cmd/vip-next/commands/config_software_update_test.go +0 -334
- package/cmd/vip-next/commands/db.go +0 -16
- package/cmd/vip-next/commands/db_phpmyadmin.go +0 -122
- package/cmd/vip-next/commands/db_phpmyadmin_test.go +0 -277
- package/cmd/vip-next/commands/defensive_mode.go +0 -106
- package/cmd/vip-next/commands/defensive_mode_configure.go +0 -150
- package/cmd/vip-next/commands/defensive_mode_disable.go +0 -62
- package/cmd/vip-next/commands/defensive_mode_enable.go +0 -62
- package/cmd/vip-next/commands/defensive_mode_test.go +0 -389
- package/cmd/vip-next/commands/devenv.go +0 -48
- package/cmd/vip-next/commands/devenv_create_appinfo.go +0 -158
- package/cmd/vip-next/commands/devenv_create_appinfo_test.go +0 -29
- package/cmd/vip-next/commands/devenv_create_test.go +0 -269
- package/cmd/vip-next/commands/devenv_data.go +0 -86
- package/cmd/vip-next/commands/devenv_data_confirm_test.go +0 -49
- package/cmd/vip-next/commands/devenv_debug_test.go +0 -34
- package/cmd/vip-next/commands/devenv_e2e_gate_test.go +0 -17
- package/cmd/vip-next/commands/devenv_e2e_test.go +0 -34
- package/cmd/vip-next/commands/devenv_envvar.go +0 -180
- package/cmd/vip-next/commands/devenv_envvar_test.go +0 -183
- package/cmd/vip-next/commands/devenv_exec.go +0 -75
- package/cmd/vip-next/commands/devenv_exec_test.go +0 -39
- package/cmd/vip-next/commands/devenv_flag_grammar_test.go +0 -241
- package/cmd/vip-next/commands/devenv_lifecycle.go +0 -778
- package/cmd/vip-next/commands/devenv_logs.go +0 -29
- package/cmd/vip-next/commands/devenv_resolve.go +0 -106
- package/cmd/vip-next/commands/devenv_resolve_test.go +0 -221
- package/cmd/vip-next/commands/devenv_sync.go +0 -256
- package/cmd/vip-next/commands/devenv_sync_sites.go +0 -116
- package/cmd/vip-next/commands/devenv_sync_sites_test.go +0 -151
- package/cmd/vip-next/commands/devenv_sync_test.go +0 -63
- package/cmd/vip-next/commands/devenv_test.go +0 -60
- package/cmd/vip-next/commands/devenv_update.go +0 -207
- package/cmd/vip-next/commands/devenv_update_test.go +0 -109
- package/cmd/vip-next/commands/devenv_versions_proxy_test.go +0 -133
- package/cmd/vip-next/commands/edge_workers.go +0 -197
- package/cmd/vip-next/commands/edge_workers_flags.go +0 -56
- package/cmd/vip-next/commands/edge_workers_local.go +0 -127
- package/cmd/vip-next/commands/edge_workers_mutation.go +0 -130
- package/cmd/vip-next/commands/edge_workers_read.go +0 -103
- package/cmd/vip-next/commands/edge_workers_test.go +0 -272
- package/cmd/vip-next/commands/export.go +0 -16
- package/cmd/vip-next/commands/export_sql.go +0 -333
- package/cmd/vip-next/commands/export_sql_test.go +0 -321
- package/cmd/vip-next/commands/format_env.go +0 -17
- package/cmd/vip-next/commands/import.go +0 -19
- package/cmd/vip-next/commands/import_debug_test.go +0 -110
- package/cmd/vip-next/commands/import_media.go +0 -433
- package/cmd/vip-next/commands/import_media_abort.go +0 -76
- package/cmd/vip-next/commands/import_media_confirm.go +0 -83
- package/cmd/vip-next/commands/import_media_confirm_test.go +0 -249
- package/cmd/vip-next/commands/import_media_fetch_test.go +0 -98
- package/cmd/vip-next/commands/import_media_status.go +0 -58
- package/cmd/vip-next/commands/import_media_test.go +0 -370
- package/cmd/vip-next/commands/import_sql.go +0 -1161
- package/cmd/vip-next/commands/import_sql_status.go +0 -67
- package/cmd/vip-next/commands/import_sql_test.go +0 -746
- package/cmd/vip-next/commands/import_validate_files.go +0 -157
- package/cmd/vip-next/commands/import_validate_files_test.go +0 -157
- package/cmd/vip-next/commands/import_validate_sql.go +0 -207
- package/cmd/vip-next/commands/import_validate_sql_test.go +0 -293
- package/cmd/vip-next/commands/login.go +0 -53
- package/cmd/vip-next/commands/login_test.go +0 -25
- package/cmd/vip-next/commands/logout.go +0 -43
- package/cmd/vip-next/commands/logout_test.go +0 -158
- package/cmd/vip-next/commands/logs.go +0 -169
- package/cmd/vip-next/commands/logs_test.go +0 -174
- package/cmd/vip-next/commands/nodeflag_aliases.go +0 -59
- package/cmd/vip-next/commands/progress_renderer.go +0 -118
- package/cmd/vip-next/commands/progress_renderer_test.go +0 -28
- package/cmd/vip-next/commands/searchreplace.go +0 -75
- package/cmd/vip-next/commands/searchreplace_debug_test.go +0 -82
- package/cmd/vip-next/commands/searchreplace_test.go +0 -155
- package/cmd/vip-next/commands/slowlogs.go +0 -167
- package/cmd/vip-next/commands/slowlogs_test.go +0 -159
- package/cmd/vip-next/commands/sqlreport.go +0 -183
- package/cmd/vip-next/commands/sqlreport_test.go +0 -66
- package/cmd/vip-next/commands/sync.go +0 -189
- package/cmd/vip-next/commands/sync_confirm.go +0 -121
- package/cmd/vip-next/commands/sync_confirm_test.go +0 -202
- package/cmd/vip-next/commands/sync_render.go +0 -207
- package/cmd/vip-next/commands/sync_render_test.go +0 -101
- package/cmd/vip-next/commands/sync_test.go +0 -148
- package/cmd/vip-next/commands/update.go +0 -85
- package/cmd/vip-next/commands/update_test.go +0 -49
- package/cmd/vip-next/commands/whoami.go +0 -161
- package/cmd/vip-next/commands/whoami_debug_test.go +0 -79
- package/cmd/vip-next/commands/whoami_test.go +0 -85
- package/cmd/vip-next/commands/wp.go +0 -376
- package/cmd/vip-next/commands/wp_debug_test.go +0 -32
- package/cmd/vip-next/commands/wp_test.go +0 -276
- package/cmd/vip-next/debug_args.go +0 -63
- package/cmd/vip-next/debug_test.go +0 -122
- package/cmd/vip-next/edge_workers_test.go +0 -108
- package/cmd/vip-next/flags_node_parity_test.go +0 -434
- package/cmd/vip-next/main.go +0 -391
- package/cmd/vip-next/main_test.go +0 -202
- package/cmd/vip-next/pendo_wiring_test.go +0 -148
- package/cmd/vip-next/root.go +0 -211
- package/cmd/vip-next/update_bootstrap.go +0 -94
- package/cmd/vip-next/update_bootstrap_test.go +0 -85
- package/cmd/vip-next/update_integration_test.go +0 -137
- package/cmd/vip-next-prerelease/main.go +0 -108
- package/cmd/vip-next-prerelease/main_test.go +0 -46
- package/docs/ARCHITECTURE.md +0 -95
- package/docs/BUILD-SIGNING.md +0 -501
- package/docs/CHANGELOG.md +0 -1844
- package/docs/COMMANDER-MIGRATION.md +0 -45
- package/docs/CONTRIBUTING.md +0 -29
- package/docs/CUTOVER-BREAKING-CHANGES.md +0 -261
- package/docs/DEBUGGING.md +0 -94
- package/docs/EDGE-WORKERS.md +0 -256
- package/docs/GO-UPDATES.md +0 -97
- package/docs/NPM-RELEASE-RECOVERY.md +0 -47
- package/docs/RELEASING.md +0 -211
- package/docs/SECURITY.md +0 -9
- package/docs/SETUP.md +0 -154
- package/docs/TESTING.md +0 -67
- package/docs/decisions/0001-operation-scoped-elevated-token-reuse.md +0 -87
- package/docs/dev-env-windows-wsl-testing.md +0 -191
- package/docs/vip-next-vip-command-reference.md +0 -257
- package/docs/vip-wp-line-parse-dfa.dot +0 -31
- package/eslint.config.js +0 -35
- package/fastlane/Fastfile +0 -204
- package/fastlane/example.env +0 -8
- package/fastlane/test_signing.rb +0 -83
- package/go.mod +0 -39
- package/go.sum +0 -127
- package/internal/appctx/app_resolver.go +0 -202
- package/internal/appctx/app_resolver_test.go +0 -187
- package/internal/appctx/confirm.go +0 -180
- package/internal/appctx/confirm_payload_test.go +0 -201
- package/internal/appctx/confirm_test.go +0 -120
- package/internal/appctx/context.go +0 -94
- package/internal/appctx/context_test.go +0 -56
- package/internal/appctx/env_resolver.go +0 -110
- package/internal/appctx/env_resolver_test.go +0 -215
- package/internal/appctx/format.go +0 -72
- package/internal/appctx/format_test.go +0 -75
- package/internal/appctx/interactive.go +0 -50
- package/internal/appctx/interactive_test.go +0 -134
- package/internal/appctx/middleware.go +0 -56
- package/internal/appctx/middleware_test.go +0 -88
- package/internal/appctx/prompts.go +0 -70
- package/internal/appctx/prompts_test.go +0 -97
- package/internal/appctx/required_args.go +0 -24
- package/internal/appctx/required_args_test.go +0 -38
- package/internal/appctx/telemetry.go +0 -22
- package/internal/appctx/telemetry_test.go +0 -42
- package/internal/appctx/wildcard.go +0 -29
- package/internal/appctx/wildcard_test.go +0 -53
- package/internal/auth/bypass.go +0 -84
- package/internal/auth/bypass_test.go +0 -97
- package/internal/auth/login.go +0 -156
- package/internal/auth/login_test.go +0 -184
- package/internal/auth/logout.go +0 -44
- package/internal/auth/logout_test.go +0 -78
- package/internal/auth/store.go +0 -130
- package/internal/auth/store_test.go +0 -339
- package/internal/auth/token.go +0 -117
- package/internal/auth/token_test.go +0 -90
- package/internal/backup/backup.go +0 -194
- package/internal/backup/backup_test.go +0 -228
- package/internal/cachepurge/cachepurge.go +0 -38
- package/internal/cachepurge/cachepurge_test.go +0 -92
- package/internal/customdeploy/archive.go +0 -205
- package/internal/customdeploy/archive_test.go +0 -174
- package/internal/customdeploy/customdeploy.go +0 -91
- package/internal/customdeploy/customdeploy_test.go +0 -82
- package/internal/debuglog/debuglog.go +0 -85
- package/internal/debuglog/debuglog_test.go +0 -44
- package/internal/defensivemode/api.go +0 -89
- package/internal/defensivemode/api_test.go +0 -122
- package/internal/devenv/adapters.go +0 -168
- package/internal/devenv/adapters_test.go +0 -44
- package/internal/devenv/adopt.go +0 -20
- package/internal/devenv/adopt_setup_test.go +0 -30
- package/internal/devenv/compose/labels.go +0 -90
- package/internal/devenv/compose/labels_test.go +0 -136
- package/internal/devenv/compose/project.go +0 -88
- package/internal/devenv/compose/project_test.go +0 -148
- package/internal/devenv/compose/render.go +0 -54
- package/internal/devenv/compose/render_test.go +0 -90
- package/internal/devenv/compose/services.go +0 -337
- package/internal/devenv/compose/services_test.go +0 -258
- package/internal/devenv/compose/testdata/full.golden.yml +0 -265
- package/internal/devenv/compose/types.go +0 -97
- package/internal/devenv/compose/types_test.go +0 -61
- package/internal/devenv/compose/view.go +0 -205
- package/internal/devenv/compose/view_test.go +0 -120
- package/internal/devenv/configfile.go +0 -300
- package/internal/devenv/configfile_test.go +0 -246
- package/internal/devenv/create.go +0 -130
- package/internal/devenv/create_test.go +0 -98
- package/internal/devenv/debug.go +0 -4
- package/internal/devenv/debug_test.go +0 -103
- package/internal/devenv/devenv.go +0 -434
- package/internal/devenv/devenv_test.go +0 -77
- package/internal/devenv/devexec.go +0 -140
- package/internal/devenv/devexec_test.go +0 -91
- package/internal/devenv/devlog/devlog.go +0 -219
- package/internal/devenv/devlog/devlog_test.go +0 -112
- package/internal/devenv/devterm/devterm.go +0 -65
- package/internal/devenv/devterm/devterm_pty.go +0 -58
- package/internal/devenv/devterm/devterm_stub.go +0 -20
- package/internal/devenv/devterm/devterm_test.go +0 -78
- package/internal/devenv/dockercli/capture.go +0 -84
- package/internal/devenv/dockercli/capture_test.go +0 -33
- package/internal/devenv/dockercli/compose.go +0 -30
- package/internal/devenv/dockercli/compose_test.go +0 -35
- package/internal/devenv/dockercli/runner.go +0 -214
- package/internal/devenv/dockercli/runner_test.go +0 -157
- package/internal/devenv/dockercli/socket.go +0 -56
- package/internal/devenv/dockercli/socket_test.go +0 -52
- package/internal/devenv/e2e_gate_test.go +0 -17
- package/internal/devenv/e2e_test.go +0 -499
- package/internal/devenv/e2esafety/gate_wiring_test.go +0 -90
- package/internal/devenv/e2esafety/safety.go +0 -52
- package/internal/devenv/e2esafety/safety_test.go +0 -71
- package/internal/devenv/eachenv_test.go +0 -132
- package/internal/devenv/editor.go +0 -82
- package/internal/devenv/editor_test.go +0 -60
- package/internal/devenv/envfile.go +0 -287
- package/internal/devenv/envvar.go +0 -165
- package/internal/devenv/envvar_test.go +0 -178
- package/internal/devenv/hostops/context.go +0 -38
- package/internal/devenv/hostops/context_test.go +0 -24
- package/internal/devenv/hostops/e2e_gate_test.go +0 -17
- package/internal/devenv/hostops/e2e_test.go +0 -429
- package/internal/devenv/hostops/elevate.go +0 -248
- package/internal/devenv/hostops/elevate_message_test.go +0 -35
- package/internal/devenv/hostops/elevate_test.go +0 -111
- package/internal/devenv/hostops/hosts.go +0 -255
- package/internal/devenv/hostops/hosts_test.go +0 -178
- package/internal/devenv/hostops/thumbprint_test.go +0 -57
- package/internal/devenv/hostops/trust.go +0 -115
- package/internal/devenv/hostops/trust_test.go +0 -90
- package/internal/devenv/hostrefresh.go +0 -127
- package/internal/devenv/hostrefresh_test.go +0 -123
- package/internal/devenv/importdata.go +0 -491
- package/internal/devenv/importdata_test.go +0 -142
- package/internal/devenv/importdecompress_test.go +0 -90
- package/internal/devenv/importgate_test.go +0 -166
- package/internal/devenv/importvalidate.go +0 -437
- package/internal/devenv/importvalidate_test.go +0 -293
- package/internal/devenv/info_table.go +0 -165
- package/internal/devenv/info_table_test.go +0 -111
- package/internal/devenv/instancedata/instancedata.go +0 -239
- package/internal/devenv/instancedata/instancedata_test.go +0 -281
- package/internal/devenv/instancedata/testdata/legacy_keys.json +0 -16
- package/internal/devenv/instancedata/testdata/unknown_keys.json +0 -19
- package/internal/devenv/lifecycle/adopt.go +0 -24
- package/internal/devenv/lifecycle/adopt_test.go +0 -43
- package/internal/devenv/lifecycle/health.go +0 -28
- package/internal/devenv/lifecycle/health_test.go +0 -34
- package/internal/devenv/lifecycle/hosts.go +0 -42
- package/internal/devenv/lifecycle/hosts_test.go +0 -41
- package/internal/devenv/lifecycle/migrate.go +0 -44
- package/internal/devenv/lifecycle/migrate_test.go +0 -78
- package/internal/devenv/lifecycle/pull.go +0 -19
- package/internal/devenv/lifecycle/pull_test.go +0 -29
- package/internal/devenv/lifecycle/setup.go +0 -35
- package/internal/devenv/lifecycle/setup_test.go +0 -46
- package/internal/devenv/lifecycle/start.go +0 -132
- package/internal/devenv/lifecycle/start_test.go +0 -350
- package/internal/devenv/lifecycle/teardown.go +0 -32
- package/internal/devenv/lifecycle/teardown_test.go +0 -83
- package/internal/devenv/lifecycle/types.go +0 -86
- package/internal/devenv/lifecycle/waiter.go +0 -49
- package/internal/devenv/lifecycle/waiter_test.go +0 -98
- package/internal/devenv/list.go +0 -49
- package/internal/devenv/list_test.go +0 -24
- package/internal/devenv/logs.go +0 -43
- package/internal/devenv/logs_test.go +0 -28
- package/internal/devenv/materialize.go +0 -44
- package/internal/devenv/materialize_test.go +0 -112
- package/internal/devenv/paths/paths.go +0 -42
- package/internal/devenv/paths/paths_test.go +0 -39
- package/internal/devenv/postimport.go +0 -134
- package/internal/devenv/postimport_test.go +0 -389
- package/internal/devenv/proxy/ca.go +0 -110
- package/internal/devenv/proxy/ca_test.go +0 -111
- package/internal/devenv/proxy/network.go +0 -28
- package/internal/devenv/proxy/network_test.go +0 -68
- package/internal/devenv/proxy/ports.go +0 -104
- package/internal/devenv/proxy/ports_test.go +0 -76
- package/internal/devenv/proxy/proxy.go +0 -143
- package/internal/devenv/proxy/proxy_test.go +0 -149
- package/internal/devenv/proxy/scripts/gen-certs.sh +0 -73
- package/internal/devenv/proxy/spec.go +0 -60
- package/internal/devenv/proxy/spec_test.go +0 -44
- package/internal/devenv/proxy/testhelpers_test.go +0 -7
- package/internal/devenv/proxy_policy_test.go +0 -155
- package/internal/devenv/syncplan.go +0 -573
- package/internal/devenv/syncplan_test.go +0 -256
- package/internal/devenv/syncsql.go +0 -247
- package/internal/devenv/syncsql_repair.go +0 -169
- package/internal/devenv/syncsql_repair_test.go +0 -150
- package/internal/devenv/syncsql_test.go +0 -220
- package/internal/devenv/update.go +0 -87
- package/internal/devenv/update_test.go +0 -47
- package/internal/edgeworkers/api.go +0 -173
- package/internal/edgeworkers/api_test.go +0 -256
- package/internal/edgeworkers/build.go +0 -188
- package/internal/edgeworkers/build_test.go +0 -175
- package/internal/edgeworkers/confirmation.go +0 -72
- package/internal/edgeworkers/deployment.go +0 -156
- package/internal/edgeworkers/deployment_test.go +0 -165
- package/internal/edgeworkers/output.go +0 -131
- package/internal/edgeworkers/output_test.go +0 -98
- package/internal/edgeworkers/project.go +0 -264
- package/internal/edgeworkers/project_test.go +0 -167
- package/internal/edgeworkers/scaffold.go +0 -88
- package/internal/edgeworkers/templates/README.md +0 -25
- package/internal/edgeworkers/templates/edge-workers.json +0 -4
- package/internal/edgeworkers/templates/gitignore +0 -2
- package/internal/edgeworkers/templates/package.json +0 -16
- package/internal/edgeworkers/templates/tsconfig.json +0 -6
- package/internal/edgeworkers/templates/worker.ts +0 -19
- package/internal/edgeworkers/types.go +0 -37
- package/internal/edgeworkers/validation.go +0 -177
- package/internal/envalias/envalias.go +0 -50
- package/internal/envalias/envalias_test.go +0 -147
- package/internal/envvar/envvar.go +0 -253
- package/internal/envvar/envvar_test.go +0 -274
- package/internal/envvar/reload_manifest.go +0 -99
- package/internal/envvar/reload_manifest_test.go +0 -44
- package/internal/envvar/value_confirm.go +0 -26
- package/internal/envvar/value_confirm_test.go +0 -22
- package/internal/exit/exit.go +0 -94
- package/internal/exit/exit_test.go +0 -119
- package/internal/gql/SCHEMA.md +0 -21
- package/internal/gql/client.go +0 -54
- package/internal/gql/client_test.go +0 -71
- package/internal/gql/debug_test.go +0 -79
- package/internal/gql/decoder_compat_helpers_test.go +0 -35
- package/internal/gql/decoder_compat_test.go +0 -78
- package/internal/gql/doc.go +0 -13
- package/internal/gql/edgeworkerinput/input.go +0 -58
- package/internal/gql/edgeworkerinput/input_test.go +0 -52
- package/internal/gql/error.go +0 -163
- package/internal/gql/error_test.go +0 -203
- package/internal/gql/generated.go +0 -10425
- package/internal/gql/genqlient.yaml +0 -26
- package/internal/gql/import_sql_marshal_test.go +0 -69
- package/internal/gql/operation.go +0 -67
- package/internal/gql/operation_test.go +0 -60
- package/internal/gql/operations/app_get.graphql +0 -43
- package/internal/gql/operations/app_list.graphql +0 -9
- package/internal/gql/operations/app_resolve.graphql +0 -37
- package/internal/gql/operations/backup_export_deploy.graphql +0 -123
- package/internal/gql/operations/cachepurge.graphql +0 -6
- package/internal/gql/operations/defensive_mode.graphql +0 -13
- package/internal/gql/operations/dev_env_create.graphql +0 -38
- package/internal/gql/operations/dev_env_sync.graphql +0 -15
- package/internal/gql/operations/edge_workers.graphql +0 -53
- package/internal/gql/operations/envvar.graphql +0 -52
- package/internal/gql/operations/fragments.graphql +0 -5
- package/internal/gql/operations/import_media.graphql +0 -61
- package/internal/gql/operations/import_sql.graphql +0 -135
- package/internal/gql/operations/logs.graphql +0 -22
- package/internal/gql/operations/me.graphql +0 -13
- package/internal/gql/operations/phpmyadmin.graphql +0 -21
- package/internal/gql/operations/slowlogs.graphql +0 -25
- package/internal/gql/operations/software.graphql +0 -53
- package/internal/gql/operations/sync.graphql +0 -51
- package/internal/gql/operations/wp.graphql +0 -37
- package/internal/gql/proxy_test.go +0 -62
- package/internal/gql/rechallenge.go +0 -218
- package/internal/gql/rechallenge_test.go +0 -471
- package/internal/gql/retry.go +0 -130
- package/internal/gql/retry_test.go +0 -230
- package/internal/gql/schema.gql +0 -9337
- package/internal/gql/transport.go +0 -65
- package/internal/gql/transport_helper.go +0 -24
- package/internal/httpproxy/callers_test.go +0 -211
- package/internal/httpproxy/debug_test.go +0 -32
- package/internal/httpproxy/httpproxy.go +0 -315
- package/internal/httpproxy/httpproxy_test.go +0 -435
- package/internal/installer/version.go +0 -41
- package/internal/installer/version_test.go +0 -33
- package/internal/keychain/fallback.go +0 -93
- package/internal/keychain/keychain.go +0 -197
- package/internal/keychain/keychain_select_test.go +0 -34
- package/internal/keychain/keychain_test.go +0 -112
- package/internal/logsapi/logsapi.go +0 -165
- package/internal/logsapi/logsapi_test.go +0 -82
- package/internal/mediaimport/mediaimport.go +0 -26
- package/internal/mediaimport/mediaimport_test.go +0 -46
- package/internal/mediaimport/status.go +0 -162
- package/internal/mediaimport/status_test.go +0 -159
- package/internal/mediaimport/tracker.go +0 -116
- package/internal/mediaimport/tracker_test.go +0 -62
- package/internal/nodeflags/nodeflags.go +0 -130
- package/internal/nodeflags/nodeflags_test.go +0 -138
- package/internal/nodeflags/optionalvalue.go +0 -123
- package/internal/nodeflags/optionalvalue_test.go +0 -158
- package/internal/output/csv.go +0 -178
- package/internal/output/fields.go +0 -22
- package/internal/output/fields_test.go +0 -21
- package/internal/output/ids.go +0 -26
- package/internal/output/ids_test.go +0 -32
- package/internal/output/json.go +0 -113
- package/internal/output/keyvalue.go +0 -35
- package/internal/output/keyvalue_block.go +0 -77
- package/internal/output/keyvalue_block_test.go +0 -95
- package/internal/output/keyvalue_test.go +0 -35
- package/internal/output/ordered.go +0 -44
- package/internal/output/ordered_test.go +0 -42
- package/internal/output/output.go +0 -62
- package/internal/output/output_test.go +0 -400
- package/internal/output/table.go +0 -231
- package/internal/output/table_layout.go +0 -472
- package/internal/output/table_layout_test.go +0 -107
- package/internal/output/table_layout_tty_test.go +0 -63
- package/internal/output/text.go +0 -24
- package/internal/output/text_test.go +0 -31
- package/internal/output/typename.go +0 -35
- package/internal/output/typename_test.go +0 -48
- package/internal/parity/backup_export_deploy_scenario_test.go +0 -285
- package/internal/parity/cache_scenario_test.go +0 -173
- package/internal/parity/command_surface_scenario_test.go +0 -530
- package/internal/parity/defensive_mode_scenario_test.go +0 -133
- package/internal/parity/diff.go +0 -128
- package/internal/parity/diff_test.go +0 -155
- package/internal/parity/differential_test.go +0 -166
- package/internal/parity/edge_workers_build_smoke_test.go +0 -69
- package/internal/parity/edge_workers_cases_test.go +0 -77
- package/internal/parity/edge_workers_debug_test.go +0 -87
- package/internal/parity/edge_workers_differential_test.go +0 -483
- package/internal/parity/edge_workers_prompt_test.go +0 -151
- package/internal/parity/env.go +0 -176
- package/internal/parity/env_test.go +0 -211
- package/internal/parity/envvar_mutation_scenario_test.go +0 -188
- package/internal/parity/harness.go +0 -28
- package/internal/parity/harness_test.go +0 -62
- package/internal/parity/import_media_scenario_test.go +0 -207
- package/internal/parity/import_sql_scenario_test.go +0 -198
- package/internal/parity/import_validate_sql_scenario_test.go +0 -68
- package/internal/parity/keychain.go +0 -538
- package/internal/parity/keychain_test.go +0 -201
- package/internal/parity/m5_differential_test.go +0 -185
- package/internal/parity/m5_scenarios_test.go +0 -225
- package/internal/parity/nodebin.go +0 -120
- package/internal/parity/nodebin_test.go +0 -148
- package/internal/parity/parker.go +0 -491
- package/internal/parity/parker_discovery.go +0 -373
- package/internal/parity/parker_discovery_test.go +0 -267
- package/internal/parity/parker_live_test.go +0 -164
- package/internal/parity/parker_test.go +0 -480
- package/internal/parity/pendo_test.go +0 -122
- package/internal/parity/phpmyadmin_scenario_test.go +0 -214
- package/internal/parity/runner.go +0 -56
- package/internal/parity/runner_test.go +0 -67
- package/internal/parity/scenario.go +0 -82
- package/internal/parity/scenario_test.go +0 -52
- package/internal/parity/surface_differential_test.go +0 -494
- package/internal/parity/sync_scenario_test.go +0 -172
- package/internal/parity/vendored_src_test.go +0 -84
- package/internal/parity/whoami_scenario_test.go +0 -69
- package/internal/parity/wp_scenario_test.go +0 -428
- package/internal/phpmyadmin/client.go +0 -221
- package/internal/phpmyadmin/client_test.go +0 -418
- package/internal/poll/poll.go +0 -85
- package/internal/poll/poll_test.go +0 -136
- package/internal/polling/polling.go +0 -97
- package/internal/polling/polling_test.go +0 -59
- package/internal/rechallenge/browser.go +0 -16
- package/internal/rechallenge/client.go +0 -198
- package/internal/rechallenge/client_test.go +0 -169
- package/internal/rechallenge/errors.go +0 -137
- package/internal/rechallenge/errors_test.go +0 -81
- package/internal/rechallenge/flow.go +0 -232
- package/internal/rechallenge/flow_noninteractive_test.go +0 -285
- package/internal/rechallenge/flow_test.go +0 -217
- package/internal/rechallenge/interactive.go +0 -90
- package/internal/rechallenge/interactive_test.go +0 -106
- package/internal/rechallenge/redact.go +0 -36
- package/internal/rechallenge/redact_test.go +0 -142
- package/internal/rechallenge/tokencache.go +0 -148
- package/internal/rechallenge/tokencache_test.go +0 -139
- package/internal/rechallenge/types.go +0 -100
- package/internal/rechallenge/types_test.go +0 -56
- package/internal/redact/redact.go +0 -99
- package/internal/redact/redact_test.go +0 -80
- package/internal/releasepromotion/buildkite.go +0 -233
- package/internal/releasepromotion/buildkite_test.go +0 -284
- package/internal/releasepromotion/contract.go +0 -165
- package/internal/releasepromotion/contract_test.go +0 -211
- package/internal/releasepromotion/github.go +0 -378
- package/internal/releasepromotion/github_test.go +0 -399
- package/internal/releasepromotion/optional_installers_test.go +0 -87
- package/internal/releasepromotion/promoter.go +0 -134
- package/internal/releasepromotion/promoter_test.go +0 -147
- package/internal/releasepromotion/verify.go +0 -239
- package/internal/releasepromotion/verify_test.go +0 -296
- package/internal/searchreplace/debug_test.go +0 -71
- package/internal/searchreplace/dumpdetails.go +0 -104
- package/internal/searchreplace/dumpdetails_test.go +0 -86
- package/internal/searchreplace/searchreplace.go +0 -261
- package/internal/searchreplace/searchreplace_test.go +0 -250
- package/internal/siteimport/debug_test.go +0 -34
- package/internal/siteimport/siteimport.go +0 -18
- package/internal/siteimport/siteimport_test.go +0 -19
- package/internal/siteimport/sitetype.go +0 -74
- package/internal/siteimport/sitetype_test.go +0 -62
- package/internal/siteimport/status.go +0 -282
- package/internal/siteimport/status_test.go +0 -234
- package/internal/slowlogsapi/slowlogsapi.go +0 -176
- package/internal/slowlogsapi/slowlogsapi_test.go +0 -93
- package/internal/softwaresettings/format.go +0 -192
- package/internal/softwaresettings/format_test.go +0 -123
- package/internal/sqlexport/diskspace.go +0 -36
- package/internal/sqlexport/diskspace_unix.go +0 -24
- package/internal/sqlexport/diskspace_windows.go +0 -26
- package/internal/sqlexport/download.go +0 -75
- package/internal/sqlexport/download_test.go +0 -103
- package/internal/sqlexport/export.go +0 -321
- package/internal/sqlexport/export_test.go +0 -313
- package/internal/sqlexport/format.go +0 -44
- package/internal/sqlexport/livecopy.go +0 -150
- package/internal/sqlexport/livecopy_test.go +0 -273
- package/internal/sqlvalidation/devenv_checks_test.go +0 -134
- package/internal/sqlvalidation/filename.go +0 -30
- package/internal/sqlvalidation/line_by_line.go +0 -91
- package/internal/sqlvalidation/line_by_line_test.go +0 -165
- package/internal/sqlvalidation/multisite.go +0 -31
- package/internal/sqlvalidation/multisite_test.go +0 -34
- package/internal/sqlvalidation/sql.go +0 -510
- package/internal/sqlvalidation/sql_test.go +0 -206
- package/internal/sync/sync.go +0 -246
- package/internal/sync/sync_test.go +0 -253
- package/internal/telemetry/config.go +0 -34
- package/internal/telemetry/default.go +0 -67
- package/internal/telemetry/default_endpoint_test.go +0 -111
- package/internal/telemetry/pendo.go +0 -185
- package/internal/telemetry/pendo_auth_test.go +0 -92
- package/internal/telemetry/pendo_test.go +0 -252
- package/internal/telemetry/scrub.go +0 -90
- package/internal/telemetry/scrub_test.go +0 -131
- package/internal/telemetry/tracker.go +0 -102
- package/internal/telemetry/tracker_test.go +0 -76
- package/internal/telemetry/tracks.go +0 -82
- package/internal/telemetry/tracks_test.go +0 -129
- package/internal/telemetry/uuid.go +0 -50
- package/internal/telemetry/uuid_test.go +0 -90
- package/internal/tui/progress.go +0 -153
- package/internal/tui/progress_test.go +0 -89
- package/internal/tui/progress_tracker.go +0 -299
- package/internal/tui/progress_tracker_test.go +0 -155
- package/internal/update/archive.go +0 -134
- package/internal/update/archive_test.go +0 -132
- package/internal/update/download.go +0 -138
- package/internal/update/download_test.go +0 -32
- package/internal/update/github.go +0 -121
- package/internal/update/install.go +0 -265
- package/internal/update/install_test.go +0 -151
- package/internal/update/lock_unix.go +0 -23
- package/internal/update/lock_windows.go +0 -22
- package/internal/update/native_test.go +0 -70
- package/internal/update/notify.go +0 -91
- package/internal/update/ownership.go +0 -117
- package/internal/update/ownership_test.go +0 -102
- package/internal/update/release.go +0 -120
- package/internal/update/release_test.go +0 -168
- package/internal/update/service.go +0 -197
- package/internal/update/service_test.go +0 -118
- package/internal/update/state.go +0 -116
- package/internal/update/state_test.go +0 -132
- package/internal/upload/debug_test.go +0 -76
- package/internal/upload/filemeta.go +0 -112
- package/internal/upload/filemeta_test.go +0 -94
- package/internal/upload/multipart.go +0 -215
- package/internal/upload/multipart_test.go +0 -210
- package/internal/upload/orchestrate.go +0 -81
- package/internal/upload/parts.go +0 -39
- package/internal/upload/parts_test.go +0 -39
- package/internal/upload/presign.go +0 -103
- package/internal/upload/presign_test.go +0 -128
- package/internal/upload/proxy_test.go +0 -55
- package/internal/upload/putobject.go +0 -92
- package/internal/upload/putobject_test.go +0 -79
- package/internal/upload/retry.go +0 -45
- package/internal/upload/upload.go +0 -22
- package/internal/upload/xmlerror.go +0 -28
- package/internal/validatefiles/files.go +0 -105
- package/internal/validatefiles/files_test.go +0 -143
- package/internal/validatefiles/report.go +0 -172
- package/internal/validatefiles/validatefiles.go +0 -271
- package/internal/validatefiles/validatefiles_test.go +0 -127
- package/internal/version/stamp.go +0 -15
- package/internal/version/stamp_test.go +0 -25
- package/internal/version/version.go +0 -14
- package/internal/version/version_test.go +0 -25
- package/internal/wpshell/parser.go +0 -68
- package/internal/wpshell/parser_test.go +0 -58
- package/internal/wpshell/repl.go +0 -81
- package/internal/wpshell/repl_test.go +0 -71
- package/internal/wpshell/requote.go +0 -13
- package/internal/wpshell/requote_test.go +0 -15
- package/internal/wpssh/debug_test.go +0 -67
- package/internal/wpssh/wpssh.go +0 -124
- package/internal/wpssh/wpssh_test.go +0 -203
- package/internal/wpstream/debug_test.go +0 -116
- package/internal/wpstream/e2e_test.go +0 -178
- package/internal/wpstream/engineio.go +0 -291
- package/internal/wpstream/engineio_test.go +0 -82
- package/internal/wpstream/iostream.go +0 -391
- package/internal/wpstream/iostream_test.go +0 -138
- package/internal/wpstream/run.go +0 -364
- package/internal/wpstream/run_test.go +0 -184
- package/internal/wpstream/socketio.go +0 -435
- package/internal/wpstream/socketio_test.go +0 -402
- package/internal/wpstream/testdata/fixture-server.js +0 -54
- package/make.ps1 +0 -155
- package/node_modules/@apollo/client/__cjs/utilities/internal/types/DeferInfo.cjs +0 -3
- package/node_modules/@apollo/client/__cjs/utilities/internal/types/DeferInfo.cjs.map +0 -1
- package/node_modules/@apollo/client/__cjs/utilities/internal/types/DeferInfo.d.cts +0 -10
- package/node_modules/@apollo/client/utilities/internal/types/DeferInfo.d.ts +0 -10
- package/node_modules/@apollo/client/utilities/internal/types/DeferInfo.js +0 -2
- package/node_modules/@apollo/client/utilities/internal/types/DeferInfo.js.map +0 -1
- package/node_modules/argparse/LICENSE +0 -254
- package/node_modules/argparse/README.md +0 -84
- package/node_modules/argparse/package.json +0 -31
- package/node_modules/lando/node_modules/cliui/build/index.cjs +0 -302
- package/node_modules/lando/node_modules/cliui/build/lib/string-utils.js +0 -27
- package/node_modules/lando/node_modules/js-yaml/README.md +0 -233
- package/node_modules/lando/node_modules/js-yaml/bin/js-yaml.js +0 -117
- package/node_modules/lando/node_modules/js-yaml/dist/js-yaml.js +0 -3022
- package/node_modules/lando/node_modules/js-yaml/dist/js-yaml.js.map +0 -1
- package/node_modules/lando/node_modules/js-yaml/dist/js-yaml.min.js +0 -2
- package/node_modules/lando/node_modules/js-yaml/dist/js-yaml.min.js.map +0 -1
- package/node_modules/lando/node_modules/js-yaml/dist/js-yaml.mjs +0 -3082
- package/node_modules/lando/node_modules/js-yaml/dist/js-yaml.mjs.map +0 -1
- package/node_modules/lando/node_modules/js-yaml/index.js +0 -44
- package/node_modules/lando/node_modules/js-yaml/lib/common.js +0 -50
- package/node_modules/lando/node_modules/js-yaml/lib/dumper.js +0 -937
- package/node_modules/lando/node_modules/js-yaml/lib/exception.js +0 -51
- package/node_modules/lando/node_modules/js-yaml/lib/index_vite_proxy.tmp.mjs +0 -37
- package/node_modules/lando/node_modules/js-yaml/lib/loader.js +0 -1803
- package/node_modules/lando/node_modules/js-yaml/lib/schema/core.js +0 -9
- package/node_modules/lando/node_modules/js-yaml/lib/schema/default.js +0 -20
- package/node_modules/lando/node_modules/js-yaml/lib/schema/failsafe.js +0 -14
- package/node_modules/lando/node_modules/js-yaml/lib/schema/json.js +0 -17
- package/node_modules/lando/node_modules/js-yaml/lib/schema.js +0 -109
- package/node_modules/lando/node_modules/js-yaml/lib/snippet.js +0 -96
- package/node_modules/lando/node_modules/js-yaml/lib/type/binary.js +0 -122
- package/node_modules/lando/node_modules/js-yaml/lib/type/bool.js +0 -35
- package/node_modules/lando/node_modules/js-yaml/lib/type/float.js +0 -99
- package/node_modules/lando/node_modules/js-yaml/lib/type/int.js +0 -142
- package/node_modules/lando/node_modules/js-yaml/lib/type/map.js +0 -8
- package/node_modules/lando/node_modules/js-yaml/lib/type/merge.js +0 -12
- package/node_modules/lando/node_modules/js-yaml/lib/type/null.js +0 -35
- package/node_modules/lando/node_modules/js-yaml/lib/type/omap.js +0 -45
- package/node_modules/lando/node_modules/js-yaml/lib/type/pairs.js +0 -50
- package/node_modules/lando/node_modules/js-yaml/lib/type/seq.js +0 -8
- package/node_modules/lando/node_modules/js-yaml/lib/type/set.js +0 -29
- package/node_modules/lando/node_modules/js-yaml/lib/type/str.js +0 -8
- package/node_modules/lando/node_modules/js-yaml/lib/type/timestamp.js +0 -88
- package/node_modules/lando/node_modules/js-yaml/lib/type.js +0 -66
- package/node_modules/lando/node_modules/js-yaml/package.json +0 -83
- package/node_modules/lando/node_modules/wrap-ansi/index.js +0 -216
- package/node_modules/lando/node_modules/wrap-ansi/package.json +0 -62
- package/node_modules/lando/node_modules/wrap-ansi/readme.md +0 -91
- package/node_modules/lando/node_modules/yargs/build/index.cjs +0 -2920
- package/node_modules/lando/node_modules/yargs/helpers/index.js +0 -14
- package/node_modules/lando/node_modules/yargs/index.cjs +0 -39
- package/node_modules/lando/node_modules/yargs/yargs +0 -9
- package/node_modules/lando/node_modules/yargs-parser/build/index.cjs +0 -1042
- package/node_modules/lando/plugins/lando-test/index.js +0 -3
- package/node_modules/lando/plugins/lando-test/plugin.yml +0 -2
- package/packaging/macos/build-pkg.sh +0 -53
- package/packaging/macos/preinstall +0 -33
- package/packaging/macos/test-install.sh +0 -51
- package/packaging/macos/test_package.py +0 -74
- package/packaging/macos/uninstall.sh +0 -24
- package/packaging/macos/verify-pkg.py +0 -61
- package/packaging/windows/build-msi.ps1 +0 -153
- package/packaging/windows/test-msi.ps1 +0 -225
- package/packaging/windows/verify-msi.ps1 +0 -74
- package/packaging/windows/vip-next.wxs +0 -79
- package/scripts/catalog_script_test.go +0 -123
- package/scripts/vip-next-command-catalog.sh +0 -506
- package/test-utils/undici-mock.js +0 -25
- package/testdata/installer-fixture/main.go +0 -40
- package/testdata/parity/app-deploy-completed.yaml +0 -14
- package/testdata/parity/app-deploy-missing-token.yaml +0 -21
- package/testdata/parity/app-deploy-validate-clean.yaml +0 -11
- package/testdata/parity/app-deploy-validate-missing-themes.yaml +0 -21
- package/testdata/parity/app-get-baseline.yaml +0 -14
- package/testdata/parity/app-get-custom-deploy.yaml +0 -14
- package/testdata/parity/app-get-json.yaml +0 -14
- package/testdata/parity/app-get-not-found.yaml +0 -13
- package/testdata/parity/app-list-baseline.yaml +0 -14
- package/testdata/parity/app-list-csv.yaml +0 -13
- package/testdata/parity/app-list-empty.yaml +0 -13
- package/testdata/parity/app-list-ids.yaml +0 -26
- package/testdata/parity/app-list-json.yaml +0 -13
- package/testdata/parity/app-list-unknown-format.yaml +0 -29
- package/testdata/parity/backup-db-already-in-progress.yaml +0 -15
- package/testdata/parity/backup-db-completed.yaml +0 -14
- package/testdata/parity/backup-db-help.yaml +0 -10
- package/testdata/parity/cache-purge-url-empty.yaml +0 -26
- package/testdata/parity/cache-purge-url-from-file.yaml +0 -21
- package/testdata/parity/cache-purge-url-multi.yaml +0 -19
- package/testdata/parity/cache-purge-url-single.yaml +0 -18
- package/testdata/parity/defensive-mode-enable-with-rechallenge.yaml +0 -20
- package/testdata/parity/edge-workers-artifact-symlink.yaml +0 -8
- package/testdata/parity/edge-workers-bare-location.yaml +0 -8
- package/testdata/parity/edge-workers-bare-path.yaml +0 -8
- package/testdata/parity/edge-workers-bare-type.yaml +0 -8
- package/testdata/parity/edge-workers-build-all.yaml +0 -8
- package/testdata/parity/edge-workers-build-compiler-error.yaml +0 -8
- package/testdata/parity/edge-workers-build-empty.yaml +0 -8
- package/testdata/parity/edge-workers-build-missing-compiler.yaml +0 -8
- package/testdata/parity/edge-workers-build-name-all.yaml +0 -8
- package/testdata/parity/edge-workers-build-one.yaml +0 -8
- package/testdata/parity/edge-workers-delete-force.yaml +0 -8
- package/testdata/parity/edge-workers-delete-rejected.yaml +0 -8
- package/testdata/parity/edge-workers-deploy-active-update-enable.yaml +0 -8
- package/testdata/parity/edge-workers-deploy-active-update.yaml +0 -8
- package/testdata/parity/edge-workers-deploy-all-preparation-failure.yaml +0 -8
- package/testdata/parity/edge-workers-deploy-create-enable.yaml +0 -8
- package/testdata/parity/edge-workers-deploy-create.yaml +0 -8
- package/testdata/parity/edge-workers-deploy-enable-failure.yaml +0 -8
- package/testdata/parity/edge-workers-deploy-inactive-update-enable.yaml +0 -8
- package/testdata/parity/edge-workers-deploy-inactive-update.yaml +0 -8
- package/testdata/parity/edge-workers-deploy-location-clear.yaml +0 -8
- package/testdata/parity/edge-workers-deploy-location-preserve.yaml +0 -8
- package/testdata/parity/edge-workers-deploy-location-replace.yaml +0 -8
- package/testdata/parity/edge-workers-deploy-name-all.yaml +0 -8
- package/testdata/parity/edge-workers-deploy-production-refused.yaml +0 -8
- package/testdata/parity/edge-workers-deploy-production-skip.yaml +0 -8
- package/testdata/parity/edge-workers-deploy-skip-source-create.yaml +0 -8
- package/testdata/parity/edge-workers-deploy-skip-source.yaml +0 -8
- package/testdata/parity/edge-workers-deploy-skip-validate.yaml +0 -8
- package/testdata/parity/edge-workers-deploy-source-empty.yaml +0 -8
- package/testdata/parity/edge-workers-deploy-upload-failure.yaml +0 -8
- package/testdata/parity/edge-workers-disable.yaml +0 -8
- package/testdata/parity/edge-workers-double-dash.yaml +0 -8
- package/testdata/parity/edge-workers-duplicate-names.yaml +0 -8
- package/testdata/parity/edge-workers-enable-production-refused.yaml +0 -8
- package/testdata/parity/edge-workers-enable.yaml +0 -8
- package/testdata/parity/edge-workers-entry-escape.yaml +0 -8
- package/testdata/parity/edge-workers-get-empty-source.yaml +0 -8
- package/testdata/parity/edge-workers-get-missing.yaml +0 -8
- package/testdata/parity/edge-workers-get-no-source.yaml +0 -8
- package/testdata/parity/edge-workers-get-source.yaml +0 -8
- package/testdata/parity/edge-workers-get.yaml +0 -8
- package/testdata/parity/edge-workers-init-invalid-type.yaml +0 -8
- package/testdata/parity/edge-workers-init-nonempty.yaml +0 -8
- package/testdata/parity/edge-workers-init.yaml +0 -8
- package/testdata/parity/edge-workers-json-control-name.yaml +0 -8
- package/testdata/parity/edge-workers-list-csv.yaml +0 -8
- package/testdata/parity/edge-workers-list-empty-json.yaml +0 -8
- package/testdata/parity/edge-workers-list-empty.yaml +0 -8
- package/testdata/parity/edge-workers-list-json.yaml +0 -8
- package/testdata/parity/edge-workers-list-table.yaml +0 -8
- package/testdata/parity/edge-workers-mutation-graphql-error.yaml +0 -8
- package/testdata/parity/edge-workers-mutation-null.yaml +0 -8
- package/testdata/parity/edge-workers-new-invalid-location.yaml +0 -8
- package/testdata/parity/edge-workers-new-invalid-name.yaml +0 -8
- package/testdata/parity/edge-workers-new-location.yaml +0 -8
- package/testdata/parity/edge-workers-new.yaml +0 -8
- package/testdata/parity/edge-workers-read-null.yaml +0 -8
- package/testdata/parity/edge-workers-repeated-path.yaml +0 -8
- package/testdata/parity/edge-workers-repeated-type.yaml +0 -8
- package/testdata/parity/edge-workers-short-equals.yaml +0 -8
- package/testdata/parity/edge-workers-table-control-name.yaml +0 -8
- package/testdata/parity/edge-workers-unicode-order.yaml +0 -8
- package/testdata/parity/edge-workers-validate-all.yaml +0 -8
- package/testdata/parity/edge-workers-validate-invalid.yaml +0 -8
- package/testdata/parity/edge-workers-validate-name-all.yaml +0 -8
- package/testdata/parity/edge-workers-validate-no-artifact.yaml +0 -8
- package/testdata/parity/edge-workers-validate-no-name.yaml +0 -8
- package/testdata/parity/edge-workers-validate-null.yaml +0 -8
- package/testdata/parity/edge-workers-validate.yaml +0 -8
- package/testdata/parity/envvar-delete-baseline.yaml +0 -19
- package/testdata/parity/envvar-delete-prod-cancel.yaml +0 -41
- package/testdata/parity/envvar-delete-typed-mismatch.yaml +0 -44
- package/testdata/parity/envvar-get-baseline.yaml +0 -14
- package/testdata/parity/envvar-get-lowercase-input.yaml +0 -14
- package/testdata/parity/envvar-get-named-help.yaml +0 -24
- package/testdata/parity/envvar-get-not-found.yaml +0 -17
- package/testdata/parity/envvar-getall-baseline.yaml +0 -14
- package/testdata/parity/envvar-getall-empty.yaml +0 -15
- package/testdata/parity/envvar-getall-keyvalue.yaml +0 -22
- package/testdata/parity/envvar-list-baseline.yaml +0 -15
- package/testdata/parity/envvar-list-empty.yaml +0 -15
- package/testdata/parity/envvar-list-ids.yaml +0 -14
- package/testdata/parity/envvar-list-json.yaml +0 -14
- package/testdata/parity/envvar-list-keyvalue.yaml +0 -22
- package/testdata/parity/envvar-set-baseline.yaml +0 -21
- package/testdata/parity/envvar-set-invalid-name.yaml +0 -20
- package/testdata/parity/envvar-set-newrelic-blocked.yaml +0 -21
- package/testdata/parity/envvar-set-prod-cancel.yaml +0 -42
- package/testdata/parity/envvar-set-prod-confirm-skipped.yaml +0 -20
- package/testdata/parity/export-sql-completed.yaml +0 -14
- package/testdata/parity/export-sql-config-conflict.yaml +0 -21
- package/testdata/parity/export-sql-help.yaml +0 -11
- package/testdata/parity/import-media-abort-noninteractive.yaml +0 -19
- package/testdata/parity/import-media-help.yaml +0 -12
- package/testdata/parity/import-media-invalid-archive.yaml +0 -18
- package/testdata/parity/import-media-status-completed.yaml +0 -19
- package/testdata/parity/import-media-status-failed.yaml +0 -18
- package/testdata/parity/import-media-url-completed.yaml +0 -18
- package/testdata/parity/import-sql-bad-extension.yaml +0 -26
- package/testdata/parity/import-sql-help.yaml +0 -12
- package/testdata/parity/import-sql-in-progress.yaml +0 -26
- package/testdata/parity/import-sql-invalid-md5.yaml +0 -27
- package/testdata/parity/import-sql-noninteractive-abort.yaml +0 -20
- package/testdata/parity/import-sql-status-completed.yaml +0 -17
- package/testdata/parity/import-sql-status-no-job.yaml +0 -17
- package/testdata/parity/import-sql-validation-failure.yaml +0 -18
- package/testdata/parity/import-validate-files-clean.yaml +0 -18
- package/testdata/parity/import-validate-files-not-dir.yaml +0 -16
- package/testdata/parity/import-validate-sql-clean.yaml +0 -23
- package/testdata/parity/import-validate-sql-dangerous-stmt.yaml +0 -27
- package/testdata/parity/import-validate-sql-multisite-warn.yaml +0 -23
- package/testdata/parity/logs-baseline.yaml +0 -24
- package/testdata/parity/logs-batch.yaml +0 -24
- package/testdata/parity/logs-empty.yaml +0 -15
- package/testdata/parity/logs-format-json.yaml +0 -15
- package/testdata/parity/logs-limit-100.yaml +0 -24
- package/testdata/parity/phpmyadmin-error.yaml +0 -24
- package/testdata/parity/phpmyadmin-print.yaml +0 -22
- package/testdata/parity/phpmyadmin-silent.yaml +0 -16
- package/testdata/parity/recordings/app-get-baseline/app.json +0 -11
- package/testdata/parity/recordings/app-get-custom-deploy/app.json +0 -8
- package/testdata/parity/recordings/app-get-json/app.json +0 -11
- package/testdata/parity/recordings/app-get-not-found/app.json +0 -1
- package/testdata/parity/recordings/app-list-baseline/apps.json +0 -1
- package/testdata/parity/recordings/app-list-csv/apps.json +0 -1
- package/testdata/parity/recordings/app-list-empty/apps.json +0 -1
- package/testdata/parity/recordings/app-list-json/apps.json +0 -1
- package/testdata/parity/recordings/backup-db-already-in-progress/backup-status-1.json +0 -1
- package/testdata/parity/recordings/backup-db-already-in-progress/backup-status-2.json +0 -1
- package/testdata/parity/recordings/backup-db-completed/backup-status-1.json +0 -1
- package/testdata/parity/recordings/backup-db-completed/backup-status-2.json +0 -1
- package/testdata/parity/recordings/backup-db-completed/backup-status-3.json +0 -1
- package/testdata/parity/recordings/cache-purge-url-empty/resolve-app.json +0 -1
- package/testdata/parity/recordings/cache-purge-url-from-file/purge.json +0 -1
- package/testdata/parity/recordings/cache-purge-url-from-file/resolve-app.json +0 -1
- package/testdata/parity/recordings/cache-purge-url-from-file/urls.txt +0 -2
- package/testdata/parity/recordings/cache-purge-url-multi/purge.json +0 -1
- package/testdata/parity/recordings/cache-purge-url-multi/resolve-app.json +0 -1
- package/testdata/parity/recordings/cache-purge-url-single/purge.json +0 -1
- package/testdata/parity/recordings/cache-purge-url-single/resolve-app.json +0 -1
- package/testdata/parity/recordings/config-software-get/resolve-app.json +0 -1
- package/testdata/parity/recordings/config-software-update/resolve-app.json +0 -1
- package/testdata/parity/recordings/defensive-mode-enable-rechallenge/mutation-elevated.json +0 -1
- package/testdata/parity/recordings/defensive-mode-enable-rechallenge/mutation-success.json +0 -1
- package/testdata/parity/recordings/defensive-mode-enable-rechallenge/parker-create-session.json +0 -1
- package/testdata/parity/recordings/defensive-mode-enable-rechallenge/parker-exchange.json +0 -1
- package/testdata/parity/recordings/defensive-mode-enable-rechallenge/parker-status-verified.json +0 -1
- package/testdata/parity/recordings/envvar-delete-baseline/delete.json +0 -1
- package/testdata/parity/recordings/envvar-delete-baseline/resolve-app.json +0 -1
- package/testdata/parity/recordings/envvar-delete-prod-cancel/resolve-app.json +0 -1
- package/testdata/parity/recordings/envvar-delete-typed-mismatch/resolve-app.json +0 -1
- package/testdata/parity/recordings/envvar-get-baseline/envvars.json +0 -1
- package/testdata/parity/recordings/envvar-get-baseline/resolve-app.json +0 -1
- package/testdata/parity/recordings/envvar-get-lowercase-input/envvars.json +0 -1
- package/testdata/parity/recordings/envvar-get-lowercase-input/resolve-app.json +0 -1
- package/testdata/parity/recordings/envvar-get-named-help/envvars.json +0 -1
- package/testdata/parity/recordings/envvar-get-named-help/resolve-app.json +0 -1
- package/testdata/parity/recordings/envvar-get-not-found/envvars.json +0 -1
- package/testdata/parity/recordings/envvar-get-not-found/resolve-app.json +0 -1
- package/testdata/parity/recordings/envvar-getall-baseline/envvars.json +0 -1
- package/testdata/parity/recordings/envvar-getall-baseline/resolve-app.json +0 -1
- package/testdata/parity/recordings/envvar-getall-empty/envvars.json +0 -1
- package/testdata/parity/recordings/envvar-getall-empty/resolve-app.json +0 -1
- package/testdata/parity/recordings/envvar-getall-keyvalue/envvars.json +0 -1
- package/testdata/parity/recordings/envvar-getall-keyvalue/resolve-app.json +0 -1
- package/testdata/parity/recordings/envvar-list-baseline/envvars.json +0 -1
- package/testdata/parity/recordings/envvar-list-baseline/resolve-app.json +0 -1
- package/testdata/parity/recordings/envvar-list-empty/envvars.json +0 -1
- package/testdata/parity/recordings/envvar-list-empty/resolve-app.json +0 -1
- package/testdata/parity/recordings/envvar-list-ids/envvars.json +0 -1
- package/testdata/parity/recordings/envvar-list-ids/resolve-app.json +0 -1
- package/testdata/parity/recordings/envvar-list-json/envvars.json +0 -1
- package/testdata/parity/recordings/envvar-list-json/resolve-app.json +0 -1
- package/testdata/parity/recordings/envvar-list-keyvalue/envvars.json +0 -1
- package/testdata/parity/recordings/envvar-list-keyvalue/resolve-app.json +0 -1
- package/testdata/parity/recordings/envvar-set-baseline/add.json +0 -1
- package/testdata/parity/recordings/envvar-set-baseline/resolve-app.json +0 -1
- package/testdata/parity/recordings/envvar-set-baseline/value.txt +0 -1
- package/testdata/parity/recordings/envvar-set-invalid-name/resolve-app.json +0 -1
- package/testdata/parity/recordings/envvar-set-invalid-name/value.txt +0 -1
- package/testdata/parity/recordings/envvar-set-newrelic-blocked/resolve-app.json +0 -1
- package/testdata/parity/recordings/envvar-set-newrelic-blocked/value.txt +0 -1
- package/testdata/parity/recordings/envvar-set-prod-cancel/resolve-app.json +0 -1
- package/testdata/parity/recordings/envvar-set-prod-cancel/value.txt +0 -1
- package/testdata/parity/recordings/envvar-set-prod-confirm-skipped/add.json +0 -1
- package/testdata/parity/recordings/envvar-set-prod-confirm-skipped/resolve-app.json +0 -1
- package/testdata/parity/recordings/envvar-set-prod-confirm-skipped/value.txt +0 -1
- package/testdata/parity/recordings/export-sql-completed/export-status-1.json +0 -1
- package/testdata/parity/recordings/export-sql-completed/export-status-2.json +0 -1
- package/testdata/parity/recordings/import-media-invalid-archive/file.sql +0 -1
- package/testdata/parity/recordings/import-media-shared/abort-media-import.json +0 -1
- package/testdata/parity/recordings/import-media-shared/env-info.json +0 -1
- package/testdata/parity/recordings/import-media-shared/resolve-app.json +0 -1
- package/testdata/parity/recordings/import-media-shared/start-media-import.json +0 -1
- package/testdata/parity/recordings/import-media-status-completed/progress.json +0 -1
- package/testdata/parity/recordings/import-media-status-failed/progress.json +0 -1
- package/testdata/parity/recordings/import-media-url-completed/progress.json +0 -1
- package/testdata/parity/recordings/import-sql-bad-extension/file.txt +0 -1
- package/testdata/parity/recordings/import-sql-in-progress/env-info.json +0 -1
- package/testdata/parity/recordings/import-sql-in-progress/resolve-app.json +0 -1
- package/testdata/parity/recordings/import-sql-noninteractive-abort/clean.sql +0 -5
- package/testdata/parity/recordings/import-sql-shared/env-info.json +0 -1
- package/testdata/parity/recordings/import-sql-shared/multisite.json +0 -1
- package/testdata/parity/recordings/import-sql-shared/resolve-app.json +0 -1
- package/testdata/parity/recordings/import-sql-status-completed/progress.json +0 -1
- package/testdata/parity/recordings/import-sql-status-no-job/progress.json +0 -1
- package/testdata/parity/recordings/import-sql-validation-failure/dirty.sql +0 -6
- package/testdata/parity/recordings/import-validate-files-clean/config.json +0 -1
- package/testdata/parity/recordings/import-validate-files-clean/uploads/2020/06/a.jpg +0 -1
- package/testdata/parity/recordings/import-validate-files-clean/uploads/2020/06/b.png +0 -1
- package/testdata/parity/recordings/import-validate-sql-clean/clean.sql +0 -17
- package/testdata/parity/recordings/import-validate-sql-dangerous-stmt/dangerous.sql +0 -11
- package/testdata/parity/recordings/import-validate-sql-multisite-warn/multisite.sql +0 -12
- package/testdata/parity/recordings/logs-baseline/logs.json +0 -1
- package/testdata/parity/recordings/logs-baseline/resolve-app.json +0 -1
- package/testdata/parity/recordings/logs-batch/logs.json +0 -1
- package/testdata/parity/recordings/logs-batch/resolve-app.json +0 -1
- package/testdata/parity/recordings/logs-empty/logs.json +0 -1
- package/testdata/parity/recordings/logs-empty/resolve-app.json +0 -1
- package/testdata/parity/recordings/logs-format-json/logs.json +0 -1
- package/testdata/parity/recordings/logs-format-json/resolve-app.json +0 -1
- package/testdata/parity/recordings/logs-limit-100/logs.json +0 -1
- package/testdata/parity/recordings/logs-limit-100/resolve-app.json +0 -1
- package/testdata/parity/recordings/m7c-shared/resolve-app.json +0 -1
- package/testdata/parity/recordings/phpmyadmin-error/enable.json +0 -1
- package/testdata/parity/recordings/phpmyadmin-error/resolve-app.json +0 -1
- package/testdata/parity/recordings/phpmyadmin-print/enable.json +0 -1
- package/testdata/parity/recordings/phpmyadmin-print/generate.json +0 -1
- package/testdata/parity/recordings/phpmyadmin-print/resolve-app.json +0 -1
- package/testdata/parity/recordings/phpmyadmin-print/status.json +0 -1
- package/testdata/parity/recordings/phpmyadmin-silent/enable.json +0 -1
- package/testdata/parity/recordings/phpmyadmin-silent/generate.json +0 -1
- package/testdata/parity/recordings/phpmyadmin-silent/resolve-app.json +0 -1
- package/testdata/parity/recordings/phpmyadmin-silent/status.json +0 -1
- package/testdata/parity/recordings/slowlogs-baseline/resolve-app.json +0 -1
- package/testdata/parity/recordings/slowlogs-baseline/slowlogs.json +0 -1
- package/testdata/parity/recordings/slowlogs-csv/resolve-app.json +0 -1
- package/testdata/parity/recordings/slowlogs-csv/slowlogs.json +0 -1
- package/testdata/parity/recordings/slowlogs-empty/resolve-app.json +0 -1
- package/testdata/parity/recordings/slowlogs-empty/slowlogs.json +0 -1
- package/testdata/parity/recordings/slowlogs-limit-50/resolve-app.json +0 -1
- package/testdata/parity/recordings/slowlogs-limit-50/slowlogs.json +0 -1
- package/testdata/parity/recordings/sync-already-syncing/resolve-app.json +0 -1
- package/testdata/parity/recordings/sync-already-syncing/sync-start.json +0 -1
- package/testdata/parity/recordings/sync-already-syncing/sync-status-1.json +0 -1
- package/testdata/parity/recordings/sync-already-syncing/sync-status-2.json +0 -1
- package/testdata/parity/recordings/sync-baseline/resolve-app.json +0 -1
- package/testdata/parity/recordings/sync-baseline/sync-start.json +0 -1
- package/testdata/parity/recordings/sync-baseline/sync-status-1.json +0 -1
- package/testdata/parity/recordings/sync-baseline/sync-status-2.json +0 -1
- package/testdata/parity/recordings/whoami-baseline/me-response.json +0 -1
- package/testdata/parity/recordings/wp-nodejs-rejected/resolve-app.json +0 -1
- package/testdata/parity/recordings/wp-production-confirm-decline/resolve-app.json +0 -1
- package/testdata/parity/recordings/wp-ssh-happy/resolve-app.json +0 -1
- package/testdata/parity/recordings/wp-websocket-redirect/resolve-app.json +0 -1
- package/testdata/parity/slowlogs-baseline.yaml +0 -18
- package/testdata/parity/slowlogs-csv.yaml +0 -16
- package/testdata/parity/slowlogs-empty.yaml +0 -17
- package/testdata/parity/slowlogs-limit-50.yaml +0 -16
- package/testdata/parity/sync-already-syncing.yaml +0 -20
- package/testdata/parity/sync-baseline.yaml +0 -19
- package/testdata/parity/version-smoke.yaml +0 -14
- package/testdata/parity/whoami-baseline.yaml +0 -14
- package/testdata/parity/wp-help.yaml +0 -12
- package/testdata/parity/wp-nodejs-rejected.yaml +0 -13
- package/testdata/parity/wp-production-confirm-decline.yaml +0 -14
- package/testdata/parity/wp-ssh-happy.yaml +0 -15
- package/testdata/parity/wp-websocket-redirect.yaml +0 -14
- package/testdata/parity-local/app-get-csv.yaml +0 -8
- package/testdata/parity-local/app-get-json.yaml +0 -8
- package/testdata/parity-local/app-get-table.yaml +0 -8
- package/testdata/parity-local/app-list-csv.yaml +0 -8
- package/testdata/parity-local/app-list-json.yaml +0 -8
- package/testdata/parity-local/app-list-table.yaml +0 -8
- package/testdata/parity-local/edge-workers/basic/edge-workers.json +0 -1
- package/testdata/parity-local/edge-workers/basic/workers/headers/assembly/index.ts +0 -1
- package/testdata/parity-local/edge-workers/basic/workers/headers/worker.json +0 -1
- package/testdata/parity-local/edge-workers/two-workers/edge-workers.json +0 -1
- package/testdata/parity-local/edge-workers/two-workers/workers/a/assembly/index.ts +0 -1
- package/testdata/parity-local/edge-workers/two-workers/workers/a/worker.json +0 -1
- package/testdata/parity-local/edge-workers/two-workers/workers/b/assembly/index.ts +0 -1
- package/testdata/parity-local/edge-workers/two-workers/workers/b/worker.json +0 -1
- package/testdata/parity-local/envvar-list-csv.yaml +0 -8
- package/testdata/parity-local/envvar-list-ids.yaml +0 -8
- package/testdata/parity-local/envvar-list-json.yaml +0 -8
- package/testdata/parity-local/envvar-list-keyvalue.yaml +0 -8
- package/testdata/parity-local/envvar-list-table.yaml +0 -8
- package/testdata/parity-local/software-get-csv.yaml +0 -8
- package/testdata/parity-local/software-get-json.yaml +0 -8
- package/testdata/parity-local/software-get-table.yaml +0 -8
- package/testdata/parity-local/whoami.yaml +0 -8
- package/testdata/update-fixture/main.go +0 -62
- package/third_party/go-search-replace/MANIFEST +0 -33
- package/tsconfig.json +0 -25
- /package/node_modules/lando/node_modules/{wrap-ansi → ansi-regex}/license +0 -0
|
@@ -1,254 +0,0 @@
|
|
|
1
|
-
A. HISTORY OF THE SOFTWARE
|
|
2
|
-
==========================
|
|
3
|
-
|
|
4
|
-
Python was created in the early 1990s by Guido van Rossum at Stichting
|
|
5
|
-
Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands
|
|
6
|
-
as a successor of a language called ABC. Guido remains Python's
|
|
7
|
-
principal author, although it includes many contributions from others.
|
|
8
|
-
|
|
9
|
-
In 1995, Guido continued his work on Python at the Corporation for
|
|
10
|
-
National Research Initiatives (CNRI, see http://www.cnri.reston.va.us)
|
|
11
|
-
in Reston, Virginia where he released several versions of the
|
|
12
|
-
software.
|
|
13
|
-
|
|
14
|
-
In May 2000, Guido and the Python core development team moved to
|
|
15
|
-
BeOpen.com to form the BeOpen PythonLabs team. In October of the same
|
|
16
|
-
year, the PythonLabs team moved to Digital Creations, which became
|
|
17
|
-
Zope Corporation. In 2001, the Python Software Foundation (PSF, see
|
|
18
|
-
https://www.python.org/psf/) was formed, a non-profit organization
|
|
19
|
-
created specifically to own Python-related Intellectual Property.
|
|
20
|
-
Zope Corporation was a sponsoring member of the PSF.
|
|
21
|
-
|
|
22
|
-
All Python releases are Open Source (see http://www.opensource.org for
|
|
23
|
-
the Open Source Definition). Historically, most, but not all, Python
|
|
24
|
-
releases have also been GPL-compatible; the table below summarizes
|
|
25
|
-
the various releases.
|
|
26
|
-
|
|
27
|
-
Release Derived Year Owner GPL-
|
|
28
|
-
from compatible? (1)
|
|
29
|
-
|
|
30
|
-
0.9.0 thru 1.2 1991-1995 CWI yes
|
|
31
|
-
1.3 thru 1.5.2 1.2 1995-1999 CNRI yes
|
|
32
|
-
1.6 1.5.2 2000 CNRI no
|
|
33
|
-
2.0 1.6 2000 BeOpen.com no
|
|
34
|
-
1.6.1 1.6 2001 CNRI yes (2)
|
|
35
|
-
2.1 2.0+1.6.1 2001 PSF no
|
|
36
|
-
2.0.1 2.0+1.6.1 2001 PSF yes
|
|
37
|
-
2.1.1 2.1+2.0.1 2001 PSF yes
|
|
38
|
-
2.1.2 2.1.1 2002 PSF yes
|
|
39
|
-
2.1.3 2.1.2 2002 PSF yes
|
|
40
|
-
2.2 and above 2.1.1 2001-now PSF yes
|
|
41
|
-
|
|
42
|
-
Footnotes:
|
|
43
|
-
|
|
44
|
-
(1) GPL-compatible doesn't mean that we're distributing Python under
|
|
45
|
-
the GPL. All Python licenses, unlike the GPL, let you distribute
|
|
46
|
-
a modified version without making your changes open source. The
|
|
47
|
-
GPL-compatible licenses make it possible to combine Python with
|
|
48
|
-
other software that is released under the GPL; the others don't.
|
|
49
|
-
|
|
50
|
-
(2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
|
|
51
|
-
because its license has a choice of law clause. According to
|
|
52
|
-
CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
|
|
53
|
-
is "not incompatible" with the GPL.
|
|
54
|
-
|
|
55
|
-
Thanks to the many outside volunteers who have worked under Guido's
|
|
56
|
-
direction to make these releases possible.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
|
|
60
|
-
===============================================================
|
|
61
|
-
|
|
62
|
-
PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
|
|
63
|
-
--------------------------------------------
|
|
64
|
-
|
|
65
|
-
1. This LICENSE AGREEMENT is between the Python Software Foundation
|
|
66
|
-
("PSF"), and the Individual or Organization ("Licensee") accessing and
|
|
67
|
-
otherwise using this software ("Python") in source or binary form and
|
|
68
|
-
its associated documentation.
|
|
69
|
-
|
|
70
|
-
2. Subject to the terms and conditions of this License Agreement, PSF hereby
|
|
71
|
-
grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
|
|
72
|
-
analyze, test, perform and/or display publicly, prepare derivative works,
|
|
73
|
-
distribute, and otherwise use Python alone or in any derivative version,
|
|
74
|
-
provided, however, that PSF's License Agreement and PSF's notice of copyright,
|
|
75
|
-
i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
|
76
|
-
2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Python Software Foundation;
|
|
77
|
-
All Rights Reserved" are retained in Python alone or in any derivative version
|
|
78
|
-
prepared by Licensee.
|
|
79
|
-
|
|
80
|
-
3. In the event Licensee prepares a derivative work that is based on
|
|
81
|
-
or incorporates Python or any part thereof, and wants to make
|
|
82
|
-
the derivative work available to others as provided herein, then
|
|
83
|
-
Licensee hereby agrees to include in any such work a brief summary of
|
|
84
|
-
the changes made to Python.
|
|
85
|
-
|
|
86
|
-
4. PSF is making Python available to Licensee on an "AS IS"
|
|
87
|
-
basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
|
|
88
|
-
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
|
|
89
|
-
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
|
|
90
|
-
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
|
|
91
|
-
INFRINGE ANY THIRD PARTY RIGHTS.
|
|
92
|
-
|
|
93
|
-
5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
|
|
94
|
-
FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
|
|
95
|
-
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
|
|
96
|
-
OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
|
|
97
|
-
|
|
98
|
-
6. This License Agreement will automatically terminate upon a material
|
|
99
|
-
breach of its terms and conditions.
|
|
100
|
-
|
|
101
|
-
7. Nothing in this License Agreement shall be deemed to create any
|
|
102
|
-
relationship of agency, partnership, or joint venture between PSF and
|
|
103
|
-
Licensee. This License Agreement does not grant permission to use PSF
|
|
104
|
-
trademarks or trade name in a trademark sense to endorse or promote
|
|
105
|
-
products or services of Licensee, or any third party.
|
|
106
|
-
|
|
107
|
-
8. By copying, installing or otherwise using Python, Licensee
|
|
108
|
-
agrees to be bound by the terms and conditions of this License
|
|
109
|
-
Agreement.
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
|
|
113
|
-
-------------------------------------------
|
|
114
|
-
|
|
115
|
-
BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
|
|
116
|
-
|
|
117
|
-
1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
|
|
118
|
-
office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
|
|
119
|
-
Individual or Organization ("Licensee") accessing and otherwise using
|
|
120
|
-
this software in source or binary form and its associated
|
|
121
|
-
documentation ("the Software").
|
|
122
|
-
|
|
123
|
-
2. Subject to the terms and conditions of this BeOpen Python License
|
|
124
|
-
Agreement, BeOpen hereby grants Licensee a non-exclusive,
|
|
125
|
-
royalty-free, world-wide license to reproduce, analyze, test, perform
|
|
126
|
-
and/or display publicly, prepare derivative works, distribute, and
|
|
127
|
-
otherwise use the Software alone or in any derivative version,
|
|
128
|
-
provided, however, that the BeOpen Python License is retained in the
|
|
129
|
-
Software, alone or in any derivative version prepared by Licensee.
|
|
130
|
-
|
|
131
|
-
3. BeOpen is making the Software available to Licensee on an "AS IS"
|
|
132
|
-
basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
|
|
133
|
-
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
|
|
134
|
-
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
|
|
135
|
-
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
|
|
136
|
-
INFRINGE ANY THIRD PARTY RIGHTS.
|
|
137
|
-
|
|
138
|
-
4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
|
|
139
|
-
SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
|
|
140
|
-
AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
|
|
141
|
-
DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
|
|
142
|
-
|
|
143
|
-
5. This License Agreement will automatically terminate upon a material
|
|
144
|
-
breach of its terms and conditions.
|
|
145
|
-
|
|
146
|
-
6. This License Agreement shall be governed by and interpreted in all
|
|
147
|
-
respects by the law of the State of California, excluding conflict of
|
|
148
|
-
law provisions. Nothing in this License Agreement shall be deemed to
|
|
149
|
-
create any relationship of agency, partnership, or joint venture
|
|
150
|
-
between BeOpen and Licensee. This License Agreement does not grant
|
|
151
|
-
permission to use BeOpen trademarks or trade names in a trademark
|
|
152
|
-
sense to endorse or promote products or services of Licensee, or any
|
|
153
|
-
third party. As an exception, the "BeOpen Python" logos available at
|
|
154
|
-
http://www.pythonlabs.com/logos.html may be used according to the
|
|
155
|
-
permissions granted on that web page.
|
|
156
|
-
|
|
157
|
-
7. By copying, installing or otherwise using the software, Licensee
|
|
158
|
-
agrees to be bound by the terms and conditions of this License
|
|
159
|
-
Agreement.
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
|
|
163
|
-
---------------------------------------
|
|
164
|
-
|
|
165
|
-
1. This LICENSE AGREEMENT is between the Corporation for National
|
|
166
|
-
Research Initiatives, having an office at 1895 Preston White Drive,
|
|
167
|
-
Reston, VA 20191 ("CNRI"), and the Individual or Organization
|
|
168
|
-
("Licensee") accessing and otherwise using Python 1.6.1 software in
|
|
169
|
-
source or binary form and its associated documentation.
|
|
170
|
-
|
|
171
|
-
2. Subject to the terms and conditions of this License Agreement, CNRI
|
|
172
|
-
hereby grants Licensee a nonexclusive, royalty-free, world-wide
|
|
173
|
-
license to reproduce, analyze, test, perform and/or display publicly,
|
|
174
|
-
prepare derivative works, distribute, and otherwise use Python 1.6.1
|
|
175
|
-
alone or in any derivative version, provided, however, that CNRI's
|
|
176
|
-
License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
|
|
177
|
-
1995-2001 Corporation for National Research Initiatives; All Rights
|
|
178
|
-
Reserved" are retained in Python 1.6.1 alone or in any derivative
|
|
179
|
-
version prepared by Licensee. Alternately, in lieu of CNRI's License
|
|
180
|
-
Agreement, Licensee may substitute the following text (omitting the
|
|
181
|
-
quotes): "Python 1.6.1 is made available subject to the terms and
|
|
182
|
-
conditions in CNRI's License Agreement. This Agreement together with
|
|
183
|
-
Python 1.6.1 may be located on the Internet using the following
|
|
184
|
-
unique, persistent identifier (known as a handle): 1895.22/1013. This
|
|
185
|
-
Agreement may also be obtained from a proxy server on the Internet
|
|
186
|
-
using the following URL: http://hdl.handle.net/1895.22/1013".
|
|
187
|
-
|
|
188
|
-
3. In the event Licensee prepares a derivative work that is based on
|
|
189
|
-
or incorporates Python 1.6.1 or any part thereof, and wants to make
|
|
190
|
-
the derivative work available to others as provided herein, then
|
|
191
|
-
Licensee hereby agrees to include in any such work a brief summary of
|
|
192
|
-
the changes made to Python 1.6.1.
|
|
193
|
-
|
|
194
|
-
4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
|
|
195
|
-
basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
|
|
196
|
-
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
|
|
197
|
-
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
|
|
198
|
-
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
|
|
199
|
-
INFRINGE ANY THIRD PARTY RIGHTS.
|
|
200
|
-
|
|
201
|
-
5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
|
|
202
|
-
1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
|
|
203
|
-
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
|
|
204
|
-
OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
|
|
205
|
-
|
|
206
|
-
6. This License Agreement will automatically terminate upon a material
|
|
207
|
-
breach of its terms and conditions.
|
|
208
|
-
|
|
209
|
-
7. This License Agreement shall be governed by the federal
|
|
210
|
-
intellectual property law of the United States, including without
|
|
211
|
-
limitation the federal copyright law, and, to the extent such
|
|
212
|
-
U.S. federal law does not apply, by the law of the Commonwealth of
|
|
213
|
-
Virginia, excluding Virginia's conflict of law provisions.
|
|
214
|
-
Notwithstanding the foregoing, with regard to derivative works based
|
|
215
|
-
on Python 1.6.1 that incorporate non-separable material that was
|
|
216
|
-
previously distributed under the GNU General Public License (GPL), the
|
|
217
|
-
law of the Commonwealth of Virginia shall govern this License
|
|
218
|
-
Agreement only as to issues arising under or with respect to
|
|
219
|
-
Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this
|
|
220
|
-
License Agreement shall be deemed to create any relationship of
|
|
221
|
-
agency, partnership, or joint venture between CNRI and Licensee. This
|
|
222
|
-
License Agreement does not grant permission to use CNRI trademarks or
|
|
223
|
-
trade name in a trademark sense to endorse or promote products or
|
|
224
|
-
services of Licensee, or any third party.
|
|
225
|
-
|
|
226
|
-
8. By clicking on the "ACCEPT" button where indicated, or by copying,
|
|
227
|
-
installing or otherwise using Python 1.6.1, Licensee agrees to be
|
|
228
|
-
bound by the terms and conditions of this License Agreement.
|
|
229
|
-
|
|
230
|
-
ACCEPT
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
|
|
234
|
-
--------------------------------------------------
|
|
235
|
-
|
|
236
|
-
Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
|
|
237
|
-
The Netherlands. All rights reserved.
|
|
238
|
-
|
|
239
|
-
Permission to use, copy, modify, and distribute this software and its
|
|
240
|
-
documentation for any purpose and without fee is hereby granted,
|
|
241
|
-
provided that the above copyright notice appear in all copies and that
|
|
242
|
-
both that copyright notice and this permission notice appear in
|
|
243
|
-
supporting documentation, and that the name of Stichting Mathematisch
|
|
244
|
-
Centrum or CWI not be used in advertising or publicity pertaining to
|
|
245
|
-
distribution of the software without specific, written prior
|
|
246
|
-
permission.
|
|
247
|
-
|
|
248
|
-
STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
|
|
249
|
-
THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
250
|
-
FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
|
|
251
|
-
FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
252
|
-
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
253
|
-
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
|
|
254
|
-
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
argparse
|
|
2
|
-
========
|
|
3
|
-
|
|
4
|
-
[](http://travis-ci.org/nodeca/argparse)
|
|
5
|
-
[](https://www.npmjs.org/package/argparse)
|
|
6
|
-
|
|
7
|
-
CLI arguments parser for node.js, with [sub-commands](https://docs.python.org/3.9/library/argparse.html#sub-commands) support. Port of python's [argparse](http://docs.python.org/dev/library/argparse.html) (version [3.9.0](https://github.com/python/cpython/blob/v3.9.0rc1/Lib/argparse.py)).
|
|
8
|
-
|
|
9
|
-
**Difference with original.**
|
|
10
|
-
|
|
11
|
-
- JS has no keyword arguments support.
|
|
12
|
-
- Pass options instead: `new ArgumentParser({ description: 'example', add_help: true })`.
|
|
13
|
-
- JS has no python's types `int`, `float`, ...
|
|
14
|
-
- Use string-typed names: `.add_argument('-b', { type: 'int', help: 'help' })`.
|
|
15
|
-
- `%r` format specifier uses `require('util').inspect()`.
|
|
16
|
-
|
|
17
|
-
More details in [doc](./doc).
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Example
|
|
21
|
-
-------
|
|
22
|
-
|
|
23
|
-
`test.js` file:
|
|
24
|
-
|
|
25
|
-
```javascript
|
|
26
|
-
#!/usr/bin/env node
|
|
27
|
-
'use strict';
|
|
28
|
-
|
|
29
|
-
const { ArgumentParser } = require('argparse');
|
|
30
|
-
const { version } = require('./package.json');
|
|
31
|
-
|
|
32
|
-
const parser = new ArgumentParser({
|
|
33
|
-
description: 'Argparse example'
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
parser.add_argument('-v', '--version', { action: 'version', version });
|
|
37
|
-
parser.add_argument('-f', '--foo', { help: 'foo bar' });
|
|
38
|
-
parser.add_argument('-b', '--bar', { help: 'bar foo' });
|
|
39
|
-
parser.add_argument('--baz', { help: 'baz bar' });
|
|
40
|
-
|
|
41
|
-
console.dir(parser.parse_args());
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
Display help:
|
|
45
|
-
|
|
46
|
-
```
|
|
47
|
-
$ ./test.js -h
|
|
48
|
-
usage: test.js [-h] [-v] [-f FOO] [-b BAR] [--baz BAZ]
|
|
49
|
-
|
|
50
|
-
Argparse example
|
|
51
|
-
|
|
52
|
-
optional arguments:
|
|
53
|
-
-h, --help show this help message and exit
|
|
54
|
-
-v, --version show program's version number and exit
|
|
55
|
-
-f FOO, --foo FOO foo bar
|
|
56
|
-
-b BAR, --bar BAR bar foo
|
|
57
|
-
--baz BAZ baz bar
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
Parse arguments:
|
|
61
|
-
|
|
62
|
-
```
|
|
63
|
-
$ ./test.js -f=3 --bar=4 --baz 5
|
|
64
|
-
{ foo: '3', bar: '4', baz: '5' }
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
API docs
|
|
69
|
-
--------
|
|
70
|
-
|
|
71
|
-
Since this is a port with minimal divergence, there's no separate documentation.
|
|
72
|
-
Use original one instead, with notes about difference.
|
|
73
|
-
|
|
74
|
-
1. [Original doc](https://docs.python.org/3.9/library/argparse.html).
|
|
75
|
-
2. [Original tutorial](https://docs.python.org/3.9/howto/argparse.html).
|
|
76
|
-
3. [Difference with python](./doc).
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
argparse for enterprise
|
|
80
|
-
-----------------------
|
|
81
|
-
|
|
82
|
-
Available as part of the Tidelift Subscription
|
|
83
|
-
|
|
84
|
-
The maintainers of argparse and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-argparse?utm_source=npm-argparse&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "argparse",
|
|
3
|
-
"description": "CLI arguments parser. Native port of python's argparse.",
|
|
4
|
-
"version": "2.0.1",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"cli",
|
|
7
|
-
"parser",
|
|
8
|
-
"argparse",
|
|
9
|
-
"option",
|
|
10
|
-
"args"
|
|
11
|
-
],
|
|
12
|
-
"main": "argparse.js",
|
|
13
|
-
"files": [
|
|
14
|
-
"argparse.js",
|
|
15
|
-
"lib/"
|
|
16
|
-
],
|
|
17
|
-
"license": "Python-2.0",
|
|
18
|
-
"repository": "nodeca/argparse",
|
|
19
|
-
"scripts": {
|
|
20
|
-
"lint": "eslint .",
|
|
21
|
-
"test": "npm run lint && nyc mocha",
|
|
22
|
-
"coverage": "npm run test && nyc report --reporter html"
|
|
23
|
-
},
|
|
24
|
-
"devDependencies": {
|
|
25
|
-
"@babel/eslint-parser": "^7.11.0",
|
|
26
|
-
"@babel/plugin-syntax-class-properties": "^7.10.4",
|
|
27
|
-
"eslint": "^7.5.0",
|
|
28
|
-
"mocha": "^8.0.1",
|
|
29
|
-
"nyc": "^15.1.0"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,302 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const align = {
|
|
4
|
-
right: alignRight,
|
|
5
|
-
center: alignCenter
|
|
6
|
-
};
|
|
7
|
-
const top = 0;
|
|
8
|
-
const right = 1;
|
|
9
|
-
const bottom = 2;
|
|
10
|
-
const left = 3;
|
|
11
|
-
class UI {
|
|
12
|
-
constructor(opts) {
|
|
13
|
-
var _a;
|
|
14
|
-
this.width = opts.width;
|
|
15
|
-
this.wrap = (_a = opts.wrap) !== null && _a !== void 0 ? _a : true;
|
|
16
|
-
this.rows = [];
|
|
17
|
-
}
|
|
18
|
-
span(...args) {
|
|
19
|
-
const cols = this.div(...args);
|
|
20
|
-
cols.span = true;
|
|
21
|
-
}
|
|
22
|
-
resetOutput() {
|
|
23
|
-
this.rows = [];
|
|
24
|
-
}
|
|
25
|
-
div(...args) {
|
|
26
|
-
if (args.length === 0) {
|
|
27
|
-
this.div('');
|
|
28
|
-
}
|
|
29
|
-
if (this.wrap && this.shouldApplyLayoutDSL(...args) && typeof args[0] === 'string') {
|
|
30
|
-
return this.applyLayoutDSL(args[0]);
|
|
31
|
-
}
|
|
32
|
-
const cols = args.map(arg => {
|
|
33
|
-
if (typeof arg === 'string') {
|
|
34
|
-
return this.colFromString(arg);
|
|
35
|
-
}
|
|
36
|
-
return arg;
|
|
37
|
-
});
|
|
38
|
-
this.rows.push(cols);
|
|
39
|
-
return cols;
|
|
40
|
-
}
|
|
41
|
-
shouldApplyLayoutDSL(...args) {
|
|
42
|
-
return args.length === 1 && typeof args[0] === 'string' &&
|
|
43
|
-
/[\t\n]/.test(args[0]);
|
|
44
|
-
}
|
|
45
|
-
applyLayoutDSL(str) {
|
|
46
|
-
const rows = str.split('\n').map(row => row.split('\t'));
|
|
47
|
-
let leftColumnWidth = 0;
|
|
48
|
-
// simple heuristic for layout, make sure the
|
|
49
|
-
// second column lines up along the left-hand.
|
|
50
|
-
// don't allow the first column to take up more
|
|
51
|
-
// than 50% of the screen.
|
|
52
|
-
rows.forEach(columns => {
|
|
53
|
-
if (columns.length > 1 && mixin.stringWidth(columns[0]) > leftColumnWidth) {
|
|
54
|
-
leftColumnWidth = Math.min(Math.floor(this.width * 0.5), mixin.stringWidth(columns[0]));
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
// generate a table:
|
|
58
|
-
// replacing ' ' with padding calculations.
|
|
59
|
-
// using the algorithmically generated width.
|
|
60
|
-
rows.forEach(columns => {
|
|
61
|
-
this.div(...columns.map((r, i) => {
|
|
62
|
-
return {
|
|
63
|
-
text: r.trim(),
|
|
64
|
-
padding: this.measurePadding(r),
|
|
65
|
-
width: (i === 0 && columns.length > 1) ? leftColumnWidth : undefined
|
|
66
|
-
};
|
|
67
|
-
}));
|
|
68
|
-
});
|
|
69
|
-
return this.rows[this.rows.length - 1];
|
|
70
|
-
}
|
|
71
|
-
colFromString(text) {
|
|
72
|
-
return {
|
|
73
|
-
text,
|
|
74
|
-
padding: this.measurePadding(text)
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
measurePadding(str) {
|
|
78
|
-
// measure padding without ansi escape codes
|
|
79
|
-
const noAnsi = mixin.stripAnsi(str);
|
|
80
|
-
return [0, noAnsi.match(/\s*$/)[0].length, 0, noAnsi.match(/^\s*/)[0].length];
|
|
81
|
-
}
|
|
82
|
-
toString() {
|
|
83
|
-
const lines = [];
|
|
84
|
-
this.rows.forEach(row => {
|
|
85
|
-
this.rowToString(row, lines);
|
|
86
|
-
});
|
|
87
|
-
// don't display any lines with the
|
|
88
|
-
// hidden flag set.
|
|
89
|
-
return lines
|
|
90
|
-
.filter(line => !line.hidden)
|
|
91
|
-
.map(line => line.text)
|
|
92
|
-
.join('\n');
|
|
93
|
-
}
|
|
94
|
-
rowToString(row, lines) {
|
|
95
|
-
this.rasterize(row).forEach((rrow, r) => {
|
|
96
|
-
let str = '';
|
|
97
|
-
rrow.forEach((col, c) => {
|
|
98
|
-
const { width } = row[c]; // the width with padding.
|
|
99
|
-
const wrapWidth = this.negatePadding(row[c]); // the width without padding.
|
|
100
|
-
let ts = col; // temporary string used during alignment/padding.
|
|
101
|
-
if (wrapWidth > mixin.stringWidth(col)) {
|
|
102
|
-
ts += ' '.repeat(wrapWidth - mixin.stringWidth(col));
|
|
103
|
-
}
|
|
104
|
-
// align the string within its column.
|
|
105
|
-
if (row[c].align && row[c].align !== 'left' && this.wrap) {
|
|
106
|
-
const fn = align[row[c].align];
|
|
107
|
-
ts = fn(ts, wrapWidth);
|
|
108
|
-
if (mixin.stringWidth(ts) < wrapWidth) {
|
|
109
|
-
ts += ' '.repeat((width || 0) - mixin.stringWidth(ts) - 1);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
// apply border and padding to string.
|
|
113
|
-
const padding = row[c].padding || [0, 0, 0, 0];
|
|
114
|
-
if (padding[left]) {
|
|
115
|
-
str += ' '.repeat(padding[left]);
|
|
116
|
-
}
|
|
117
|
-
str += addBorder(row[c], ts, '| ');
|
|
118
|
-
str += ts;
|
|
119
|
-
str += addBorder(row[c], ts, ' |');
|
|
120
|
-
if (padding[right]) {
|
|
121
|
-
str += ' '.repeat(padding[right]);
|
|
122
|
-
}
|
|
123
|
-
// if prior row is span, try to render the
|
|
124
|
-
// current row on the prior line.
|
|
125
|
-
if (r === 0 && lines.length > 0) {
|
|
126
|
-
str = this.renderInline(str, lines[lines.length - 1]);
|
|
127
|
-
}
|
|
128
|
-
});
|
|
129
|
-
// remove trailing whitespace.
|
|
130
|
-
lines.push({
|
|
131
|
-
text: str.replace(/ +$/, ''),
|
|
132
|
-
span: row.span
|
|
133
|
-
});
|
|
134
|
-
});
|
|
135
|
-
return lines;
|
|
136
|
-
}
|
|
137
|
-
// if the full 'source' can render in
|
|
138
|
-
// the target line, do so.
|
|
139
|
-
renderInline(source, previousLine) {
|
|
140
|
-
const match = source.match(/^ */);
|
|
141
|
-
const leadingWhitespace = match ? match[0].length : 0;
|
|
142
|
-
const target = previousLine.text;
|
|
143
|
-
const targetTextWidth = mixin.stringWidth(target.trimRight());
|
|
144
|
-
if (!previousLine.span) {
|
|
145
|
-
return source;
|
|
146
|
-
}
|
|
147
|
-
// if we're not applying wrapping logic,
|
|
148
|
-
// just always append to the span.
|
|
149
|
-
if (!this.wrap) {
|
|
150
|
-
previousLine.hidden = true;
|
|
151
|
-
return target + source;
|
|
152
|
-
}
|
|
153
|
-
if (leadingWhitespace < targetTextWidth) {
|
|
154
|
-
return source;
|
|
155
|
-
}
|
|
156
|
-
previousLine.hidden = true;
|
|
157
|
-
return target.trimRight() + ' '.repeat(leadingWhitespace - targetTextWidth) + source.trimLeft();
|
|
158
|
-
}
|
|
159
|
-
rasterize(row) {
|
|
160
|
-
const rrows = [];
|
|
161
|
-
const widths = this.columnWidths(row);
|
|
162
|
-
let wrapped;
|
|
163
|
-
// word wrap all columns, and create
|
|
164
|
-
// a data-structure that is easy to rasterize.
|
|
165
|
-
row.forEach((col, c) => {
|
|
166
|
-
// leave room for left and right padding.
|
|
167
|
-
col.width = widths[c];
|
|
168
|
-
if (this.wrap) {
|
|
169
|
-
wrapped = mixin.wrap(col.text, this.negatePadding(col), { hard: true }).split('\n');
|
|
170
|
-
}
|
|
171
|
-
else {
|
|
172
|
-
wrapped = col.text.split('\n');
|
|
173
|
-
}
|
|
174
|
-
if (col.border) {
|
|
175
|
-
wrapped.unshift('.' + '-'.repeat(this.negatePadding(col) + 2) + '.');
|
|
176
|
-
wrapped.push("'" + '-'.repeat(this.negatePadding(col) + 2) + "'");
|
|
177
|
-
}
|
|
178
|
-
// add top and bottom padding.
|
|
179
|
-
if (col.padding) {
|
|
180
|
-
wrapped.unshift(...new Array(col.padding[top] || 0).fill(''));
|
|
181
|
-
wrapped.push(...new Array(col.padding[bottom] || 0).fill(''));
|
|
182
|
-
}
|
|
183
|
-
wrapped.forEach((str, r) => {
|
|
184
|
-
if (!rrows[r]) {
|
|
185
|
-
rrows.push([]);
|
|
186
|
-
}
|
|
187
|
-
const rrow = rrows[r];
|
|
188
|
-
for (let i = 0; i < c; i++) {
|
|
189
|
-
if (rrow[i] === undefined) {
|
|
190
|
-
rrow.push('');
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
rrow.push(str);
|
|
194
|
-
});
|
|
195
|
-
});
|
|
196
|
-
return rrows;
|
|
197
|
-
}
|
|
198
|
-
negatePadding(col) {
|
|
199
|
-
let wrapWidth = col.width || 0;
|
|
200
|
-
if (col.padding) {
|
|
201
|
-
wrapWidth -= (col.padding[left] || 0) + (col.padding[right] || 0);
|
|
202
|
-
}
|
|
203
|
-
if (col.border) {
|
|
204
|
-
wrapWidth -= 4;
|
|
205
|
-
}
|
|
206
|
-
return wrapWidth;
|
|
207
|
-
}
|
|
208
|
-
columnWidths(row) {
|
|
209
|
-
if (!this.wrap) {
|
|
210
|
-
return row.map(col => {
|
|
211
|
-
return col.width || mixin.stringWidth(col.text);
|
|
212
|
-
});
|
|
213
|
-
}
|
|
214
|
-
let unset = row.length;
|
|
215
|
-
let remainingWidth = this.width;
|
|
216
|
-
// column widths can be set in config.
|
|
217
|
-
const widths = row.map(col => {
|
|
218
|
-
if (col.width) {
|
|
219
|
-
unset--;
|
|
220
|
-
remainingWidth -= col.width;
|
|
221
|
-
return col.width;
|
|
222
|
-
}
|
|
223
|
-
return undefined;
|
|
224
|
-
});
|
|
225
|
-
// any unset widths should be calculated.
|
|
226
|
-
const unsetWidth = unset ? Math.floor(remainingWidth / unset) : 0;
|
|
227
|
-
return widths.map((w, i) => {
|
|
228
|
-
if (w === undefined) {
|
|
229
|
-
return Math.max(unsetWidth, _minWidth(row[i]));
|
|
230
|
-
}
|
|
231
|
-
return w;
|
|
232
|
-
});
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
function addBorder(col, ts, style) {
|
|
236
|
-
if (col.border) {
|
|
237
|
-
if (/[.']-+[.']/.test(ts)) {
|
|
238
|
-
return '';
|
|
239
|
-
}
|
|
240
|
-
if (ts.trim().length !== 0) {
|
|
241
|
-
return style;
|
|
242
|
-
}
|
|
243
|
-
return ' ';
|
|
244
|
-
}
|
|
245
|
-
return '';
|
|
246
|
-
}
|
|
247
|
-
// calculates the minimum width of
|
|
248
|
-
// a column, based on padding preferences.
|
|
249
|
-
function _minWidth(col) {
|
|
250
|
-
const padding = col.padding || [];
|
|
251
|
-
const minWidth = 1 + (padding[left] || 0) + (padding[right] || 0);
|
|
252
|
-
if (col.border) {
|
|
253
|
-
return minWidth + 4;
|
|
254
|
-
}
|
|
255
|
-
return minWidth;
|
|
256
|
-
}
|
|
257
|
-
function getWindowWidth() {
|
|
258
|
-
/* istanbul ignore next: depends on terminal */
|
|
259
|
-
if (typeof process === 'object' && process.stdout && process.stdout.columns) {
|
|
260
|
-
return process.stdout.columns;
|
|
261
|
-
}
|
|
262
|
-
return 80;
|
|
263
|
-
}
|
|
264
|
-
function alignRight(str, width) {
|
|
265
|
-
str = str.trim();
|
|
266
|
-
const strWidth = mixin.stringWidth(str);
|
|
267
|
-
if (strWidth < width) {
|
|
268
|
-
return ' '.repeat(width - strWidth) + str;
|
|
269
|
-
}
|
|
270
|
-
return str;
|
|
271
|
-
}
|
|
272
|
-
function alignCenter(str, width) {
|
|
273
|
-
str = str.trim();
|
|
274
|
-
const strWidth = mixin.stringWidth(str);
|
|
275
|
-
/* istanbul ignore next */
|
|
276
|
-
if (strWidth >= width) {
|
|
277
|
-
return str;
|
|
278
|
-
}
|
|
279
|
-
return ' '.repeat((width - strWidth) >> 1) + str;
|
|
280
|
-
}
|
|
281
|
-
let mixin;
|
|
282
|
-
function cliui(opts, _mixin) {
|
|
283
|
-
mixin = _mixin;
|
|
284
|
-
return new UI({
|
|
285
|
-
width: (opts === null || opts === void 0 ? void 0 : opts.width) || getWindowWidth(),
|
|
286
|
-
wrap: opts === null || opts === void 0 ? void 0 : opts.wrap
|
|
287
|
-
});
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
// Bootstrap cliui with CommonJS dependencies:
|
|
291
|
-
const stringWidth = require('string-width');
|
|
292
|
-
const stripAnsi = require('strip-ansi');
|
|
293
|
-
const wrap = require('wrap-ansi');
|
|
294
|
-
function ui(opts) {
|
|
295
|
-
return cliui(opts, {
|
|
296
|
-
stringWidth,
|
|
297
|
-
stripAnsi,
|
|
298
|
-
wrap
|
|
299
|
-
});
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
module.exports = ui;
|