@datadog/datadog-ci 2.48.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -2
- package/dist/__tests__/cli.test.d.ts +1 -0
- package/dist/__tests__/cli.test.js +92 -0
- package/dist/__tests__/cli.test.js.map +1 -0
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/commands/cloud-run/__tests__/fixtures.d.ts +2 -0
- package/dist/commands/cloud-run/__tests__/fixtures.js +12 -0
- package/dist/commands/cloud-run/__tests__/fixtures.js.map +1 -0
- package/dist/commands/cloud-run/__tests__/flare.test.d.ts +1 -0
- package/dist/commands/cloud-run/__tests__/flare.test.js +557 -0
- package/dist/commands/cloud-run/__tests__/flare.test.js.map +1 -0
- package/dist/commands/coverage/__tests__/upload.test.d.ts +1 -0
- package/dist/commands/coverage/__tests__/upload.test.js +323 -0
- package/dist/commands/coverage/__tests__/upload.test.js.map +1 -0
- package/dist/commands/coverage/__tests__/utils.test.d.ts +1 -0
- package/dist/commands/coverage/__tests__/utils.test.js +57 -0
- package/dist/commands/coverage/__tests__/utils.test.js.map +1 -0
- package/dist/commands/coverage/api.d.ts +9 -0
- package/dist/commands/coverage/api.js +52 -0
- package/dist/commands/coverage/api.js.map +1 -0
- package/dist/commands/coverage/cli.d.ts +1 -0
- package/dist/commands/coverage/cli.js +5 -0
- package/dist/commands/coverage/cli.js.map +1 -0
- package/dist/commands/coverage/interfaces.d.ts +13 -0
- package/dist/commands/coverage/interfaces.js +3 -0
- package/dist/commands/coverage/interfaces.js.map +1 -0
- package/dist/commands/coverage/renderer.d.ts +12 -0
- package/dist/commands/coverage/renderer.js +83 -0
- package/dist/commands/coverage/renderer.js.map +1 -0
- package/dist/commands/coverage/upload.d.ts +27 -0
- package/dist/commands/coverage/upload.js +329 -0
- package/dist/commands/coverage/upload.js.map +1 -0
- package/dist/commands/coverage/utils.d.ts +3 -0
- package/dist/commands/coverage/utils.js +83 -0
- package/dist/commands/coverage/utils.js.map +1 -0
- package/dist/commands/deployment/__tests__/correlate.test.d.ts +1 -0
- package/dist/commands/deployment/__tests__/correlate.test.js +106 -0
- package/dist/commands/deployment/__tests__/correlate.test.js.map +1 -0
- package/dist/commands/deployment/__tests__/mark.test.d.ts +1 -0
- package/dist/commands/deployment/__tests__/mark.test.js +97 -0
- package/dist/commands/deployment/__tests__/mark.test.js.map +1 -0
- package/dist/commands/dora/__tests__/deployment.test.d.ts +1 -0
- package/dist/commands/dora/__tests__/deployment.test.js +201 -0
- package/dist/commands/dora/__tests__/deployment.test.js.map +1 -0
- package/dist/commands/dsyms/__tests__/upload.test.d.ts +1 -0
- package/dist/commands/dsyms/__tests__/upload.test.js +346 -0
- package/dist/commands/dsyms/__tests__/upload.test.js.map +1 -0
- package/dist/commands/dsyms/__tests__/utils.test.d.ts +1 -0
- package/dist/commands/dsyms/__tests__/utils.test.js +100 -0
- package/dist/commands/dsyms/__tests__/utils.test.js.map +1 -0
- package/dist/commands/dsyms/upload.js +3 -3
- package/dist/commands/dsyms/upload.js.map +1 -1
- package/dist/commands/dsyms/utils.js +7 -6
- package/dist/commands/dsyms/utils.js.map +1 -1
- package/dist/commands/elf-symbols/__tests__/elf.test.d.ts +1 -0
- package/dist/commands/elf-symbols/__tests__/elf.test.js +819 -0
- package/dist/commands/elf-symbols/__tests__/elf.test.js.map +1 -0
- package/dist/commands/elf-symbols/__tests__/upload.test.d.ts +1 -0
- package/dist/commands/elf-symbols/__tests__/upload.test.js +224 -0
- package/dist/commands/elf-symbols/__tests__/upload.test.js.map +1 -0
- package/dist/commands/elf-symbols/elf.d.ts +1 -0
- package/dist/commands/elf-symbols/upload.js +2 -3
- package/dist/commands/elf-symbols/upload.js.map +1 -1
- package/dist/commands/flutter-symbols/__tests__/upload.test.d.ts +1 -0
- package/dist/commands/flutter-symbols/__tests__/upload.test.js +617 -0
- package/dist/commands/flutter-symbols/__tests__/upload.test.js.map +1 -0
- package/dist/commands/flutter-symbols/upload.js +2 -2
- package/dist/commands/flutter-symbols/upload.js.map +1 -1
- package/dist/commands/gate/__tests__/evaluate.test.d.ts +1 -0
- package/dist/commands/gate/__tests__/evaluate.test.js +398 -0
- package/dist/commands/gate/__tests__/evaluate.test.js.map +1 -0
- package/dist/commands/gate/__tests__/scope.test.d.ts +1 -0
- package/dist/commands/gate/__tests__/scope.test.js +29 -0
- package/dist/commands/gate/__tests__/scope.test.js.map +1 -0
- package/dist/commands/git-metadata/__tests__/git.test.d.ts +1 -0
- package/dist/commands/git-metadata/__tests__/git.test.js +132 -0
- package/dist/commands/git-metadata/__tests__/git.test.js.map +1 -0
- package/dist/commands/git-metadata/__tests__/gitdb.test.d.ts +1 -0
- package/dist/commands/git-metadata/__tests__/gitdb.test.js +1386 -0
- package/dist/commands/git-metadata/__tests__/gitdb.test.js.map +1 -0
- package/dist/commands/git-metadata/__tests__/library.test.d.ts +1 -0
- package/dist/commands/git-metadata/__tests__/library.test.js +118 -0
- package/dist/commands/git-metadata/__tests__/library.test.js.map +1 -0
- package/dist/commands/git-metadata/__tests__/upload.test.d.ts +1 -0
- package/dist/commands/git-metadata/__tests__/upload.test.js +52 -0
- package/dist/commands/git-metadata/__tests__/upload.test.js.map +1 -0
- package/dist/commands/git-metadata/upload.d.ts +0 -1
- package/dist/commands/git-metadata/upload.js +0 -6
- package/dist/commands/git-metadata/upload.js.map +1 -1
- package/dist/commands/junit/__tests__/upload.test.d.ts +1 -0
- package/dist/commands/junit/__tests__/upload.test.js +446 -0
- package/dist/commands/junit/__tests__/upload.test.js.map +1 -0
- package/dist/commands/junit/renderer.d.ts +0 -1
- package/dist/commands/junit/renderer.js +1 -5
- package/dist/commands/junit/renderer.js.map +1 -1
- package/dist/commands/junit/upload.d.ts +0 -2
- package/dist/commands/junit/upload.js +8 -21
- package/dist/commands/junit/upload.js.map +1 -1
- package/dist/commands/lambda/__tests__/fixtures.d.ts +51 -0
- package/dist/commands/lambda/__tests__/fixtures.js +146 -0
- package/dist/commands/lambda/__tests__/fixtures.js.map +1 -0
- package/dist/commands/lambda/__tests__/flare.test.d.ts +1 -0
- package/dist/commands/lambda/__tests__/flare.test.js +730 -0
- package/dist/commands/lambda/__tests__/flare.test.js.map +1 -0
- package/dist/commands/lambda/__tests__/functions/commons.test.d.ts +1 -0
- package/dist/commands/lambda/__tests__/functions/commons.test.js +791 -0
- package/dist/commands/lambda/__tests__/functions/commons.test.js.map +1 -0
- package/dist/commands/lambda/__tests__/functions/instrument.part1.test.d.ts +1 -0
- package/dist/commands/lambda/__tests__/functions/instrument.part1.test.js +386 -0
- package/dist/commands/lambda/__tests__/functions/instrument.part1.test.js.map +1 -0
- package/dist/commands/lambda/__tests__/functions/instrument.part2.test.d.ts +1 -0
- package/dist/commands/lambda/__tests__/functions/instrument.part2.test.js +721 -0
- package/dist/commands/lambda/__tests__/functions/instrument.part2.test.js.map +1 -0
- package/dist/commands/lambda/__tests__/functions/uninstrument.test.d.ts +1 -0
- package/dist/commands/lambda/__tests__/functions/uninstrument.test.js +513 -0
- package/dist/commands/lambda/__tests__/functions/uninstrument.test.js.map +1 -0
- package/dist/commands/lambda/__tests__/functions/versionChecker.test.d.ts +1 -0
- package/dist/commands/lambda/__tests__/functions/versionChecker.test.js +33 -0
- package/dist/commands/lambda/__tests__/functions/versionChecker.test.js.map +1 -0
- package/dist/commands/lambda/__tests__/instrument.test.d.ts +1 -0
- package/dist/commands/lambda/__tests__/instrument.test.js +1537 -0
- package/dist/commands/lambda/__tests__/instrument.test.js.map +1 -0
- package/dist/commands/lambda/__tests__/loggroup.test.d.ts +1 -0
- package/dist/commands/lambda/__tests__/loggroup.test.js +340 -0
- package/dist/commands/lambda/__tests__/loggroup.test.js.map +1 -0
- package/dist/commands/lambda/__tests__/prompt.test.d.ts +1 -0
- package/dist/commands/lambda/__tests__/prompt.test.js +206 -0
- package/dist/commands/lambda/__tests__/prompt.test.js.map +1 -0
- package/dist/commands/lambda/__tests__/tags.test.d.ts +1 -0
- package/dist/commands/lambda/__tests__/tags.test.js +305 -0
- package/dist/commands/lambda/__tests__/tags.test.js.map +1 -0
- package/dist/commands/lambda/__tests__/uninstrument.test.d.ts +1 -0
- package/dist/commands/lambda/__tests__/uninstrument.test.js +722 -0
- package/dist/commands/lambda/__tests__/uninstrument.test.js.map +1 -0
- package/dist/commands/lambda/constants.d.ts +2 -0
- package/dist/commands/lambda/constants.js +4 -0
- package/dist/commands/lambda/constants.js.map +1 -1
- package/dist/commands/lambda/functions/commons.d.ts +1 -1
- package/dist/commands/measure/__tests__/measure.test.d.ts +1 -0
- package/dist/commands/measure/__tests__/measure.test.js +102 -0
- package/dist/commands/measure/__tests__/measure.test.js.map +1 -0
- package/dist/commands/measure/measure.d.ts +0 -1
- package/dist/commands/measure/measure.js +2 -9
- package/dist/commands/measure/measure.js.map +1 -1
- package/dist/commands/react-native/__tests__/codepush.test.d.ts +1 -0
- package/dist/commands/react-native/__tests__/codepush.test.js +161 -0
- package/dist/commands/react-native/__tests__/codepush.test.js.map +1 -0
- package/dist/commands/react-native/__tests__/interfaces.test.d.ts +1 -0
- package/dist/commands/react-native/__tests__/interfaces.test.js +33 -0
- package/dist/commands/react-native/__tests__/interfaces.test.js.map +1 -0
- package/dist/commands/react-native/__tests__/upload.test.d.ts +1 -0
- package/dist/commands/react-native/__tests__/upload.test.js +238 -0
- package/dist/commands/react-native/__tests__/upload.test.js.map +1 -0
- package/dist/commands/react-native/__tests__/utils.test.d.ts +1 -0
- package/dist/commands/react-native/__tests__/utils.test.js +27 -0
- package/dist/commands/react-native/__tests__/utils.test.js.map +1 -0
- package/dist/commands/react-native/__tests__/xcode.test.d.ts +1 -0
- package/dist/commands/react-native/__tests__/xcode.test.js +465 -0
- package/dist/commands/react-native/__tests__/xcode.test.js.map +1 -0
- package/dist/commands/sarif/__tests__/upload.test.d.ts +1 -0
- package/dist/commands/sarif/__tests__/upload.test.js +218 -0
- package/dist/commands/sarif/__tests__/upload.test.js.map +1 -0
- package/dist/commands/sarif/__tests__/validation.test.d.ts +1 -0
- package/dist/commands/sarif/__tests__/validation.test.js +19 -0
- package/dist/commands/sarif/__tests__/validation.test.js.map +1 -0
- package/dist/commands/sarif/api.js +1 -1
- package/dist/commands/sarif/api.js.map +1 -1
- package/dist/commands/sarif/interfaces.d.ts +0 -1
- package/dist/commands/sarif/renderer.d.ts +2 -2
- package/dist/commands/sarif/renderer.js +5 -5
- package/dist/commands/sarif/renderer.js.map +1 -1
- package/dist/commands/sarif/upload.d.ts +1 -1
- package/dist/commands/sarif/upload.js +15 -10
- package/dist/commands/sarif/upload.js.map +1 -1
- package/dist/commands/sbom/__tests__/payload.test.d.ts +1 -0
- package/dist/commands/sbom/__tests__/payload.test.js +306 -0
- package/dist/commands/sbom/__tests__/payload.test.js.map +1 -0
- package/dist/commands/sbom/__tests__/validation.test.d.ts +1 -0
- package/dist/commands/sbom/__tests__/validation.test.js +141 -0
- package/dist/commands/sbom/__tests__/validation.test.js.map +1 -0
- package/dist/commands/sbom/upload.d.ts +1 -1
- package/dist/commands/sbom/upload.js +9 -3
- package/dist/commands/sbom/upload.js.map +1 -1
- package/dist/commands/sourcemaps/__tests__/upload.test.d.ts +1 -0
- package/dist/commands/sourcemaps/__tests__/upload.test.js +270 -0
- package/dist/commands/sourcemaps/__tests__/upload.test.js.map +1 -0
- package/dist/commands/sourcemaps/__tests__/utils.test.d.ts +1 -0
- package/dist/commands/sourcemaps/__tests__/utils.test.js +31 -0
- package/dist/commands/sourcemaps/__tests__/utils.test.js.map +1 -0
- package/dist/commands/sourcemaps/upload.d.ts +1 -0
- package/dist/commands/sourcemaps/upload.js +6 -2
- package/dist/commands/sourcemaps/upload.js.map +1 -1
- package/dist/commands/stepfunctions/__tests__/awsCommands.test.d.ts +1 -0
- package/dist/commands/stepfunctions/__tests__/awsCommands.test.js +210 -0
- package/dist/commands/stepfunctions/__tests__/awsCommands.test.js.map +1 -0
- package/dist/commands/stepfunctions/__tests__/fixtures/aws-resources.d.ts +6 -0
- package/dist/commands/stepfunctions/__tests__/fixtures/aws-resources.js +45 -0
- package/dist/commands/stepfunctions/__tests__/fixtures/aws-resources.js.map +1 -0
- package/dist/commands/stepfunctions/__tests__/fixtures/cli.d.ts +5 -0
- package/dist/commands/stepfunctions/__tests__/fixtures/cli.js +19 -0
- package/dist/commands/stepfunctions/__tests__/fixtures/cli.js.map +1 -0
- package/dist/commands/stepfunctions/__tests__/helpers.test.d.ts +1 -0
- package/dist/commands/stepfunctions/__tests__/helpers.test.js +501 -0
- package/dist/commands/stepfunctions/__tests__/helpers.test.js.map +1 -0
- package/dist/commands/stepfunctions/__tests__/instrument.test.d.ts +1 -0
- package/dist/commands/stepfunctions/__tests__/instrument.test.js +431 -0
- package/dist/commands/stepfunctions/__tests__/instrument.test.js.map +1 -0
- package/dist/commands/stepfunctions/__tests__/uninstrument.test.d.ts +1 -0
- package/dist/commands/stepfunctions/__tests__/uninstrument.test.js +166 -0
- package/dist/commands/stepfunctions/__tests__/uninstrument.test.js.map +1 -0
- package/dist/commands/synthetics/__tests__/api.test.d.ts +1 -0
- package/dist/commands/synthetics/__tests__/api.test.js +416 -0
- package/dist/commands/synthetics/__tests__/api.test.js.map +1 -0
- package/dist/commands/synthetics/__tests__/batch.test.d.ts +1 -0
- package/dist/commands/synthetics/__tests__/batch.test.js +906 -0
- package/dist/commands/synthetics/__tests__/batch.test.js.map +1 -0
- package/dist/commands/synthetics/__tests__/cli.test.d.ts +1 -0
- package/dist/commands/synthetics/__tests__/cli.test.js +1371 -0
- package/dist/commands/synthetics/__tests__/cli.test.js.map +1 -0
- package/dist/commands/synthetics/__tests__/deploy-tests-lib.test.d.ts +1 -0
- package/dist/commands/synthetics/__tests__/deploy-tests-lib.test.js +112 -0
- package/dist/commands/synthetics/__tests__/deploy-tests-lib.test.js.map +1 -0
- package/dist/commands/synthetics/__tests__/fixtures.d.ts +123 -0
- package/dist/commands/synthetics/__tests__/fixtures.js +493 -0
- package/dist/commands/synthetics/__tests__/fixtures.js.map +1 -0
- package/dist/commands/synthetics/__tests__/import-tests-lib.test.d.ts +1 -0
- package/dist/commands/synthetics/__tests__/import-tests-lib.test.js +186 -0
- package/dist/commands/synthetics/__tests__/import-tests-lib.test.js.map +1 -0
- package/dist/commands/synthetics/__tests__/mobile.test.d.ts +1 -0
- package/dist/commands/synthetics/__tests__/mobile.test.js +376 -0
- package/dist/commands/synthetics/__tests__/mobile.test.js.map +1 -0
- package/dist/commands/synthetics/__tests__/multilocator.test.d.ts +1 -0
- package/dist/commands/synthetics/__tests__/multilocator.test.js +132 -0
- package/dist/commands/synthetics/__tests__/multilocator.test.js.map +1 -0
- package/dist/commands/synthetics/__tests__/reporters/default.test.d.ts +1 -0
- package/dist/commands/synthetics/__tests__/reporters/default.test.js +410 -0
- package/dist/commands/synthetics/__tests__/reporters/default.test.js.map +1 -0
- package/dist/commands/synthetics/__tests__/reporters/junit.test.d.ts +1 -0
- package/dist/commands/synthetics/__tests__/reporters/junit.test.js +354 -0
- package/dist/commands/synthetics/__tests__/reporters/junit.test.js.map +1 -0
- package/dist/commands/synthetics/__tests__/reporters/mobile/app-upload.test.d.ts +1 -0
- package/dist/commands/synthetics/__tests__/reporters/mobile/app-upload.test.js +232 -0
- package/dist/commands/synthetics/__tests__/reporters/mobile/app-upload.test.js.map +1 -0
- package/dist/commands/synthetics/__tests__/run-tests-lib.test.d.ts +1 -0
- package/dist/commands/synthetics/__tests__/run-tests-lib.test.js +698 -0
- package/dist/commands/synthetics/__tests__/run-tests-lib.test.js.map +1 -0
- package/dist/commands/synthetics/__tests__/test.test.d.ts +1 -0
- package/dist/commands/synthetics/__tests__/test.test.js +269 -0
- package/dist/commands/synthetics/__tests__/test.test.js.map +1 -0
- package/dist/commands/synthetics/__tests__/tunnel/crypto.test.d.ts +1 -0
- package/dist/commands/synthetics/__tests__/tunnel/crypto.test.js +21 -0
- package/dist/commands/synthetics/__tests__/tunnel/crypto.test.js.map +1 -0
- package/dist/commands/synthetics/__tests__/tunnel/tunnel.test.d.ts +1 -0
- package/dist/commands/synthetics/__tests__/tunnel/tunnel.test.js +80 -0
- package/dist/commands/synthetics/__tests__/tunnel/tunnel.test.js.map +1 -0
- package/dist/commands/synthetics/__tests__/tunnel/websocket.test.d.ts +1 -0
- package/dist/commands/synthetics/__tests__/tunnel/websocket.test.js +109 -0
- package/dist/commands/synthetics/__tests__/tunnel/websocket.test.js.map +1 -0
- package/dist/commands/synthetics/__tests__/utils/internal.test.d.ts +1 -0
- package/dist/commands/synthetics/__tests__/utils/internal.test.js +161 -0
- package/dist/commands/synthetics/__tests__/utils/internal.test.js.map +1 -0
- package/dist/commands/synthetics/__tests__/utils/public.test.d.ts +1 -0
- package/dist/commands/synthetics/__tests__/utils/public.test.js +575 -0
- package/dist/commands/synthetics/__tests__/utils/public.test.js.map +1 -0
- package/dist/commands/synthetics/api.d.ts +4 -2
- package/dist/commands/synthetics/api.js +20 -1
- package/dist/commands/synthetics/api.js.map +1 -1
- package/dist/commands/synthetics/batch.d.ts +4 -2
- package/dist/commands/synthetics/batch.js +65 -7
- package/dist/commands/synthetics/batch.js.map +1 -1
- package/dist/commands/synthetics/cli.js +3 -1
- package/dist/commands/synthetics/cli.js.map +1 -1
- package/dist/commands/synthetics/deploy-tests-command.d.ts +22 -0
- package/dist/commands/synthetics/deploy-tests-command.js +150 -0
- package/dist/commands/synthetics/deploy-tests-command.js.map +1 -0
- package/dist/commands/synthetics/deploy-tests-lib.d.ts +2 -0
- package/dist/commands/synthetics/deploy-tests-lib.js +72 -0
- package/dist/commands/synthetics/deploy-tests-lib.js.map +1 -0
- package/dist/commands/synthetics/errors.d.ts +1 -1
- package/dist/commands/synthetics/errors.js +1 -0
- package/dist/commands/synthetics/errors.js.map +1 -1
- package/dist/commands/synthetics/import-tests-command.d.ts +22 -0
- package/dist/commands/synthetics/import-tests-command.js +142 -0
- package/dist/commands/synthetics/import-tests-command.js.map +1 -0
- package/dist/commands/synthetics/import-tests-lib.d.ts +2 -0
- package/dist/commands/synthetics/import-tests-lib.js +71 -0
- package/dist/commands/synthetics/import-tests-lib.js.map +1 -0
- package/dist/commands/synthetics/interfaces.d.ts +74 -28
- package/dist/commands/synthetics/interfaces.js.map +1 -1
- package/dist/commands/synthetics/local-test-definition.d.ts +2 -0
- package/dist/commands/synthetics/local-test-definition.js +16 -0
- package/dist/commands/synthetics/local-test-definition.js.map +1 -0
- package/dist/commands/synthetics/mobile.js +2 -2
- package/dist/commands/synthetics/mobile.js.map +1 -1
- package/dist/commands/synthetics/multilocator.d.ts +3 -0
- package/dist/commands/synthetics/multilocator.js +98 -0
- package/dist/commands/synthetics/multilocator.js.map +1 -0
- package/dist/commands/synthetics/reporters/junit.d.ts +1 -2
- package/dist/commands/synthetics/reporters/junit.js +5 -6
- package/dist/commands/synthetics/reporters/junit.js.map +1 -1
- package/dist/commands/synthetics/run-tests-command.d.ts +0 -9
- package/dist/commands/synthetics/run-tests-command.js +22 -64
- package/dist/commands/synthetics/run-tests-command.js.map +1 -1
- package/dist/commands/synthetics/run-tests-lib.js +15 -12
- package/dist/commands/synthetics/run-tests-lib.js.map +1 -1
- package/dist/commands/synthetics/test.d.ts +10 -19
- package/dist/commands/synthetics/test.js +93 -13
- package/dist/commands/synthetics/test.js.map +1 -1
- package/dist/commands/synthetics/tunnel/tunnel.js +2 -2
- package/dist/commands/synthetics/tunnel/tunnel.js.map +1 -1
- package/dist/commands/synthetics/utils/internal.d.ts +3 -1
- package/dist/commands/synthetics/utils/internal.js +18 -8
- package/dist/commands/synthetics/utils/internal.js.map +1 -1
- package/dist/commands/synthetics/utils/public.d.ts +5 -26
- package/dist/commands/synthetics/utils/public.js +13 -248
- package/dist/commands/synthetics/utils/public.js.map +1 -1
- package/dist/commands/tag/__tests__/tag.test.d.ts +1 -0
- package/dist/commands/tag/__tests__/tag.test.js +85 -0
- package/dist/commands/tag/__tests__/tag.test.js.map +1 -0
- package/dist/commands/trace/__tests__/trace.test.d.ts +1 -0
- package/dist/commands/trace/__tests__/trace.test.js +145 -0
- package/dist/commands/trace/__tests__/trace.test.js.map +1 -0
- package/dist/commands/unity-symbols/__tests__/upload.test.d.ts +1 -0
- package/dist/commands/unity-symbols/__tests__/upload.test.js +369 -0
- package/dist/commands/unity-symbols/__tests__/upload.test.js.map +1 -0
- package/dist/commands/unity-symbols/upload.js +2 -2
- package/dist/commands/unity-symbols/upload.js.map +1 -1
- package/dist/helpers/__tests__/app.test.d.ts +1 -0
- package/dist/helpers/__tests__/app.test.js +31 -0
- package/dist/helpers/__tests__/app.test.js.map +1 -0
- package/dist/helpers/__tests__/ci.test.d.ts +1 -0
- package/dist/helpers/__tests__/ci.test.js +295 -0
- package/dist/helpers/__tests__/ci.test.js.map +1 -0
- package/dist/helpers/__tests__/env.test.d.ts +1 -0
- package/dist/helpers/__tests__/env.test.js +74 -0
- package/dist/helpers/__tests__/env.test.js.map +1 -0
- package/dist/helpers/__tests__/fips.test.d.ts +1 -0
- package/dist/helpers/__tests__/fips.test.js +30 -0
- package/dist/helpers/__tests__/fips.test.js.map +1 -0
- package/dist/helpers/__tests__/fixtures.d.ts +41 -0
- package/dist/helpers/__tests__/fixtures.js +80 -0
- package/dist/helpers/__tests__/fixtures.js.map +1 -0
- package/dist/helpers/__tests__/flare.test.d.ts +1 -0
- package/dist/helpers/__tests__/flare.test.js +226 -0
- package/dist/helpers/__tests__/flare.test.js.map +1 -0
- package/dist/helpers/__tests__/fs.test.d.ts +1 -0
- package/dist/helpers/__tests__/fs.test.js +189 -0
- package/dist/helpers/__tests__/fs.test.js.map +1 -0
- package/dist/helpers/__tests__/id.test.d.ts +1 -0
- package/dist/helpers/__tests__/id.test.js +24 -0
- package/dist/helpers/__tests__/id.test.js.map +1 -0
- package/dist/helpers/__tests__/plist.test.d.ts +1 -0
- package/dist/helpers/__tests__/plist.test.js +43 -0
- package/dist/helpers/__tests__/plist.test.js.map +1 -0
- package/dist/helpers/__tests__/prompt.test.d.ts +1 -0
- package/dist/helpers/__tests__/prompt.test.js +71 -0
- package/dist/helpers/__tests__/prompt.test.js.map +1 -0
- package/dist/helpers/__tests__/retry.test.d.ts +1 -0
- package/dist/helpers/__tests__/retry.test.js +99 -0
- package/dist/helpers/__tests__/retry.test.js.map +1 -0
- package/dist/helpers/__tests__/tags.test.d.ts +1 -0
- package/dist/helpers/__tests__/tags.test.js +303 -0
- package/dist/helpers/__tests__/tags.test.js.map +1 -0
- package/dist/helpers/__tests__/upload.test.d.ts +1 -0
- package/dist/helpers/__tests__/upload.test.js +231 -0
- package/dist/helpers/__tests__/upload.test.js.map +1 -0
- package/dist/helpers/__tests__/user-provided-git.test.d.ts +1 -0
- package/dist/helpers/__tests__/user-provided-git.test.js +119 -0
- package/dist/helpers/__tests__/user-provided-git.test.js.map +1 -0
- package/dist/helpers/__tests__/utils.test.d.ts +1 -0
- package/dist/helpers/__tests__/utils.test.js +429 -0
- package/dist/helpers/__tests__/utils.test.js.map +1 -0
- package/dist/helpers/__tests__/validation.test.d.ts +1 -0
- package/dist/helpers/__tests__/validation.test.js +25 -0
- package/dist/helpers/__tests__/validation.test.js.map +1 -0
- package/dist/helpers/git/__tests__/format-git-sourcemaps-data.test.d.ts +1 -0
- package/dist/helpers/git/__tests__/format-git-sourcemaps-data.test.js +103 -0
- package/dist/helpers/git/__tests__/format-git-sourcemaps-data.test.js.map +1 -0
- package/dist/helpers/git/__tests__/format-git-span-data.test.d.ts +1 -0
- package/dist/helpers/git/__tests__/format-git-span-data.test.js +121 -0
- package/dist/helpers/git/__tests__/format-git-span-data.test.js.map +1 -0
- package/dist/helpers/git/__tests__/get-git-data.test.d.ts +1 -0
- package/dist/helpers/git/__tests__/get-git-data.test.js +72 -0
- package/dist/helpers/git/__tests__/get-git-data.test.js.map +1 -0
- package/dist/helpers/id.js.map +1 -0
- package/dist/helpers/tags.d.ts +1 -4
- package/dist/helpers/tags.js +2 -6
- package/dist/helpers/tags.js.map +1 -1
- package/dist/helpers/utils.d.ts +0 -4
- package/dist/helpers/utils.js +1 -21
- package/dist/helpers/utils.js.map +1 -1
- package/package.json +16 -17
- package/dist/commands/junit/id.js.map +0 -1
- package/dist/commands/synthetics/compatibility.d.ts +0 -7
- package/dist/commands/synthetics/compatibility.js +0 -83
- package/dist/commands/synthetics/compatibility.js.map +0 -1
- /package/dist/{commands/junit → helpers}/id.d.ts +0 -0
- /package/dist/{commands/junit → helpers}/id.js +0 -0
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datadog/datadog-ci",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Run datadog actions from the CI.",
|
|
5
5
|
"repository": "https://github.com/DataDog/datadog-ci",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"bin": "dist/cli.js",
|
|
8
8
|
"engines": {
|
|
9
|
-
"node": ">=
|
|
9
|
+
"node": ">=18"
|
|
10
10
|
},
|
|
11
11
|
"volta": {
|
|
12
12
|
"node": "20.11.0",
|
|
@@ -60,13 +60,13 @@
|
|
|
60
60
|
"watch": "tsc -w"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@aws-sdk/client-cloudwatch-logs": "^3.
|
|
64
|
-
"@aws-sdk/client-iam": "^3.
|
|
65
|
-
"@aws-sdk/client-lambda": "^3.
|
|
66
|
-
"@aws-sdk/client-sfn": "^3.
|
|
67
|
-
"@aws-sdk/core": "^3.
|
|
68
|
-
"@aws-sdk/credential-provider-ini": "^3.
|
|
69
|
-
"@aws-sdk/credential-providers": "^3.
|
|
63
|
+
"@aws-sdk/client-cloudwatch-logs": "^3.709.0",
|
|
64
|
+
"@aws-sdk/client-iam": "^3.709.0",
|
|
65
|
+
"@aws-sdk/client-lambda": "^3.709.0",
|
|
66
|
+
"@aws-sdk/client-sfn": "^3.709.0",
|
|
67
|
+
"@aws-sdk/core": "^3.709.0",
|
|
68
|
+
"@aws-sdk/credential-provider-ini": "^3.709.0",
|
|
69
|
+
"@aws-sdk/credential-providers": "^3.709.0",
|
|
70
70
|
"@google-cloud/logging": "^11.1.0",
|
|
71
71
|
"@google-cloud/run": "^1.4.0",
|
|
72
72
|
"@smithy/property-provider": "^2.0.12",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"fast-xml-parser": "^4.4.1",
|
|
86
86
|
"form-data": "4.0.0",
|
|
87
87
|
"fuzzy": "^0.1.3",
|
|
88
|
-
"glob": "^
|
|
88
|
+
"glob": "^10.4.5",
|
|
89
89
|
"google-auth-library": "^9.12.0",
|
|
90
90
|
"inquirer": "^8.2.5",
|
|
91
91
|
"inquirer-checkbox-plus-prompt": "^1.4.2",
|
|
@@ -94,7 +94,6 @@
|
|
|
94
94
|
"ora": "5.4.1",
|
|
95
95
|
"packageurl-js": "^2.0.1",
|
|
96
96
|
"proxy-agent": "^6.4.0",
|
|
97
|
-
"rimraf": "^3.0.2",
|
|
98
97
|
"semver": "^7.5.3",
|
|
99
98
|
"simple-git": "3.16.0",
|
|
100
99
|
"ssh2": "^1.15.0",
|
|
@@ -109,7 +108,7 @@
|
|
|
109
108
|
"yamux-js": "0.1.2"
|
|
110
109
|
},
|
|
111
110
|
"devDependencies": {
|
|
112
|
-
"@aws-sdk/types": "^3.
|
|
111
|
+
"@aws-sdk/types": "^3.709.0",
|
|
113
112
|
"@babel/core": "7.8.0",
|
|
114
113
|
"@babel/preset-env": "7.4.5",
|
|
115
114
|
"@babel/preset-typescript": "7.3.3",
|
|
@@ -120,8 +119,7 @@
|
|
|
120
119
|
"@types/inquirer": "8.2.6",
|
|
121
120
|
"@types/jest": "29.5.3",
|
|
122
121
|
"@types/js-yaml": "^4.0.5",
|
|
123
|
-
"@types/node": "
|
|
124
|
-
"@types/rimraf": "^3.0.2",
|
|
122
|
+
"@types/node": "^18.19.76",
|
|
125
123
|
"@types/semver": "^7.3.12",
|
|
126
124
|
"@types/ssh2": "1.11.6",
|
|
127
125
|
"@types/ssh2-streams": "0.1.9",
|
|
@@ -132,9 +130,9 @@
|
|
|
132
130
|
"@types/xml2js": "0.4.9",
|
|
133
131
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
134
132
|
"@typescript-eslint/parser": "^5.62.0",
|
|
135
|
-
"aws-sdk-client-mock": "^
|
|
136
|
-
"aws-sdk-client-mock-jest": "^
|
|
137
|
-
"dd-trace": "
|
|
133
|
+
"aws-sdk-client-mock": "^4.1.0",
|
|
134
|
+
"aws-sdk-client-mock-jest": "^4.1.0",
|
|
135
|
+
"dd-trace": "^5.38.0",
|
|
138
136
|
"eslint": "^7.32.0",
|
|
139
137
|
"eslint-config-prettier": "^8.5.0",
|
|
140
138
|
"eslint-import-resolver-typescript": "2.7.0",
|
|
@@ -147,6 +145,7 @@
|
|
|
147
145
|
"pkg": "5.8.1",
|
|
148
146
|
"prettier": "2.0.5",
|
|
149
147
|
"proxy": "^2.1.1",
|
|
148
|
+
"rimraf": "^5.0.0",
|
|
150
149
|
"ts-jest": "29.1.1",
|
|
151
150
|
"ts-node": "8.8.1",
|
|
152
151
|
"typescript": "5.1.6"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"id.js","sourceRoot":"","sources":["../../../src/commands/junit/id.ts"],"names":[],"mappings":";;AAAA,oBAAoB;AACpB,uFAAuF;AACvF,wHAAwH;AACxH,mCAAqC;AAErC,MAAM,QAAQ,GAAG,UAAU,CAAA;AAE3B,MAAM,IAAI,GAAG,IAAI,UAAU,CAAC,CAAC,GAAG,IAAI,CAAC,CAAA;AAErC,IAAI,KAAK,GAAG,CAAC,CAAA;AAEb,0CAA0C;AAC1C,MAAM,cAAc,GAAG,CAAC,MAAgB,EAAE,EAAE;IAC1C,MAAM,KAAK,GAAG,EAAE,CAAA;IAChB,IAAI,IAAI,GAAG,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;IAC/C,IAAI,GAAG,GAAG,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;IAC9C,IAAI,GAAG,G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,CAAC,GAAG,QAAQ,CAAC;QACpC,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC;QAC1B,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC;QACzB,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;AACtB,CAAC,CAAA;AAED,kBAAe,GAAG,EAAE,CAAC,cAAc,CAAC,YAAY,EAAE,CAAC,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { MainReporter, RunTestsCommandConfig, Suite, UserConfigOverride } from './interfaces';
|
|
2
|
-
export declare const moveLocationsToTestOverrides: (config: RunTestsCommandConfig, reporter: MainReporter, warnDeprecatedLocations?: boolean) => RunTestsCommandConfig;
|
|
3
|
-
export declare const replaceConfigWithTestOverrides: (config: UserConfigOverride | undefined, testOverrides: UserConfigOverride | undefined) => UserConfigOverride;
|
|
4
|
-
export declare const replaceGlobalWithDefaultTestOverrides: (config: RunTestsCommandConfig, reporter: MainReporter, warnDeprecatedGlobal?: boolean) => RunTestsCommandConfig;
|
|
5
|
-
export declare const replacePollingTimeoutWithBatchTimeout: (config: RunTestsCommandConfig, reporter: MainReporter, warnDeprecatedPollingTimeout?: boolean, batchTimeoutCliParam?: number, pollingTimeoutCliParam?: number) => RunTestsCommandConfig;
|
|
6
|
-
export declare const warnIfDeprecatedConfigUsed: (suites: Suite[], reporter: MainReporter) => void;
|
|
7
|
-
export declare const warnIfDeprecatedPollingTimeoutUsed: (suites: Suite[], reporter: MainReporter) => void;
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.warnIfDeprecatedPollingTimeoutUsed = exports.warnIfDeprecatedConfigUsed = exports.replacePollingTimeoutWithBatchTimeout = exports.replaceGlobalWithDefaultTestOverrides = exports.replaceConfigWithTestOverrides = exports.moveLocationsToTestOverrides = void 0;
|
|
4
|
-
const run_tests_command_1 = require("./run-tests-command");
|
|
5
|
-
const moveLocationsToTestOverrides = (config, reporter, warnDeprecatedLocations = false) => {
|
|
6
|
-
var _a, _b, _c;
|
|
7
|
-
const isLocationsUsedInRoot = ((_a = config.locations) !== null && _a !== void 0 ? _a : []).length !== 0;
|
|
8
|
-
// At this point, `global` should already have been moved to `defaultTestOverrides`
|
|
9
|
-
const isLocationsUsedInDefaultTestOverrides = ((_c = (_b = config.defaultTestOverrides) === null || _b === void 0 ? void 0 : _b.locations) !== null && _c !== void 0 ? _c : []).length !== 0;
|
|
10
|
-
if (isLocationsUsedInRoot && warnDeprecatedLocations) {
|
|
11
|
-
reporter.error("The 'locations' property should not be used at the root level of the global configuration file. Please put it in 'defaultTestOverrides' instead.\n If 'locations' exists in both places, only the one in 'defaultTestOverrides' is used!\n");
|
|
12
|
-
}
|
|
13
|
-
// If the user hasn't migrated and is still using `locations` at the root level, move it in the `defaultTestOverrides`
|
|
14
|
-
if (!isLocationsUsedInDefaultTestOverrides && isLocationsUsedInRoot) {
|
|
15
|
-
return Object.assign(Object.assign({}, config), { defaultTestOverrides: Object.assign(Object.assign({}, config.defaultTestOverrides), { locations: config.locations }) });
|
|
16
|
-
}
|
|
17
|
-
return config;
|
|
18
|
-
};
|
|
19
|
-
exports.moveLocationsToTestOverrides = moveLocationsToTestOverrides;
|
|
20
|
-
const replaceConfigWithTestOverrides = (config, testOverrides) => {
|
|
21
|
-
const isConfigUsed = Object.keys(config !== null && config !== void 0 ? config : {}).length !== 0;
|
|
22
|
-
const isTestOverridesUsed = Object.keys(testOverrides !== null && testOverrides !== void 0 ? testOverrides : {}).length !== 0;
|
|
23
|
-
// If the user hasn't migrated and is still using `config` in test files, use `config`
|
|
24
|
-
if (!isTestOverridesUsed && isConfigUsed) {
|
|
25
|
-
return config !== null && config !== void 0 ? config : {};
|
|
26
|
-
}
|
|
27
|
-
return testOverrides !== null && testOverrides !== void 0 ? testOverrides : {};
|
|
28
|
-
};
|
|
29
|
-
exports.replaceConfigWithTestOverrides = replaceConfigWithTestOverrides;
|
|
30
|
-
const replaceGlobalWithDefaultTestOverrides = (config, reporter, warnDeprecatedGlobal = false) => {
|
|
31
|
-
var _a, _b;
|
|
32
|
-
// The user is able to put both if they don't use the library in TS or use configuration files.
|
|
33
|
-
const isGlobalUsed = Object.keys((_a = config.global) !== null && _a !== void 0 ? _a : {}).length !== 0;
|
|
34
|
-
const isDefaultTestOverridesUsed = Object.keys((_b = config.defaultTestOverrides) !== null && _b !== void 0 ? _b : {}).length !== 0;
|
|
35
|
-
if (isGlobalUsed && warnDeprecatedGlobal) {
|
|
36
|
-
reporter.error("The 'global' property is deprecated. Please use 'defaultTestOverrides' instead.\nIf both 'global' and 'defaultTestOverrides' properties exist, 'defaultTestOverrides' is used!\n");
|
|
37
|
-
}
|
|
38
|
-
// If the user hasn't migrated and is still using `global`, use `global`
|
|
39
|
-
if (!isDefaultTestOverridesUsed && isGlobalUsed) {
|
|
40
|
-
return Object.assign(Object.assign({}, config), { defaultTestOverrides: Object.assign({}, config.global) });
|
|
41
|
-
}
|
|
42
|
-
return config;
|
|
43
|
-
};
|
|
44
|
-
exports.replaceGlobalWithDefaultTestOverrides = replaceGlobalWithDefaultTestOverrides;
|
|
45
|
-
const replacePollingTimeoutWithBatchTimeout = (config, reporter, warnDeprecatedPollingTimeout = false, batchTimeoutCliParam, pollingTimeoutCliParam) => {
|
|
46
|
-
var _a, _b;
|
|
47
|
-
// At this point, `global` should already have been moved to `defaultTestOverrides`
|
|
48
|
-
const pollingTimeout = (_b = pollingTimeoutCliParam !== null && pollingTimeoutCliParam !== void 0 ? pollingTimeoutCliParam : (_a = config.defaultTestOverrides) === null || _a === void 0 ? void 0 : _a.pollingTimeout) !== null && _b !== void 0 ? _b : config.pollingTimeout;
|
|
49
|
-
const isPollingTimeoutUsed = pollingTimeout !== undefined && pollingTimeout !== run_tests_command_1.DEFAULT_POLLING_TIMEOUT;
|
|
50
|
-
if (isPollingTimeoutUsed && warnDeprecatedPollingTimeout) {
|
|
51
|
-
reporter.error("The 'pollingTimeout' property is deprecated. Please use 'batchTimeout' instead.\nIf both 'pollingTimeout' and 'batchTimeout' properties exist, 'batchTimeout' is used!\n");
|
|
52
|
-
}
|
|
53
|
-
const batchTimeout = batchTimeoutCliParam !== null && batchTimeoutCliParam !== void 0 ? batchTimeoutCliParam : config.batchTimeout;
|
|
54
|
-
const isBatchTimeoutUsed = batchTimeout !== run_tests_command_1.DEFAULT_BATCH_TIMEOUT;
|
|
55
|
-
// If the user hasn't migrated and is still using `pollingTimeout`, use `pollingTimeout`
|
|
56
|
-
if (!isBatchTimeoutUsed && isPollingTimeoutUsed) {
|
|
57
|
-
return Object.assign(Object.assign({}, config), { pollingTimeout, batchTimeout: pollingTimeout });
|
|
58
|
-
}
|
|
59
|
-
// If the current call comes from the CLI, keep using both to make the future call by the command show a warning.
|
|
60
|
-
const calledByCli = !warnDeprecatedPollingTimeout;
|
|
61
|
-
if (calledByCli && isBatchTimeoutUsed && isPollingTimeoutUsed) {
|
|
62
|
-
return Object.assign(Object.assign({}, config), { batchTimeout, pollingTimeout: batchTimeout });
|
|
63
|
-
}
|
|
64
|
-
return config;
|
|
65
|
-
};
|
|
66
|
-
exports.replacePollingTimeoutWithBatchTimeout = replacePollingTimeoutWithBatchTimeout;
|
|
67
|
-
const warnIfDeprecatedConfigUsed = (suites, reporter) => {
|
|
68
|
-
// TODO SYNTH-12989: Clean up deprecated `config` in favor of `testOverrides`
|
|
69
|
-
const isUsingConfig = suites.some((suite) => suite.content.tests.some((test) => { var _a; return Object.keys((_a = test.config) !== null && _a !== void 0 ? _a : {}).length > 0; }));
|
|
70
|
-
if (isUsingConfig) {
|
|
71
|
-
reporter.error("The 'config' property is deprecated. Please use 'testOverrides' instead.\nIf both 'config' and 'testOverrides' properties exist, 'testOverrides' is used!\n");
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
exports.warnIfDeprecatedConfigUsed = warnIfDeprecatedConfigUsed;
|
|
75
|
-
const warnIfDeprecatedPollingTimeoutUsed = (suites, reporter) => {
|
|
76
|
-
// TODO SYNTH-12989: Clean up deprecated `pollingTimeout` in favor of `batchTimeout`
|
|
77
|
-
const isUsingPollingTimeout = suites.some((suite) => suite.content.tests.some((test) => { var _a, _b; return ((_a = test.config) === null || _a === void 0 ? void 0 : _a.pollingTimeout) !== undefined || ((_b = test.testOverrides) === null || _b === void 0 ? void 0 : _b.pollingTimeout) !== undefined; }));
|
|
78
|
-
if (isUsingPollingTimeout) {
|
|
79
|
-
reporter.error("The 'pollingTimeout' property is deprecated. Please use 'batchTimeout' in the global configuration file or '--batchTimeout' instead.\nIf both 'pollingTimeout' and 'batchTimeout' properties exist, 'batchTimeout' is used!\n");
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
exports.warnIfDeprecatedPollingTimeoutUsed = warnIfDeprecatedPollingTimeoutUsed;
|
|
83
|
-
//# sourceMappingURL=compatibility.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"compatibility.js","sourceRoot":"","sources":["../../../src/commands/synthetics/compatibility.ts"],"names":[],"mappings":";;;AACA,2DAAkF;AAE3E,MAAM,4BAA4B,GAAG,CAC1C,MAA6B,EAC7B,QAAsB,EACtB,uBAAuB,GAAG,KAAK,EACR,EAAE;;IACzB,MAAM,qBAAqB,GAAG,CAAC,MAAA,MAAM,CAAC,SAAS,mCAAI,EAAE,CAAC,CAAC,MAAM,KAAK,CAAC,CAAA;IACnE,mFAAmF;IACnF,MAAM,qCAAqC,GAAG,CAAC,MAAA,MAAA,MAAM,CAAC,oBAAoB,0CAAE,SAAS,mCAAI,EAAE,CAAC,CAAC,MAAM,KAAK,CAAC,CAAA;IAEzG,IAAI,qBAAqB,IAAI,uBAAuB,EAAE;QACpD,QAAQ,CAAC,KAAK,CACZ,4OAA4O,CAC7O,CAAA;KACF;IAED,sHAAsH;IACtH,IAAI,CAAC,qCAAqC,IAAI,qBAAqB,EAAE;QACnE,uC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