-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: bump detox to 20.32.0 #13344
base: main
Are you sure you want to change the base?
chore: bump detox to 20.32.0 #13344
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Updated dependencies detected. Learn more about Socket for GitHub ↗︎
|
🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎ To accept the risk, merge this PR and you will not be notified again.
Next stepsWhat is an install script?Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts. Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead. What is shell access?This module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code. Packages should avoid accessing the shell which can reduce portability, and make it easier for malicious shell access to be introduced. What is network access?This module accesses the network. Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use. Take a deeper look at the dependencyTake a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev. Remove the packageIf you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency. Mark a package as acceptable riskTo ignore an alert, reply with a comment starting with
|
@@ -288,7 +288,7 @@ dependencies { | |||
} else { | |||
implementation jscFlavor | |||
} | |||
androidTestImplementation('com.wix:detox-legacy:+') { | |||
androidTestImplementation('com.wix:detox:+') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change was to address build issue with latest version of detox to use latest packages.
@@ -4,7 +4,7 @@ buildscript { | |||
|
|||
ext { | |||
buildToolsVersion = "34.0.0" | |||
minSdkVersion = project.hasProperty('minSdkVersion') ? project.getProperty('minSdkVersion') : 23 | |||
minSdkVersion = project.hasProperty('minSdkVersion') ? project.getProperty('minSdkVersion') : 24 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change was to address build issue with latest version of detox to use minSdkVersion 24.
@@ -459,7 +459,7 @@ | |||
"browserstack-local": "^1.5.1", | |||
"chromedriver": "^123.0.1", | |||
"depcheck": "^1.4.7", | |||
"detox": "^20.27.5", | |||
"detox": "20.32.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bump detox to this version.
detox-copilot@^0.0.27: | ||
version "0.0.27" | ||
resolved "https://registry.yarnpkg.com/detox-copilot/-/detox-copilot-0.0.27.tgz#350ee91ae6ba77acac78513ccbda7aafcb3c6faf" | ||
integrity sha512-H2febTNp0arVx2A8rvM1C2BwDiBEP/2Ya8Hd1mVyV66rR5u8om1gdIypaRGm+plpTLCHhlefe4+7qLtHgVzpng== | ||
|
||
detox@^20.27.5: | ||
version "20.27.5" | ||
resolved "https://registry.yarnpkg.com/detox/-/detox-20.27.5.tgz#f67d1a0c9ddbb2b6edb838e1b32c63b486be66ea" | ||
integrity sha512-JBe3fONwaSxYubd/36SZh3c2MaYs+Cx7sOA4GJfh16QTyoB7XvvbGrSlQDTbag/f0j5RZt4judPtg5A3P1/Uhg== | ||
detox@20.32.0: | ||
version "20.32.0" | ||
resolved "https://registry.yarnpkg.com/detox/-/detox-20.32.0.tgz#d10f4ba91ed1c4b2c39eaf9db01935560b2e962a" | ||
integrity sha512-xi2FSkoZ+8XYbfOFaMpC1uMKiuRlx0AXjnzTwuCGxjCsntM+YIU/zlACRjmsIAH4pHt7yVlJeV8xZyVGqIeeOg== | ||
dependencies: | ||
ajv "^8.6.3" | ||
bunyan "^1.8.12" | ||
bunyan-debug-stream "^3.1.0" | ||
caf "^15.0.1" | ||
chalk "^4.0.0" | ||
child-process-promise "^2.2.0" | ||
detox-copilot "^0.0.23" | ||
detox-copilot "^0.0.27" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yarn.lock changes after running yarn add [email protected]
|
|
Description
Bump detox to version 20.32.0.
![image](https://private-user-images.githubusercontent.com/6626407/410674738-f8e74eb9-0c90-4793-ab8c-45c9069d87d4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxOTA1MjUsIm5iZiI6MTczOTE5MDIyNSwicGF0aCI6Ii82NjI2NDA3LzQxMDY3NDczOC1mOGU3NGViOS0wYzkwLTQ3OTMtYWI4Yy00NWM5MDY5ZDg3ZDQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMTIyMzQ1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmEzZmVlYTZkMTQxOGVjOWFjZmFiZDkxYTE2ZmZkNTAwOWRhOGQyZDkwMzUwYjUxNGM5MGU0OWFjZTIzODE4NyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.aduk7lCVwZ6T9WDjS4uc6f-eLKU1y76TJg8mkj5dj_8)
This will also require bumping minSdk version.
According to cursor...
Related issues
Related: #13321
Manual testing steps
Should continue to be able to run e2e locally.
Should continue to be able to run e2e on bitrise.
Screenshots/Recordings
Before
After
See link issue.
Pre-merge author checklist
Pre-merge reviewer checklist