Compare commits

..
Author SHA1 Message Date
dependabot[bot] 8dbf04b386 Bump jest-circus from 30.5.1 to 30.5.2
Bumps [jest-circus](https://github.com/jestjs/jest/tree/HEAD/packages/jest-circus) from 30.5.1 to 30.5.2.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v30.5.2/packages/jest-circus)

---
updated-dependencies:
- dependency-name: jest-circus
  dependency-version: 30.5.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-21 16:52:57 +00:00
Vilius Sutkus '89 035682743a [CI] Add 15859902 to test matrix
(This was supposed to be added during previous commits)
2026-09-17 14:30:37 -05:00
Vilius Sutkus '89 be39fa8340 Update README.md with version 15859902 (22.0) 2026-09-17 13:37:30 -05:00
Vilius Sutkus '89 1f87d5b2a1 Add version 15859902 (22.0), default it and update macOS url for it. 2026-09-17 13:35:46 -05:00
7 changed files with 660 additions and 32 deletions

No files matched your search

+1
View File
@@ -66,6 +66,7 @@ jobs:
- windows-2025
- windows-2022
cmdline-tools-version:
- 15859902
- 14742923
- 12266719
- 11479570
+2 -1
View File
@@ -85,7 +85,7 @@ and `uiautomatorviewer` were dropped without one.
Command line tools are versioned using two variables - short and long.
Long one is the build number, used in the zip URL, short one is the human friendly version name.
By default, setup-android installs version 14742923 (short version 20.0).
By default, setup-android installs version 15859902 (short version 22.0).
To install a different version, call setup-android with desired long version as the input parameter `cmdline-tools-version`:
```yaml
@@ -98,6 +98,7 @@ To install a different version, call setup-android with desired long version as
#### Version table
| Short version | Long version |
|---------------| --- |
| 22.0 | 15859902 |
| 20.0 | 14742923 |
| 16.0 | 12266719 |
| 13.0 | 11479570 |
+1 -1
View File
@@ -6,7 +6,7 @@ inputs:
cmdline-tools-version:
description: 'cmdline-tools-version. See https://developer.android.com/studio#command-line-tools-only'
required: false
default: '14742923'
default: '15859902'
accept-android-sdk-licenses:
description: 'Android SDK is usable only after the license agreement. Should setup-android agree to the licences, provided by "sdkmanager --licenses"'
+8 -1
View File
@@ -23152,6 +23152,8 @@ var fs4 = __toESM(require("fs"));
var os6 = __toESM(require("os"));
function getVersionShort(versionLong) {
switch (versionLong) {
case "15859902":
return "22.0";
case "14742923":
return "20.0";
case "12266719":
@@ -23184,6 +23186,7 @@ if (VERSION_LONG.includes("/") || VERSION_LONG.includes("\\")) {
var VERSION_SHORT = getVersionShort(VERSION_LONG);
var COMMANDLINE_TOOLS_WIN_URL = `https://dl.google.com/android/repository/commandlinetools-win-${VERSION_LONG}_latest.zip`;
var COMMANDLINE_TOOLS_MAC_URL = `https://dl.google.com/android/repository/commandlinetools-mac-${VERSION_LONG}_latest.zip`;
var COMMANDLINE_TOOLS_MAC_ARM64_URL = `https://dl.google.com/android/repository/commandlinetools-mac_arm64-${VERSION_LONG}_latest.zip`;
var COMMANDLINE_TOOLS_LIN_URL = `https://dl.google.com/android/repository/commandlinetools-linux-${VERSION_LONG}_latest.zip`;
var ANDROID_HOME_SDK_DIR = path6.join(os6.homedir(), ".android", "sdk");
var ANDROID_SDK_ROOT = process.env["ANDROID_SDK_ROOT"] || ANDROID_HOME_SDK_DIR;
@@ -23218,7 +23221,11 @@ async function installSdkManager() {
if (process.platform === "linux") {
cmdlineToolsURL = COMMANDLINE_TOOLS_LIN_URL;
} else if (process.platform === "darwin") {
cmdlineToolsURL = COMMANDLINE_TOOLS_MAC_URL;
if (Number(VERSION_LONG) >= 15859902) {
cmdlineToolsURL = COMMANDLINE_TOOLS_MAC_ARM64_URL;
} else {
cmdlineToolsURL = COMMANDLINE_TOOLS_MAC_URL;
}
} else if (process.platform === "win32") {
cmdlineToolsURL = COMMANDLINE_TOOLS_WIN_URL;
} else {
+639 -27
View File
@@ -23,7 +23,7 @@
"eslint-plugin-jest": "^29.16.6",
"globals": "^17.12.0",
"jest": "^30.5.1",
"jest-circus": "^30.3.0",
"jest-circus": "^30.5.2",
"js-yaml": "^5.4.2",
"prettier": "^3.9.7",
"ts-jest": "^29.4.12",
@@ -4410,25 +4410,26 @@
}
},
"node_modules/jest-circus": {
"version": "30.5.1",
"resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-30.5.1.tgz",
"integrity": "sha512-NgliezXQ6yznqR4W5Gqw++0cZSbBZlF0NknNIAE5VmSJKWOtmWJmWnBq3TSkUOVBTPrT7FGGhVdA8DLWnxo2Sw==",
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-30.5.2.tgz",
"integrity": "sha512-vffFgjs5JSJ9q4ds1vNW3klKYPJfYfIY61LT/zaZgvTeASJOWZUt8LBfHgIcV4rwxlPBLl/ePBGccHEclS4PlQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jest/environment": "30.5.1",
"@jest/expect": "30.5.1",
"@jest/test-result": "30.5.1",
"@jest/environment": "30.5.2",
"@jest/expect": "30.5.2",
"@jest/test-result": "30.5.2",
"@jest/types": "30.5.1",
"@types/node": "*",
"chalk": "^4.1.2",
"co": "^4.6.0",
"dedent": "^1.6.0",
"is-generator-fn": "^2.1.0",
"jest-each": "30.5.1",
"jest-matcher-utils": "30.5.1",
"jest-each": "30.5.2",
"jest-matcher-utils": "30.5.2",
"jest-message-util": "30.5.1",
"jest-runtime": "30.5.1",
"jest-snapshot": "30.5.1",
"jest-runtime": "30.5.2",
"jest-snapshot": "30.5.2",
"jest-util": "30.5.1",
"p-limit": "^3.1.0",
"pretty-format": "30.5.1",
@@ -4440,6 +4441,293 @@
"node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
"node_modules/jest-circus/node_modules/@jest/console": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/@jest/console/-/console-30.5.2.tgz",
"integrity": "sha512-e8sQC4pCMHPBrPX7Hk8TJr+DM5dkUnImSTNag8SEWFAFAF6xIz4AJvCKapnrdHnZxep4bxw4PhG+ZbimYBMyKw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "30.5.1",
"@types/node": "*",
"chalk": "^4.1.2",
"jest-message-util": "30.5.1",
"jest-util": "30.5.1",
"slash": "^3.0.0"
},
"engines": {
"node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
"node_modules/jest-circus/node_modules/@jest/environment": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/@jest/environment/-/environment-30.5.2.tgz",
"integrity": "sha512-nwFPOUMbmsjNNRCpnJpB9HbSZu4C07wDDds++5j+j1MezzPLxMPDdbdUVjr2o4RULDOValnDd70taPFI1EtxAg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jest/fake-timers": "30.5.2",
"@jest/types": "30.5.1",
"@types/node": "*",
"jest-mock": "30.5.2"
},
"engines": {
"node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
"node_modules/jest-circus/node_modules/@jest/expect": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/@jest/expect/-/expect-30.5.2.tgz",
"integrity": "sha512-2E+1Pg6jJxbRjLNLpciC71iri/3qsKJL222/aXJEFwC0VdUSvfS+JZQQLEVjUYYc8t8pQu2MGE3cF2+bNTYRsg==",
"dev": true,
"license": "MIT",
"dependencies": {
"expect": "30.5.2",
"jest-snapshot": "30.5.2"
},
"engines": {
"node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
"node_modules/jest-circus/node_modules/@jest/expect-utils": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-30.5.2.tgz",
"integrity": "sha512-d/HOLSrJUlBIl6n3LzOa7cjW3xdePm5H5gQw2lixZ/0h157l9sw3mLblzFqnPcTbhDzhRQdBOX3A3KcG73nm5Q==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jest/get-type": "30.5.0"
},
"engines": {
"node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
"node_modules/jest-circus/node_modules/@jest/fake-timers": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-30.5.2.tgz",
"integrity": "sha512-GKk0h0tKT5SpDPxDhPg3r9mm5s8/YCBzVNMOGdRiQXwUiMsjU10mVPlMaQstH6/cu50vOb8N9oQUMETHuwwxKw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "30.5.1",
"@sinonjs/fake-timers": "^15.4.0",
"@types/node": "*",
"jest-message-util": "30.5.1",
"jest-mock": "30.5.2",
"jest-util": "30.5.1"
},
"engines": {
"node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
"node_modules/jest-circus/node_modules/@jest/globals": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/@jest/globals/-/globals-30.5.2.tgz",
"integrity": "sha512-62zfS+dL+M5aTNHXCNLyqD+j4oqxTIzDYrZbpqMP8Yn+gvlAGyzC6BSPNb1ZmFOakV1RtFYX/O3FCQXSWmQdgg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jest/environment": "30.5.2",
"@jest/expect": "30.5.2",
"@jest/types": "30.5.1",
"jest-mock": "30.5.2"
},
"engines": {
"node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
"node_modules/jest-circus/node_modules/@jest/source-map": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-30.5.2.tgz",
"integrity": "sha512-c5CehvkbfHX6yyNg7bMn2ylqlp9AHXuZ/3hPH/Lh5bxD/vefd/lV9HBjMqXef9yQNqkdwyZvkLSVSwB38hy8Qw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jridgewell/trace-mapping": "^0.3.31",
"callsites": "^3.1.0",
"convert-source-map": "^2.0.0",
"graceful-fs": "^4.2.11"
},
"engines": {
"node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
"node_modules/jest-circus/node_modules/@jest/test-result": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-30.5.2.tgz",
"integrity": "sha512-eO6YU5rsLfs60ne694e0IAmRgeBnoA8mu0nlxXDbl/1j5km0o2vO9/VbbUIKIH+WRKKEI+ELgwraRGn2Lhep8g==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jest/console": "30.5.2",
"@jest/types": "30.5.1",
"@types/istanbul-lib-coverage": "^2.0.6",
"collect-v8-coverage": "^1.0.2"
},
"engines": {
"node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
"node_modules/jest-circus/node_modules/@jest/transform": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/@jest/transform/-/transform-30.5.2.tgz",
"integrity": "sha512-LBGwmaE886C41jDZ65eqR1YbXM7642MK3ZhTowZd5+xDlrDLuf4ePuDdDmVSvcr8NTVJ3MqxLkMbUCzuigUaoQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/core": "^7.27.4",
"@jest/types": "30.5.1",
"@jridgewell/trace-mapping": "^0.3.31",
"babel-plugin-istanbul": "^8.0.0",
"chalk": "^4.1.2",
"convert-source-map": "^2.0.0",
"fast-json-stable-stringify": "^2.1.0",
"graceful-fs": "^4.2.11",
"jest-haste-map": "30.5.1",
"jest-regex-util": "30.5.0",
"jest-util": "30.5.1",
"pirates": "^4.0.7",
"slash": "^3.0.0",
"write-file-atomic": "^5.0.1"
},
"engines": {
"node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
"node_modules/jest-circus/node_modules/expect": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/expect/-/expect-30.5.2.tgz",
"integrity": "sha512-0LNuMvs8/5mRYhnCR4k+lGV7fqPMs6Bnksda4S3zsCUmdxBpAn4zU4NNzXdq1pMKe/H4W5t/zVIDSJ/H3e0vDA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jest/expect-utils": "30.5.2",
"@jest/get-type": "30.5.0",
"jest-matcher-utils": "30.5.2",
"jest-message-util": "30.5.1",
"jest-mock": "30.5.2",
"jest-util": "30.5.1"
},
"engines": {
"node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
"node_modules/jest-circus/node_modules/jest-diff": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-30.5.2.tgz",
"integrity": "sha512-rBtHnI6BWTiWj3lM7fOLVfChx7R9B0u9VV3PRHawKs79x6ZjW1QoSrKenaigNGWlvhtoi2BqvDbABDie+Os3xQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jest/diff-sequences": "30.5.0",
"@jest/get-type": "30.5.0",
"chalk": "^4.1.2",
"pretty-format": "30.5.1"
},
"engines": {
"node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
"node_modules/jest-circus/node_modules/jest-matcher-utils": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-30.5.2.tgz",
"integrity": "sha512-lFkB365PTIHOhPzwrb9T6gvlDnPpOZ7/c3ewOKKB7bzztqjVrtlyRL2MkyfJXpyY2u2SKw001JKrTx14fBUFcQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jest/get-type": "30.5.0",
"chalk": "^4.1.2",
"jest-diff": "30.5.2",
"pretty-format": "30.5.1"
},
"engines": {
"node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
"node_modules/jest-circus/node_modules/jest-mock": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-30.5.2.tgz",
"integrity": "sha512-KTHb37Fhj8xY8qPFvTFaFJHcdsumQp+ExsUlgoX232Agmc706gagBs53+CYvulV7MVQo9AgXOUxsqzzVBoJlrA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jest/expect-utils": "30.5.2",
"@jest/types": "30.5.1",
"@types/node": "*",
"jest-util": "30.5.1"
},
"engines": {
"node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
"node_modules/jest-circus/node_modules/jest-runtime": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-30.5.2.tgz",
"integrity": "sha512-0paUAHBlheai10A3XSy9Xh+YBG0IROy+/qzcDPzQ/nbbXrznQzeWy5qniICWK6d3W3scaRQCVAbXdcK0ibBq4w==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jest/environment": "30.5.2",
"@jest/fake-timers": "30.5.2",
"@jest/globals": "30.5.2",
"@jest/source-map": "30.5.2",
"@jest/test-result": "30.5.2",
"@jest/transform": "30.5.2",
"@jest/types": "30.5.1",
"@types/node": "*",
"chalk": "^4.1.2",
"cjs-module-lexer": "^2.2.0",
"collect-v8-coverage": "^1.0.2",
"es-module-lexer": "^2.1.0",
"glob": "^13.0.6",
"graceful-fs": "^4.2.11",
"jest-haste-map": "30.5.1",
"jest-message-util": "30.5.1",
"jest-mock": "30.5.2",
"jest-regex-util": "30.5.0",
"jest-resolve": "30.5.1",
"jest-snapshot": "30.5.2",
"jest-util": "30.5.1",
"slash": "^3.0.0",
"strip-bom": "^4.0.0"
},
"engines": {
"node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
"node_modules/jest-circus/node_modules/jest-snapshot": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-30.5.2.tgz",
"integrity": "sha512-jKIdes25AnAH73dOCi2qE6J6vHJ6L2vyBS11M89kT50DVJcLTf2AOjvcc+2vVaN8lUbY5v2R83aqXo3Ro9fqYA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/core": "^7.27.4",
"@babel/generator": "^7.27.5",
"@babel/plugin-syntax-jsx": "^7.27.1",
"@babel/plugin-syntax-typescript": "^7.27.1",
"@babel/types": "^7.27.3",
"@jest/expect-utils": "30.5.2",
"@jest/get-type": "30.5.0",
"@jest/snapshot-utils": "30.5.1",
"@jest/transform": "30.5.2",
"@jest/types": "30.5.1",
"babel-preset-current-node-syntax": "^1.2.0",
"chalk": "^4.1.2",
"expect": "30.5.2",
"graceful-fs": "^4.2.11",
"jest-diff": "30.5.2",
"jest-matcher-utils": "30.5.2",
"jest-message-util": "30.5.1",
"jest-util": "30.5.1",
"pretty-format": "30.5.1",
"semver": "^7.7.2",
"synckit": "^0.11.8"
},
"engines": {
"node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
"node_modules/jest-cli": {
"version": "30.5.1",
"resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-30.5.1.tgz",
@@ -4522,6 +4810,55 @@
}
}
},
"node_modules/jest-config/node_modules/jest-circus": {
"version": "30.5.1",
"resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-30.5.1.tgz",
"integrity": "sha512-NgliezXQ6yznqR4W5Gqw++0cZSbBZlF0NknNIAE5VmSJKWOtmWJmWnBq3TSkUOVBTPrT7FGGhVdA8DLWnxo2Sw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jest/environment": "30.5.1",
"@jest/expect": "30.5.1",
"@jest/test-result": "30.5.1",
"@jest/types": "30.5.1",
"@types/node": "*",
"chalk": "^4.1.2",
"co": "^4.6.0",
"dedent": "^1.6.0",
"is-generator-fn": "^2.1.0",
"jest-each": "30.5.1",
"jest-matcher-utils": "30.5.1",
"jest-message-util": "30.5.1",
"jest-runtime": "30.5.1",
"jest-snapshot": "30.5.1",
"jest-util": "30.5.1",
"p-limit": "^3.1.0",
"pretty-format": "30.5.1",
"pure-rand": "^7.0.0",
"slash": "^3.0.0",
"stack-utils": "^2.0.6"
},
"engines": {
"node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
"node_modules/jest-config/node_modules/jest-each": {
"version": "30.5.1",
"resolved": "https://registry.npmjs.org/jest-each/-/jest-each-30.5.1.tgz",
"integrity": "sha512-S1af0TU4v1EZ/AUlkFs/sxf/5KGsbAT9kRgdyoMX/x72y7C8ZEgETE5o1TPnbKRnrbprc5FR/moYLfdRmqEjsQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jest/get-type": "30.5.0",
"@jest/types": "30.5.1",
"chalk": "^4.1.2",
"jest-util": "30.5.1",
"pretty-format": "30.5.1"
},
"engines": {
"node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
"node_modules/jest-diff": {
"version": "30.5.1",
"resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-30.5.1.tgz",
@@ -4550,14 +4887,16 @@
}
},
"node_modules/jest-each": {
"version": "30.5.1",
"resolved": "https://registry.npmjs.org/jest-each/-/jest-each-30.5.1.tgz",
"integrity": "sha512-S1af0TU4v1EZ/AUlkFs/sxf/5KGsbAT9kRgdyoMX/x72y7C8ZEgETE5o1TPnbKRnrbprc5FR/moYLfdRmqEjsQ==",
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/jest-each/-/jest-each-30.5.2.tgz",
"integrity": "sha512-GRrW+7fmmgmkvyfEBqc1QFdWnF1Ex5yG6Y6AWL4TTxnkWlKIT98dsKh3P3UuWm6v4XsQwVE6DEzXIPMzWJ3ZbA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jest/get-type": "30.5.0",
"@jest/types": "30.5.1",
"chalk": "^4.1.2",
"jest-regex-util": "30.5.0",
"jest-util": "30.5.1",
"pretty-format": "30.5.1"
},
@@ -9168,31 +9507,260 @@
}
},
"jest-circus": {
"version": "30.5.1",
"resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-30.5.1.tgz",
"integrity": "sha512-NgliezXQ6yznqR4W5Gqw++0cZSbBZlF0NknNIAE5VmSJKWOtmWJmWnBq3TSkUOVBTPrT7FGGhVdA8DLWnxo2Sw==",
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-30.5.2.tgz",
"integrity": "sha512-vffFgjs5JSJ9q4ds1vNW3klKYPJfYfIY61LT/zaZgvTeASJOWZUt8LBfHgIcV4rwxlPBLl/ePBGccHEclS4PlQ==",
"dev": true,
"requires": {
"@jest/environment": "30.5.1",
"@jest/expect": "30.5.1",
"@jest/test-result": "30.5.1",
"@jest/environment": "30.5.2",
"@jest/expect": "30.5.2",
"@jest/test-result": "30.5.2",
"@jest/types": "30.5.1",
"@types/node": "*",
"chalk": "^4.1.2",
"co": "^4.6.0",
"dedent": "^1.6.0",
"is-generator-fn": "^2.1.0",
"jest-each": "30.5.1",
"jest-matcher-utils": "30.5.1",
"jest-each": "30.5.2",
"jest-matcher-utils": "30.5.2",
"jest-message-util": "30.5.1",
"jest-runtime": "30.5.1",
"jest-snapshot": "30.5.1",
"jest-runtime": "30.5.2",
"jest-snapshot": "30.5.2",
"jest-util": "30.5.1",
"p-limit": "^3.1.0",
"pretty-format": "30.5.1",
"pure-rand": "^7.0.0",
"slash": "^3.0.0",
"stack-utils": "^2.0.6"
},
"dependencies": {
"@jest/console": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/@jest/console/-/console-30.5.2.tgz",
"integrity": "sha512-e8sQC4pCMHPBrPX7Hk8TJr+DM5dkUnImSTNag8SEWFAFAF6xIz4AJvCKapnrdHnZxep4bxw4PhG+ZbimYBMyKw==",
"dev": true,
"requires": {
"@jest/types": "30.5.1",
"@types/node": "*",
"chalk": "^4.1.2",
"jest-message-util": "30.5.1",
"jest-util": "30.5.1",
"slash": "^3.0.0"
}
},
"@jest/environment": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/@jest/environment/-/environment-30.5.2.tgz",
"integrity": "sha512-nwFPOUMbmsjNNRCpnJpB9HbSZu4C07wDDds++5j+j1MezzPLxMPDdbdUVjr2o4RULDOValnDd70taPFI1EtxAg==",
"dev": true,
"requires": {
"@jest/fake-timers": "30.5.2",
"@jest/types": "30.5.1",
"@types/node": "*",
"jest-mock": "30.5.2"
}
},
"@jest/expect": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/@jest/expect/-/expect-30.5.2.tgz",
"integrity": "sha512-2E+1Pg6jJxbRjLNLpciC71iri/3qsKJL222/aXJEFwC0VdUSvfS+JZQQLEVjUYYc8t8pQu2MGE3cF2+bNTYRsg==",
"dev": true,
"requires": {
"expect": "30.5.2",
"jest-snapshot": "30.5.2"
}
},
"@jest/expect-utils": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-30.5.2.tgz",
"integrity": "sha512-d/HOLSrJUlBIl6n3LzOa7cjW3xdePm5H5gQw2lixZ/0h157l9sw3mLblzFqnPcTbhDzhRQdBOX3A3KcG73nm5Q==",
"dev": true,
"requires": {
"@jest/get-type": "30.5.0"
}
},
"@jest/fake-timers": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-30.5.2.tgz",
"integrity": "sha512-GKk0h0tKT5SpDPxDhPg3r9mm5s8/YCBzVNMOGdRiQXwUiMsjU10mVPlMaQstH6/cu50vOb8N9oQUMETHuwwxKw==",
"dev": true,
"requires": {
"@jest/types": "30.5.1",
"@sinonjs/fake-timers": "^15.4.0",
"@types/node": "*",
"jest-message-util": "30.5.1",
"jest-mock": "30.5.2",
"jest-util": "30.5.1"
}
},
"@jest/globals": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/@jest/globals/-/globals-30.5.2.tgz",
"integrity": "sha512-62zfS+dL+M5aTNHXCNLyqD+j4oqxTIzDYrZbpqMP8Yn+gvlAGyzC6BSPNb1ZmFOakV1RtFYX/O3FCQXSWmQdgg==",
"dev": true,
"requires": {
"@jest/environment": "30.5.2",
"@jest/expect": "30.5.2",
"@jest/types": "30.5.1",
"jest-mock": "30.5.2"
}
},
"@jest/source-map": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-30.5.2.tgz",
"integrity": "sha512-c5CehvkbfHX6yyNg7bMn2ylqlp9AHXuZ/3hPH/Lh5bxD/vefd/lV9HBjMqXef9yQNqkdwyZvkLSVSwB38hy8Qw==",
"dev": true,
"requires": {
"@jridgewell/trace-mapping": "^0.3.31",
"callsites": "^3.1.0",
"convert-source-map": "^2.0.0",
"graceful-fs": "^4.2.11"
}
},
"@jest/test-result": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-30.5.2.tgz",
"integrity": "sha512-eO6YU5rsLfs60ne694e0IAmRgeBnoA8mu0nlxXDbl/1j5km0o2vO9/VbbUIKIH+WRKKEI+ELgwraRGn2Lhep8g==",
"dev": true,
"requires": {
"@jest/console": "30.5.2",
"@jest/types": "30.5.1",
"@types/istanbul-lib-coverage": "^2.0.6",
"collect-v8-coverage": "^1.0.2"
}
},
"@jest/transform": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/@jest/transform/-/transform-30.5.2.tgz",
"integrity": "sha512-LBGwmaE886C41jDZ65eqR1YbXM7642MK3ZhTowZd5+xDlrDLuf4ePuDdDmVSvcr8NTVJ3MqxLkMbUCzuigUaoQ==",
"dev": true,
"requires": {
"@babel/core": "^7.27.4",
"@jest/types": "30.5.1",
"@jridgewell/trace-mapping": "^0.3.31",
"babel-plugin-istanbul": "^8.0.0",
"chalk": "^4.1.2",
"convert-source-map": "^2.0.0",
"fast-json-stable-stringify": "^2.1.0",
"graceful-fs": "^4.2.11",
"jest-haste-map": "30.5.1",
"jest-regex-util": "30.5.0",
"jest-util": "30.5.1",
"pirates": "^4.0.7",
"slash": "^3.0.0",
"write-file-atomic": "^5.0.1"
}
},
"expect": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/expect/-/expect-30.5.2.tgz",
"integrity": "sha512-0LNuMvs8/5mRYhnCR4k+lGV7fqPMs6Bnksda4S3zsCUmdxBpAn4zU4NNzXdq1pMKe/H4W5t/zVIDSJ/H3e0vDA==",
"dev": true,
"requires": {
"@jest/expect-utils": "30.5.2",
"@jest/get-type": "30.5.0",
"jest-matcher-utils": "30.5.2",
"jest-message-util": "30.5.1",
"jest-mock": "30.5.2",
"jest-util": "30.5.1"
}
},
"jest-diff": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-30.5.2.tgz",
"integrity": "sha512-rBtHnI6BWTiWj3lM7fOLVfChx7R9B0u9VV3PRHawKs79x6ZjW1QoSrKenaigNGWlvhtoi2BqvDbABDie+Os3xQ==",
"dev": true,
"requires": {
"@jest/diff-sequences": "30.5.0",
"@jest/get-type": "30.5.0",
"chalk": "^4.1.2",
"pretty-format": "30.5.1"
}
},
"jest-matcher-utils": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-30.5.2.tgz",
"integrity": "sha512-lFkB365PTIHOhPzwrb9T6gvlDnPpOZ7/c3ewOKKB7bzztqjVrtlyRL2MkyfJXpyY2u2SKw001JKrTx14fBUFcQ==",
"dev": true,
"requires": {
"@jest/get-type": "30.5.0",
"chalk": "^4.1.2",
"jest-diff": "30.5.2",
"pretty-format": "30.5.1"
}
},
"jest-mock": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-30.5.2.tgz",
"integrity": "sha512-KTHb37Fhj8xY8qPFvTFaFJHcdsumQp+ExsUlgoX232Agmc706gagBs53+CYvulV7MVQo9AgXOUxsqzzVBoJlrA==",
"dev": true,
"requires": {
"@jest/expect-utils": "30.5.2",
"@jest/types": "30.5.1",
"@types/node": "*",
"jest-util": "30.5.1"
}
},
"jest-runtime": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-30.5.2.tgz",
"integrity": "sha512-0paUAHBlheai10A3XSy9Xh+YBG0IROy+/qzcDPzQ/nbbXrznQzeWy5qniICWK6d3W3scaRQCVAbXdcK0ibBq4w==",
"dev": true,
"requires": {
"@jest/environment": "30.5.2",
"@jest/fake-timers": "30.5.2",
"@jest/globals": "30.5.2",
"@jest/source-map": "30.5.2",
"@jest/test-result": "30.5.2",
"@jest/transform": "30.5.2",
"@jest/types": "30.5.1",
"@types/node": "*",
"chalk": "^4.1.2",
"cjs-module-lexer": "^2.2.0",
"collect-v8-coverage": "^1.0.2",
"es-module-lexer": "^2.1.0",
"glob": "^13.0.6",
"graceful-fs": "^4.2.11",
"jest-haste-map": "30.5.1",
"jest-message-util": "30.5.1",
"jest-mock": "30.5.2",
"jest-regex-util": "30.5.0",
"jest-resolve": "30.5.1",
"jest-snapshot": "30.5.2",
"jest-util": "30.5.1",
"slash": "^3.0.0",
"strip-bom": "^4.0.0"
}
},
"jest-snapshot": {
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-30.5.2.tgz",
"integrity": "sha512-jKIdes25AnAH73dOCi2qE6J6vHJ6L2vyBS11M89kT50DVJcLTf2AOjvcc+2vVaN8lUbY5v2R83aqXo3Ro9fqYA==",
"dev": true,
"requires": {
"@babel/core": "^7.27.4",
"@babel/generator": "^7.27.5",
"@babel/plugin-syntax-jsx": "^7.27.1",
"@babel/plugin-syntax-typescript": "^7.27.1",
"@babel/types": "^7.27.3",
"@jest/expect-utils": "30.5.2",
"@jest/get-type": "30.5.0",
"@jest/snapshot-utils": "30.5.1",
"@jest/transform": "30.5.2",
"@jest/types": "30.5.1",
"babel-preset-current-node-syntax": "^1.2.0",
"chalk": "^4.1.2",
"expect": "30.5.2",
"graceful-fs": "^4.2.11",
"jest-diff": "30.5.2",
"jest-matcher-utils": "30.5.2",
"jest-message-util": "30.5.1",
"jest-util": "30.5.1",
"pretty-format": "30.5.1",
"semver": "^7.7.2",
"synckit": "^0.11.8"
}
}
}
},
"jest-cli": {
@@ -9242,6 +9810,49 @@
"pretty-format": "30.5.1",
"slash": "^3.0.0",
"strip-json-comments": "^3.1.1"
},
"dependencies": {
"jest-circus": {
"version": "30.5.1",
"resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-30.5.1.tgz",
"integrity": "sha512-NgliezXQ6yznqR4W5Gqw++0cZSbBZlF0NknNIAE5VmSJKWOtmWJmWnBq3TSkUOVBTPrT7FGGhVdA8DLWnxo2Sw==",
"dev": true,
"requires": {
"@jest/environment": "30.5.1",
"@jest/expect": "30.5.1",
"@jest/test-result": "30.5.1",
"@jest/types": "30.5.1",
"@types/node": "*",
"chalk": "^4.1.2",
"co": "^4.6.0",
"dedent": "^1.6.0",
"is-generator-fn": "^2.1.0",
"jest-each": "30.5.1",
"jest-matcher-utils": "30.5.1",
"jest-message-util": "30.5.1",
"jest-runtime": "30.5.1",
"jest-snapshot": "30.5.1",
"jest-util": "30.5.1",
"p-limit": "^3.1.0",
"pretty-format": "30.5.1",
"pure-rand": "^7.0.0",
"slash": "^3.0.0",
"stack-utils": "^2.0.6"
}
},
"jest-each": {
"version": "30.5.1",
"resolved": "https://registry.npmjs.org/jest-each/-/jest-each-30.5.1.tgz",
"integrity": "sha512-S1af0TU4v1EZ/AUlkFs/sxf/5KGsbAT9kRgdyoMX/x72y7C8ZEgETE5o1TPnbKRnrbprc5FR/moYLfdRmqEjsQ==",
"dev": true,
"requires": {
"@jest/get-type": "30.5.0",
"@jest/types": "30.5.1",
"chalk": "^4.1.2",
"jest-util": "30.5.1",
"pretty-format": "30.5.1"
}
}
}
},
"jest-diff": {
@@ -9266,14 +9877,15 @@
}
},
"jest-each": {
"version": "30.5.1",
"resolved": "https://registry.npmjs.org/jest-each/-/jest-each-30.5.1.tgz",
"integrity": "sha512-S1af0TU4v1EZ/AUlkFs/sxf/5KGsbAT9kRgdyoMX/x72y7C8ZEgETE5o1TPnbKRnrbprc5FR/moYLfdRmqEjsQ==",
"version": "30.5.2",
"resolved": "https://registry.npmjs.org/jest-each/-/jest-each-30.5.2.tgz",
"integrity": "sha512-GRrW+7fmmgmkvyfEBqc1QFdWnF1Ex5yG6Y6AWL4TTxnkWlKIT98dsKh3P3UuWm6v4XsQwVE6DEzXIPMzWJ3ZbA==",
"dev": true,
"requires": {
"@jest/get-type": "30.5.0",
"@jest/types": "30.5.1",
"chalk": "^4.1.2",
"jest-regex-util": "30.5.0",
"jest-util": "30.5.1",
"pretty-format": "30.5.1"
}
+1 -1
View File
@@ -39,7 +39,7 @@
"eslint-plugin-jest": "^29.16.6",
"globals": "^17.12.0",
"jest": "^30.5.1",
"jest-circus": "^30.3.0",
"jest-circus": "^30.5.2",
"js-yaml": "^5.4.2",
"prettier": "^3.9.7",
"ts-jest": "^29.4.12",
+8 -1
View File
@@ -7,6 +7,8 @@ import * as os from 'os'
function getVersionShort(versionLong: string): string {
switch (versionLong) {
case '15859902':
return '22.0'
case '14742923':
return '20.0'
case '12266719':
@@ -41,6 +43,7 @@ const VERSION_SHORT = getVersionShort(VERSION_LONG)
const COMMANDLINE_TOOLS_WIN_URL = `https://dl.google.com/android/repository/commandlinetools-win-${VERSION_LONG}_latest.zip`
const COMMANDLINE_TOOLS_MAC_URL = `https://dl.google.com/android/repository/commandlinetools-mac-${VERSION_LONG}_latest.zip`
const COMMANDLINE_TOOLS_MAC_ARM64_URL = `https://dl.google.com/android/repository/commandlinetools-mac_arm64-${VERSION_LONG}_latest.zip`
const COMMANDLINE_TOOLS_LIN_URL = `https://dl.google.com/android/repository/commandlinetools-linux-${VERSION_LONG}_latest.zip`
const ANDROID_HOME_SDK_DIR = path.join(os.homedir(), '.android', 'sdk')
@@ -105,7 +108,11 @@ async function installSdkManager(): Promise<string> {
if (process.platform === 'linux') {
cmdlineToolsURL = COMMANDLINE_TOOLS_LIN_URL
} else if (process.platform === 'darwin') {
cmdlineToolsURL = COMMANDLINE_TOOLS_MAC_URL
if (Number(VERSION_LONG) >= 15859902) {
cmdlineToolsURL = COMMANDLINE_TOOLS_MAC_ARM64_URL
} else {
cmdlineToolsURL = COMMANDLINE_TOOLS_MAC_URL
}
} else if (process.platform === 'win32') {
cmdlineToolsURL = COMMANDLINE_TOOLS_WIN_URL
} else {