Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

browserstack-cypress-cli

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browserstack-cypress-cli - npm Package Compare versions

Comparing version 1.29.0 to 1.29.1

.nyc_output/2db2627f-2e11-464d-ae01-f6230871649b.json

2

.nyc_output/processinfo/index.json

@@ -1,1 +0,1 @@

{"processes":{"4de31829-b694-4567-a64d-b9f2a39aad8f":{"parent":"5bfb514c-7f4c-4d7d-a340-aea45b6df22a","children":[]},"5bfb514c-7f4c-4d7d-a340-aea45b6df22a":{"parent":null,"children":["4de31829-b694-4567-a64d-b9f2a39aad8f","6560b7ed-7bb3-4356-8e02-8e3b87e338df","7bd0aff0-4e4e-48e2-a4b4-5759ca2809a1","9026361d-cf67-46f1-be8c-1cca46df290c","96b48768-47a7-4ce2-a594-f8cce51372d0","981ac816-df8a-44d0-a0c4-492f9866d7ae","ad567238-328d-4698-917f-a91539e16070","c6e6f4da-56a6-437e-b5f0-82d29d9536e6","cb28d15a-b052-44a2-89d1-184cdf7a4ffc","dc944854-f4c9-49a2-a907-b8eacbe61ea2","e93ac7d5-aca6-473c-b715-9b11594cd0ff","e97f3f73-9ecb-4391-aa1a-8afe1fd3895b"]},"6560b7ed-7bb3-4356-8e02-8e3b87e338df":{"parent":"5bfb514c-7f4c-4d7d-a340-aea45b6df22a","children":[]},"7bd0aff0-4e4e-48e2-a4b4-5759ca2809a1":{"parent":"5bfb514c-7f4c-4d7d-a340-aea45b6df22a","children":[]},"9026361d-cf67-46f1-be8c-1cca46df290c":{"parent":"5bfb514c-7f4c-4d7d-a340-aea45b6df22a","children":[]},"96b48768-47a7-4ce2-a594-f8cce51372d0":{"parent":"5bfb514c-7f4c-4d7d-a340-aea45b6df22a","children":[]},"981ac816-df8a-44d0-a0c4-492f9866d7ae":{"parent":"5bfb514c-7f4c-4d7d-a340-aea45b6df22a","children":[]},"ad567238-328d-4698-917f-a91539e16070":{"parent":"5bfb514c-7f4c-4d7d-a340-aea45b6df22a","children":[]},"ad864605-6250-44da-a38d-e3fc5d9d3d7d":{"parent":null,"children":[]},"c6e6f4da-56a6-437e-b5f0-82d29d9536e6":{"parent":"5bfb514c-7f4c-4d7d-a340-aea45b6df22a","children":[]},"cb28d15a-b052-44a2-89d1-184cdf7a4ffc":{"parent":"5bfb514c-7f4c-4d7d-a340-aea45b6df22a","children":[]},"dc944854-f4c9-49a2-a907-b8eacbe61ea2":{"parent":"5bfb514c-7f4c-4d7d-a340-aea45b6df22a","children":[]},"e93ac7d5-aca6-473c-b715-9b11594cd0ff":{"parent":"5bfb514c-7f4c-4d7d-a340-aea45b6df22a","children":[]},"e97f3f73-9ecb-4391-aa1a-8afe1fd3895b":{"parent":"5bfb514c-7f4c-4d7d-a340-aea45b6df22a","children":[]}},"files":{"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/buildArtifacts.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/logger.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d","c6e6f4da-56a6-437e-b5f0-82d29d9536e6","dc944854-f4c9-49a2-a907-b8eacbe61ea2"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/utils.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/usageReporting.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/config.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d","c6e6f4da-56a6-437e-b5f0-82d29d9536e6","dc944854-f4c9-49a2-a907-b8eacbe61ea2"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/constants.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d","c6e6f4da-56a6-437e-b5f0-82d29d9536e6","dc944854-f4c9-49a2-a907-b8eacbe61ea2"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/fileHelpers.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/testObservability/helper/helper.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/helper.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/testObservability/crashReporter/index.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/testObservability/helper/constants.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/testObservability/helper/requestQueueHandler.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/commands/init.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/capabilityHelper.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/readCypressConfigUtil.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/getInitialDetails.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/hashUtil.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/packageInstaller.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/sync/failedSpecsDetails.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/sync/specsSummary.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/sync/syncSpecsLogs.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/timeComponents.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/zipUpload.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/commands/generateDownloads.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/commands/generateReport.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/commands/info.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/templates/configTemplate.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/commands/runs.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/archiver.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/build.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/syncRunner.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/checkUploaded.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/reporterHTML.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/downloadBuildStacktrace.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/package-diff.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/accessibility-automation/helper.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/accessibility-automation/constants.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/commands/stop.js":["5bfb514c-7f4c-4d7d-a340-aea45b6df22a","ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/accessibility-automation/cypress/index.js":["ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/accessibility-automation/plugin/index.js":["ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/requireModule.js":["ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/runner.js":["ad864605-6250-44da-a38d-e3fc5d9d3d7d","c6e6f4da-56a6-437e-b5f0-82d29d9536e6","dc944854-f4c9-49a2-a907-b8eacbe61ea2"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/testObservability/cypress/index.js":["ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/testObservability/plugin/index.js":["ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/testObservability/plugin/ipcClient.js":["ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/testObservability/plugin/ipcServer.js":["ad864605-6250-44da-a38d-e3fc5d9d3d7d"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/testObservability/reporter/index.js":["ad864605-6250-44da-a38d-e3fc5d9d3d7d"]},"externalIds":{}}
{"processes":{"2db2627f-2e11-464d-ae01-f6230871649b":{"parent":null,"children":[]},"4c186da0-310d-4c8d-8094-a12765ea5729":{"parent":null,"children":["4ece437f-21da-4310-a4f4-6b7e2c9c758c"]},"4ece437f-21da-4310-a4f4-6b7e2c9c758c":{"parent":"4c186da0-310d-4c8d-8094-a12765ea5729","children":[]}},"files":{"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/accessibility-automation/constants.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/accessibility-automation/cypress/index.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/accessibility-automation/helper.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/accessibility-automation/plugin/index.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/commands/generateDownloads.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/commands/generateReport.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/commands/info.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/commands/init.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/commands/runs.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/commands/stop.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/archiver.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/atsHelper.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/build.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/buildArtifacts.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/capabilityHelper.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/checkUploaded.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/config.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/constants.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/downloadBuildStacktrace.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/fileHelpers.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/getInitialDetails.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/hashUtil.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/helper.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/logger.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/package-diff.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/packageInstaller.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/readCypressConfigUtil.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/reporterHTML.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/requireModule.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/runnerArgs.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/sync/failedSpecsDetails.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/sync/specsSummary.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/sync/syncSpecsLogs.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/syncRunner.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/timeComponents.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/usageReporting.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/utils.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/helpers/zipUpload.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/runner.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/templates/configTemplate.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/testObservability/crashReporter/index.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/testObservability/cypress/index.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/testObservability/helper/constants.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/testObservability/helper/helper.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/testObservability/helper/requestQueueHandler.js":["2db2627f-2e11-464d-ae01-f6230871649b","4c186da0-310d-4c8d-8094-a12765ea5729"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/testObservability/plugin/index.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/testObservability/plugin/ipcClient.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/testObservability/plugin/ipcServer.js":["2db2627f-2e11-464d-ae01-f6230871649b"],"/Users/pranav/Desktop/work/bstack-setup/browserstack-cypress-cli/bin/testObservability/reporter/index.js":["2db2627f-2e11-464d-ae01-f6230871649b"]},"externalIds":{}}

@@ -110,3 +110,2 @@ const logger = require("../helpers/logger").winstonLogger;

this.setAccessibilityCypressCapabilities(user_config, response.data);
setAccessibilityEventListeners();
helper.setBrowserstackCypressCliDependency(user_config);

@@ -179,6 +178,14 @@

exports.supportFileCleanup = () => {
logger.debug("Cleaning up support file changes added for accessibility. ")
logger.debug("Cleaning up support file changes added for accessibility.")
Object.keys(supportFileContentMap).forEach(file => {
try {
fs.writeFileSync(file, supportFileContentMap[file], {encoding: 'utf-8'});
if(typeof supportFileContentMap[file] === 'object') {
let fileOrDirpath = file;
if(supportFileContentMap[file].deleteSupportDir) {
fileOrDirpath = path.join(process.cwd(), 'cypress', 'support');
}
helper.deleteSupportFileOrDir(fileOrDirpath);
} else {
fs.writeFileSync(file, supportFileContentMap[file], {encoding: 'utf-8'});
}
} catch(e) {

@@ -190,20 +197,23 @@ logger.debug(`Error while replacing file content for ${file} with it's original content with error : ${e}`, true, e);

const getAccessibilityCypressCommandEventListener = () => {
return (
const getAccessibilityCypressCommandEventListener = (extName) => {
return extName == 'js' ? (
`require('browserstack-cypress-cli/bin/accessibility-automation/cypress');`
);
) : (
`import 'browserstack-cypress-cli/bin/accessibility-automation/cypress'`
)
}
const setAccessibilityEventListeners = () => {
exports.setAccessibilityEventListeners = (bsConfig) => {
try {
const cypressCommandEventListener = getAccessibilityCypressCommandEventListener();
// Searching form command.js recursively
glob(process.cwd() + '/**/cypress/support/*.js', {}, (err, files) => {
const supportFilesData = helper.getSupportFiles(bsConfig, true);
if(!supportFilesData.supportFile) return;
glob(process.cwd() + supportFilesData.supportFile, {}, (err, files) => {
if(err) return logger.debug('EXCEPTION IN BUILD START EVENT : Unable to parse cypress support files');
files.forEach(file => {
try {
if(!file.includes('commands.js')) {
if(!file.includes('commands.js') && !file.includes('commands.ts')) {
const defaultFileContent = fs.readFileSync(file, {encoding: 'utf-8'});
let cypressCommandEventListener = getAccessibilityCypressCommandEventListener(path.extname(file));
if(!defaultFileContent.includes(cypressCommandEventListener)) {

@@ -215,3 +225,3 @@ let newFileContent = defaultFileContent +

fs.writeFileSync(file, newFileContent, {encoding: 'utf-8'});
supportFileContentMap[file] = defaultFileContent;
supportFileContentMap[file] = supportFilesData.cleanupParams ? supportFilesData.cleanupParams : defaultFileContent;
}

@@ -218,0 +228,0 @@ }

@@ -28,2 +28,3 @@ 'use strict';

launchTestSession,
setEventListeners,
setTestObservabilityFlags,

@@ -37,2 +38,3 @@ runCypressTestsLocally,

createAccessibilityTestRun,
setAccessibilityEventListeners,
checkAccessibilityPlatform,

@@ -151,3 +153,3 @@ supportFileCleanup

utils.setCypressNpmDependency(bsConfig);
if (isAccessibilitySession && isBrowserstackInfra) {

@@ -211,2 +213,8 @@ await createAccessibilityTestRun(bsConfig);

return capabilityHelper.validate(bsConfig, args).then(function (cypressConfigFile) {
if(process.env.BROWSERSTACK_TEST_ACCESSIBILITY) {
setAccessibilityEventListeners(bsConfig);
}
if(process.env.BS_TESTOPS_BUILD_COMPLETED) {
// setEventListeners(bsConfig);
}
markBlockEnd('validateConfig');

@@ -213,0 +221,0 @@ logger.debug("Completed configs validation");

@@ -19,2 +19,3 @@ /* Helper methods used by Accessibility and Observability */

const pGitconfig = promisify(gitconfig);
const { readCypressConfigFile } = require('./readCypressConfigUtil');
const CrashReporter = require('../testObservability/crashReporter');

@@ -317,1 +318,74 @@

}
exports.deleteSupportFileOrDir = (fileOrDirPath) => {
try {
// Sanitize the input to remove any characters that could be used for directory traversal
const sanitizedPath = fileOrDirPath.replace(/(\.\.\/|\.\/|\/\/)/g, '');
const resolvedPath = path.resolve(sanitizedPath);
if (fs.existsSync(resolvedPath)) {
if (fs.lstatSync(resolvedPath).isDirectory()) {
fs.readdirSync(resolvedPath).forEach((file) => {
const sanitizedFile = file.replace(/(\.\.\/|\.\/|\/\/)/g, '');
const currentPath = path.join(resolvedPath, sanitizedFile);
fs.unlinkSync(currentPath);
});
fs.rmdirSync(resolvedPath);
} else {
fs.unlinkSync(resolvedPath);
}
}
} catch(err) {}
}
exports.getSupportFiles = (bsConfig, isA11y) => {
let extension = null;
try {
extension = bsConfig.run_settings.cypress_config_file.split('.').pop();
} catch (err) {}
let supportFile = '/**/cypress/support/**/*.{js,ts}';
let cleanupParams = {};
let userSupportFile = null;
try {
const completeCypressConfigFile = readCypressConfigFile(bsConfig)
let cypressConfigFile = {};
if (!utils.isUndefined(completeCypressConfigFile)) {
cypressConfigFile = !utils.isUndefined(completeCypressConfigFile.default) ? completeCypressConfigFile.default : completeCypressConfigFile
}
userSupportFile = cypressConfigFile.e2e?.supportFile !== null ? cypressConfigFile.e2e?.supportFile : cypressConfigFile.component?.supportFile !== null ? cypressConfigFile.component?.supportFile : cypressConfigFile.supportFile;
if(userSupportFile == false && extension) {
const supportFolderPath = path.join(process.cwd(), 'cypress', 'support');
if (!fs.existsSync(supportFolderPath)) {
fs.mkdirSync(supportFolderPath);
cleanupParams.deleteSupportDir = true;
}
const sanitizedExtension = extension.replace(/(\.\.\/|\.\/|\/\/)/g, '');
const supportFilePath = path.join(supportFolderPath, `tmpBstackSupportFile.${sanitizedExtension}`);
fs.writeFileSync(supportFilePath, "");
supportFile = `/cypress/support/tmpBstackSupportFile.${sanitizedExtension}`;
const currEnvVars = bsConfig.run_settings.system_env_vars;
const supportFileEnv = `CYPRESS_SUPPORT_FILE=${supportFile.substring(1)}`;
if(!currEnvVars) {
bsConfig.run_settings.system_env_vars = [supportFileEnv];
} else {
bsConfig.run_settings.system_env_vars = [...currEnvVars, supportFileEnv];
}
cleanupParams.deleteSupportFile = true;
} else if(typeof userSupportFile == 'string') {
if (userSupportFile.startsWith('${') && userSupportFile.endsWith('}')) {
/* Template strings to reference environment variables */
const envVar = userSupportFile.substring(2, userSupportFile.length - 1);
supportFile = process.env[envVar];
} else {
/* Single file / glob pattern */
supportFile = userSupportFile;
}
} else if(Array.isArray(userSupportFile)) {
supportFile = userSupportFile[0];
}
} catch (err) {}
if(supportFile && supportFile[0] != '/') supportFile = '/' + supportFile;
return {
supportFile,
cleanupParams: Object.keys(cleanupParams).length ? cleanupParams : null
};
}

@@ -69,3 +69,11 @@ const fs = require('fs');

try {
fs.writeFileSync(file, supportFileContentMap[file], {encoding: 'utf-8'});
if(typeof supportFileContentMap[file] === 'object') {
let fileOrDirpath = file;
if(supportFileContentMap[file].deleteSupportDir) {
fileOrDirpath = path.join(process.cwd(), 'cypress', 'support');
}
helper.deleteSupportFileOrDir(fileOrDirpath);
} else {
fs.writeFileSync(file, supportFileContentMap[file], {encoding: 'utf-8'});
}
} catch(e) {

@@ -245,12 +253,15 @@ exports.debug(`Error while replacing file content for ${file} with it's original content with error : ${e}`, true, e);

const getCypressCommandEventListener = () => {
return (
const getCypressCommandEventListener = (isJS) => {
return isJS ? (
`require('browserstack-cypress-cli/bin/testObservability/cypress');`
);
) : (
`import 'browserstack-cypress-cli/bin/testObservability/cypress'`
)
}
const setEventListeners = () => {
exports.setEventListeners = (bsConfig) => {
try {
const cypressCommandEventListener = getCypressCommandEventListener();
glob(process.cwd() + '/cypress/support/*.js', {}, (err, files) => {
const supportFilesData = helper.getSupportFiles(bsConfig, false);
if(!supportFilesData.supportFile) return;
glob(process.cwd() + supportFilesData.supportFile, {}, (err, files) => {
if(err) return exports.debug('EXCEPTION IN BUILD START EVENT : Unable to parse cypress support files');

@@ -262,2 +273,3 @@ files.forEach(file => {

let cypressCommandEventListener = getCypressCommandEventListener(file.includes('js'));
if(!defaultFileContent.includes(cypressCommandEventListener)) {

@@ -269,3 +281,3 @@ let newFileContent = defaultFileContent +

fs.writeFileSync(file, newFileContent, {encoding: 'utf-8'});
supportFileContentMap[file] = defaultFileContent;
supportFileContentMap[file] = supportFilesData.cleanupParams ? supportFilesData.cleanupParams : defaultFileContent;
}

@@ -386,3 +398,2 @@ }

setEnvironmentVariablesForRemoteReporter(response.data.jwt, response.data.build_hashed_id, response.data.allow_screenshots, data.observability_version.sdkVersion);
// setEventListeners();
if(this.isBrowserstackInfra()) helper.setBrowserstackCypressCliDependency(user_config);

@@ -812,2 +823,3 @@ } catch(error) {

const getReRunSpecs = (rawArgs) => {
let finalArgs = rawArgs;
if (this.isTestObservabilitySession() && this.shouldReRunObservabilityTests()) {

@@ -825,6 +837,5 @@ let startIdx = -1, numEle = 0;

if(startIdx != -1) rawArgs.splice(startIdx, numEle + 1);
return [...rawArgs, '--spec', process.env.BROWSERSTACK_RERUN_TESTS];
} else {
return rawArgs;
finalArgs = [...rawArgs, '--spec', process.env.BROWSERSTACK_RERUN_TESTS];
}
return finalArgs.filter(item => item !== '--disable-test-observability' && item !== '--disable-browserstack-automation');
}

@@ -831,0 +842,0 @@

{
"name": "browserstack-cypress-cli",
"version": "1.29.0",
"version": "1.29.1",
"description": "BrowserStack Cypress CLI for Cypress integration with BrowserStack's remote devices.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc