chore(deps): update dependency jest to v30#446
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
Conversation
🦙 MegaLinter status:
|
| Descriptor | Linter | Files | Fixed | Errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|
| ✅ ACTION | actionlint | 18 | 0 | 0 | 0.22s | |
| ✅ BASH | bash-exec | 7 | 0 | 0 | 0.02s | |
| ✅ BASH | shellcheck | 4 | 0 | 0 | 0.19s | |
| shfmt | 7 | 1 | 0 | 0.01s | ||
| ✅ CSHARP | csharpier | 3 | 0 | 0 | 1.85s | |
| ✅ CSHARP | roslynator | 1 | 0 | 0 | 18.36s | |
| ✅ CSS | stylelint | 1 | 0 | 0 | 1.23s | |
| ✅ DOCKERFILE | hadolint | 5 | 0 | 0 | 0.12s | |
| ✅ EDITORCONFIG | editorconfig-checker | 439 | 0 | 0 | 8.28s | |
| ✅ ENV | dotenv-linter | 1 | 0 | 0 | 0.0s | |
| ✅ GROOVY | npm-groovy-lint | 8 | 0 | 0 | 19.01s | |
| ✅ HTML | djlint | 2 | 0 | 0 | 1.47s | |
| ✅ HTML | htmlhint | 2 | 0 | 0 | 0.4s | |
| ✅ JAVA | checkstyle | 64 | 0 | 0 | 8.72s | |
| ✅ JSON | jsonlint | 53 | 0 | 0 | 0.55s | |
| prettier | 53 | 1 | 0 | 4.83s | ||
| ✅ JSON | v8r | 53 | 0 | 0 | 33.78s | |
| markdownlint | 23 | 255 | 0 | 1.59s | ||
| ✅ PYTHON | bandit | 1 | 0 | 0 | 1.6s | |
| ✅ PYTHON | black | 1 | 0 | 0 | 1.02s | |
| ✅ PYTHON | flake8 | 1 | 0 | 0 | 0.8s | |
| ✅ PYTHON | isort | 1 | 0 | 0 | 0.43s | |
| ✅ PYTHON | mypy | 1 | 0 | 0 | 10.85s | |
| ✅ PYTHON | ruff | 1 | 0 | 0 | 0.02s | |
| ✅ REPOSITORY | checkov | yes | no | no | 37.69s | |
| ✅ REPOSITORY | gitleaks | yes | no | no | 2.68s | |
| ✅ REPOSITORY | git_diff | yes | no | no | 0.34s | |
| ✅ REPOSITORY | kics | yes | no | no | 48.2s | |
| ✅ REPOSITORY | secretlint | yes | no | no | 2.79s | |
| ✅ REPOSITORY | syft | yes | no | no | 5.73s | |
| trivy | yes | 1 | no | 19.7s | ||
| ✅ REPOSITORY | trivy-sbom | yes | no | no | 40.79s | |
| ✅ REPOSITORY | trufflehog | yes | no | no | 6.4s | |
| ✅ XML | xmllint | 4 | 0 | 0 | 0.91s | |
| prettier | 122 | 1 | 2 | 2.23s |
See detailed report in MegaLinter reports
You could have same capabilities but better runtime performances if you request a new MegaLinter flavor.
85988df to
34755bf
Compare
34755bf to
85abe88
Compare
85abe88 to
1374903
Compare
1374903 to
21bec8d
Compare
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|
| ✅ ACTION | actionlint | 14 | 0 | 0 | 0.29s | |
| ✅ BASH | bash-exec | 7 | 0 | 0 | 0.02s | |
| ✅ BASH | shellcheck | 4 | 0 | 0 | 0.18s | |
| shfmt | 7 | 1 | 0 | 0.01s | ||
| ✅ CSHARP | csharpier | 3 | 0 | 0 | 2.42s | |
| roslynator | 1 | 1 | 0 | 13.64s | ||
| ✅ CSS | stylelint | 1 | 0 | 0 | 1.64s | |
| ✅ DOCKERFILE | hadolint | 5 | 0 | 0 | 0.23s | |
| ✅ EDITORCONFIG | editorconfig-checker | 435 | 0 | 0 | 2.76s | |
| ✅ ENV | dotenv-linter | 1 | 0 | 0 | 0.01s | |
| npm-groovy-lint | 8 | 0 | 20 | 27.54s | ||
| ✅ HTML | djlint | 2 | 0 | 0 | 1.91s | |
| ✅ HTML | htmlhint | 2 | 0 | 0 | 0.26s | |
| checkstyle | 64 | 0 | 90 | 10.77s | ||
| ✅ JSON | jsonlint | 53 | 0 | 0 | 0.74s | |
| ✅ JSON | prettier | 53 | 0 | 0 | 5.92s | |
| ✅ JSON | v8r | 53 | 0 | 0 | 32.84s | |
| markdownlint | 23 | 282 | 0 | 3.07s | ||
| ✅ PYTHON | bandit | 1 | 0 | 0 | 2.25s | |
| ✅ PYTHON | black | 1 | 0 | 0 | 2.3s | |
| ✅ PYTHON | flake8 | 1 | 0 | 0 | 0.95s | |
| ✅ PYTHON | isort | 1 | 0 | 0 | 0.59s | |
| ✅ PYTHON | mypy | 1 | 0 | 0 | 10.97s | |
| ✅ PYTHON | ruff | 1 | 0 | 0 | 0.04s | |
| ✅ REPOSITORY | checkov | yes | no | no | 48.75s | |
| ✅ REPOSITORY | gitleaks | yes | no | no | 5.54s | |
| ✅ REPOSITORY | git_diff | yes | no | no | 0.36s | |
| kics | yes | no | 109 | 58.86s | ||
| ✅ REPOSITORY | secretlint | yes | no | no | 5.01s | |
| ✅ REPOSITORY | syft | yes | no | no | 17.47s | |
| trivy | yes | 22 | no | 25.55s | ||
| ✅ REPOSITORY | trivy-sbom | yes | no | no | 8.23s | |
| ✅ REPOSITORY | trufflehog | yes | no | no | 10.09s | |
| ✅ XML | xmllint | 4 | 0 | 0 | 1.61s | |
| ✅ YAML | prettier | 118 | 0 | 0 | 3.78s |
Detailed Issues
⚠️ JAVA / checkstyle - 90 warnings
warning: First sentence of Javadoc is missing an ending period.
warning: First sentence of Javadoc is missing an ending period.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Line is longer than 100 characters (found 103).
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: First sentence of Javadoc is missing an ending period.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Line is longer than 100 characters (found 107).
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: First sentence of Javadoc is missing an ending period.
warning: Line is longer than 100 characters (found 115).
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Missing a Javadoc comment.
warning: Line is longer than 100 characters (found 220).
warning: Line is longer than 100 characters (found 104).
warning: Line is longer than 100 characters (found 117).
warning: Line is longer than 100 characters (found 154).
warning: Line is longer than 100 characters (found 111).
warning: Line is longer than 100 characters (found 128).
warning: Line is longer than 100 characters (found 142).
warning: Missing a Javadoc comment.
warning: Line is longer than 100 characters (found 104).
warning: Line is longer than 100 characters (found 132).
warning: Line is longer than 100 characters (found 141).
warning: 90 warnings emitted
⚠️ REPOSITORY / kics - 109 warnings
y_opt' attribute
┌─ src/list/frontend/deploy/docker-compose.dev.yml:36:1
│
36 │ keycloak:
│ ^^^^^^^^^^^
│
= Security Opt Not Set
= Attribute 'security_opt' should be defined.
warning: The 'Dockerfile' contains the 'chown' flag
┌─ src/Dockerfile:4:1
│
4 │ COPY --chown=gradle:gradle . .
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│
= Chown Flag Exists
= It is considered a best practice for every executable in a container to be owned by the root user even if it is executed by a non-root user, only execution permissions are required on the file, not ownership
warning: 'deploy' is not defined
┌─ src/notify/tests/e2e/docker-compose.yaml:33:1
│
33 │ tester:
│ ^^^^^^^^^
│
= Cpus Not Limited
= CPU limits should be set because if the system has CPU time free, a container is guaranteed to be allocated as much CPU as it requests
warning: 'deploy' is not defined
┌─ src/notify/tests/e2e/docker-compose.yaml:56:1
│
56 │ maildev:
│ ^^^^^^^^^^
│
= Cpus Not Limited
= CPU limits should be set because if the system has CPU time free, a container is guaranteed to be allocated as much CPU as it requests
warning: 'deploy' is not defined
┌─ src/notify/tests/e2e/docker-compose.yaml:4:1
│
4 │ notify:
│ ^^^^^^^^^
│
= Cpus Not Limited
= CPU limits should be set because if the system has CPU time free, a container is guaranteed to be allocated as much CPU as it requests
warning: 'deploy' is not defined
┌─ src/notify/tests/e2e/docker-compose.yaml:26:1
│
26 │ jobstore-db:
│ ^^^^^^^^^^^^^^
│
= Cpus Not Limited
= CPU limits should be set because if the system has CPU time free, a container is guaranteed to be allocated as much CPU as it requests
warning: 'deploy' is not defined
┌─ src/notify/tests/e2e/docker-compose.yaml:47:1
│
47 │ fhir:
│ ^^^^^^^
│
= Cpus Not Limited
= CPU limits should be set because if the system has CPU time free, a container is guaranteed to be allocated as much CPU as it requests
warning: Dockerfile doesn't contain instruction 'HEALTHCHECK'
┌─ src/Dockerfile:20:1
│
20 │ FROM gcr.io/distroless/java25-debian13:nonroot@sha256:ace83a068839dbfb151b0d80693df23120f6d13f963427fde7e43d9a175fd54a
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│
= Healthcheck Instruction Missing
= Ensure that HEALTHCHECK is being used. The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working
warning: Dockerfile doesn't contain instruction 'HEALTHCHECK'
┌─ src/query/tests/e2e/Dockerfile:1:1
│
1 │ FROM docker.io/library/python:3.14.2-slim-bookworm@sha256:e87711ef5c86aaeaa7031718a69db79d334d94c545c709583f651b8185870941
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│
= Healthcheck Instruction Missing
= Ensure that HEALTHCHECK is being used. The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working
warning: Dockerfile doesn't contain instruction 'HEALTHCHECK'
┌─ src/list/frontend/tests/e2e/Dockerfile:1:1
│
1 │ FROM docker.io/cypress/included:14.5.4@sha256:848fb0d361178e695aa3ebd0f9632f2966232907c0fc02fbd6432e07d4d08d8b
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│
= Healthcheck Instruction Missing
= Ensure that HEALTHCHECK is being used. The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working
warning: Dockerfile doesn't contain instruction 'HEALTHCHECK'
┌─ src/list/Dockerfile:29:1
│
29 │ FROM gcr.io/distroless/nodejs24-debian13:nonroot@sha256:38792f83f35f2df89d403f49491782981dd13a853bbcb09ff978d79328263463
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│
= Healthcheck Instruction Missing
= Ensure that HEALTHCHECK is being used. The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working
warning: There are COPY instructions that could be grouped
┌─ src/Dockerfile:24:1
│
24 │ COPY --from=build /home/gradle/project/${MODULE_NAME}/dependencies/ ./
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│
= Multiple RUN, ADD, COPY, Instructions Listed
= Multiple commands (RUN, COPY, ADD) should be grouped in order to reduce the number of layers.
warning: Volume {"target": "/tmp", "tmpfs": {"size": 1024}, "type": "tmpfs"} shared between containers
┌─ docker-compose/docker-compose.yaml:93:1
│
93 │ - type: tmpfs
│ ^^^^^^^^^^^^^^^^^^^
│
= Shared Volumes Between Containers
= Volumes shared between containers can cause data corruption or can be used to share malicious files between containers.
warning: Volume {"target": "/tmp", "tmpfs": {"size": 1024}, "type": "tmpfs"} shared between containers
┌─ docker-compose/docker-compose.yaml:118:1
│
118 │ - type: tmpfs
│ ^^^^^^^^^^^^^^^^^^^
│
= Shared Volumes Between Containers
= Volumes shared between containers can cause data corruption or can be used to share malicious files between containers.
warning: Volume {"target": "/tmp", "tmpfs": {"size": 1024}, "type": "tmpfs"} shared between containers
┌─ docker-compose/docker-compose.yaml:67:1
│
67 │ - type: tmpfs
│ ^^^^^^^^^^^^^^^^^^^
│
= Shared Volumes Between Containers
= Volumes shared between containers can cause data corruption or can be used to share malicious files between containers.
warning: 109 warnings emitted
(Truncated to last 5714 characters out of 33943)
⚠️ MARKDOWN / markdownlint - 282 errors
Line length [Expected: 120; Actual: 267]
docs/configuration/options.md:24:121 error MD013/line-length Line length [Expected: 120; Actual: 267]
docs/configuration/options.md:25:121 error MD013/line-length Line length [Expected: 120; Actual: 267]
docs/configuration/options.md:26:121 error MD013/line-length Line length [Expected: 120; Actual: 267]
docs/configuration/options.md:27:121 error MD013/line-length Line length [Expected: 120; Actual: 267]
docs/configuration/options.md:28:121 error MD013/line-length Line length [Expected: 120; Actual: 267]
docs/configuration/options.md:31:121 error MD013/line-length Line length [Expected: 120; Actual: 267]
docs/configuration/options.md:32:121 error MD013/line-length Line length [Expected: 120; Actual: 267]
docs/configuration/options.md:33:121 error MD013/line-length Line length [Expected: 120; Actual: 267]
docs/configuration/options.md:34:121 error MD013/line-length Line length [Expected: 120; Actual: 267]
docs/configuration/options.md:35:121 error MD013/line-length Line length [Expected: 120; Actual: 267]
docs/configuration/options.md:39:121 error MD013/line-length Line length [Expected: 120; Actual: 376]
docs/configuration/options.md:40:121 error MD013/line-length Line length [Expected: 120; Actual: 376]
docs/configuration/options.md:41:121 error MD013/line-length Line length [Expected: 120; Actual: 376]
docs/configuration/options.md:42:121 error MD013/line-length Line length [Expected: 120; Actual: 376]
docs/configuration/options.md:43:121 error MD013/line-length Line length [Expected: 120; Actual: 376]
docs/configuration/options.md:44:121 error MD013/line-length Line length [Expected: 120; Actual: 376]
docs/configuration/options.md:45:121 error MD013/line-length Line length [Expected: 120; Actual: 376]
docs/configuration/options.md:46:121 error MD013/line-length Line length [Expected: 120; Actual: 376]
docs/configuration/options.md:47:121 error MD013/line-length Line length [Expected: 120; Actual: 376]
docs/configuration/options.md:49:121 error MD013/line-length Line length [Expected: 120; Actual: 376]
docs/configuration/options.md:50:121 error MD013/line-length Line length [Expected: 120; Actual: 376]
docs/configuration/options.md:52:121 error MD013/line-length Line length [Expected: 120; Actual: 376]
docs/configuration/options.md:53:121 error MD013/line-length Line length [Expected: 120; Actual: 376]
docs/configuration/options.md:54:121 error MD013/line-length Line length [Expected: 120; Actual: 376]
docs/configuration/options.md:55:121 error MD013/line-length Line length [Expected: 120; Actual: 376]
docs/configuration/options.md:56:121 error MD013/line-length Line length [Expected: 120; Actual: 376]
docs/configuration/options.md:57:121 error MD013/line-length Line length [Expected: 120; Actual: 376]
docs/configuration/options.md:58:121 error MD013/line-length Line length [Expected: 120; Actual: 376]
docs/configuration/options.md:59:218 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]
docs/configuration/options.md:63:121 error MD013/line-length Line length [Expected: 120; Actual: 126]
docs/configuration/options.md:68:121 error MD013/line-length Line length [Expected: 120; Actual: 240]
docs/configuration/options.md:69:121 error MD013/line-length Line length [Expected: 120; Actual: 240]
docs/configuration/options.md:70:121 error MD013/line-length Line length [Expected: 120; Actual: 240]
docs/configuration/options.md:71:121 error MD013/line-length Line length [Expected: 120; Actual: 240]
docs/configuration/options.md:72:121 error MD013/line-length Line length [Expected: 120; Actual: 240]
docs/configuration/options.md:73:121 error MD013/line-length Line length [Expected: 120; Actual: 240]
docs/configuration/options.md:74:121 error MD013/line-length Line length [Expected: 120; Actual: 240]
docs/configuration/options.md:75:121 error MD013/line-length Line length [Expected: 120; Actual: 240]
docs/configuration/options.md:76:121 error MD013/line-length Line length [Expected: 120; Actual: 240]
docs/configuration/options.md:77:121 error MD013/line-length Line length [Expected: 120; Actual: 240]
docs/configuration/options.md:80:121 error MD013/line-length Line length [Expected: 120; Actual: 293]
docs/deployment/docker-compose.md:43:121 error MD013/line-length Line length [Expected: 120; Actual: 171]
docs/deployment/docker-compose.md:44:121 error MD013/line-length Line length [Expected: 120; Actual: 171]
docs/deployment/kubernetes.md:12:121 error MD013/line-length Line length [Expected: 120; Actual: 125]
docs/deployment/resource-requirements.md:7:2 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]
docs/deployment/resource-requirements.md:8:6 error MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"]
docs/deployment/resource-requirements.md:36 error MD039/no-space-in-links Spaces inside link text [Context: "...ment for Pods and Containers ]"]
docs/development/contributing.md:64:121 error MD013/line-length Line length [Expected: 120; Actual: 174]
docs/development/contributing.md:70:121 error MD013/line-length Line length [Expected: 120; Actual: 172]
docs/index.md:23:121 error MD013/line-length Line length [Expected: 120; Actual: 302]
docs/index.md:39:121 error MD013/line-length Line length [Expected: 120; Actual: 125]
docs/trino/index.md:10:121 error MD013/line-length Line length [Expected: 120; Actual: 132]
docs/trino/index.md:19:121 error MD013/line-length Line length [Expected: 120; Actual: 151]
docs/trino/index.md:22:121 error MD013/line-length Line length [Expected: 120; Actual: 147]
docs/trino/index.md:23:121 error MD013/line-length Line length [Expected: 120; Actual: 144]
(Truncated to last 5714 characters out of 28508)
⚠️ GROOVY / npm-groovy-lint - 20 warnings
uildSrc/src/main/groovy/org.miracum.recruit.java-application-conventions.gradle:74:24
│
74 │ intoLayer("application")
│ ^^^^^^^^^^^
│
= String objects should be created with single quotes, and GString objects created with double quotes. Creating normal String objects with double quotes is confusing to readers.
note: The String 'module-dependencies' can be wrapped in single quotes instead of double quotes
┌─ src/buildSrc/src/main/groovy/org.miracum.recruit.java-application-conventions.gradle:77:24
│
77 │ intoLayer("module-dependencies") {
│ ^^^^^^^^^^^^^^^^^^^
│
= String objects should be created with single quotes, and GString objects created with double quotes. Creating normal String objects with double quotes is confusing to readers.
note: The String 'org.miracum:*:*' can be wrapped in single quotes instead of double quotes
┌─ src/buildSrc/src/main/groovy/org.miracum.recruit.java-application-conventions.gradle:78:26
│
78 │ include("org.miracum:*:*")
│ ^^^^^^^^^^^^^^^
│
= String objects should be created with single quotes, and GString objects created with double quotes. Creating normal String objects with double quotes is confusing to readers.
note: The String 'dependencies' can be wrapped in single quotes instead of double quotes
┌─ src/buildSrc/src/main/groovy/org.miracum.recruit.java-application-conventions.gradle:80:24
│
80 │ intoLayer("dependencies")
│ ^^^^^^^^^^^^
│
= String objects should be created with single quotes, and GString objects created with double quotes. Creating normal String objects with double quotes is confusing to readers.
note: The String 'dependencies' can be wrapped in single quotes instead of double quotes
┌─ src/buildSrc/src/main/groovy/org.miracum.recruit.java-application-conventions.gradle:82:25
│
82 │ layerOrder = [ "dependencies", "spring-boot-loader", "module-dependencies", "application" ]
│ ^^^^^^^^^^^^
│
= String objects should be created with single quotes, and GString objects created with double quotes. Creating normal String objects with double quotes is confusing to readers.
note: The String 'spring-boot-loader' can be wrapped in single quotes instead of double quotes
┌─ src/buildSrc/src/main/groovy/org.miracum.recruit.java-application-conventions.gradle:82:41
│
82 │ layerOrder = [ "dependencies", "spring-boot-loader", "module-dependencies", "application" ]
│ ^^^^^^^^^^^^^^^^^^
│
= String objects should be created with single quotes, and GString objects created with double quotes. Creating normal String objects with double quotes is confusing to readers.
note: The String 'module-dependencies' can be wrapped in single quotes instead of double quotes
┌─ src/buildSrc/src/main/groovy/org.miracum.recruit.java-application-conventions.gradle:82:63
│
82 │ layerOrder = [ "dependencies", "spring-boot-loader", "module-dependencies", "application" ]
│ ^^^^^^^^^^^^^^^^^^^
│
= String objects should be created with single quotes, and GString objects created with double quotes. Creating normal String objects with double quotes is confusing to readers.
note: The String 'application' can be wrapped in single quotes instead of double quotes
┌─ src/buildSrc/src/main/groovy/org.miracum.recruit.java-application-conventions.gradle:82:86
│
82 │ layerOrder = [ "dependencies", "spring-boot-loader", "module-dependencies", "application" ]
│ ^^^^^^^^^^^
│
= String objects should be created with single quotes, and GString objects created with double quotes. Creating normal String objects with double quotes is confusing to readers.
note: Class should be marked with one of @GrailsCompileStatic, @CompileStatic or @CompileDynamic
= Check that classes are explicitely annotated with either @GrailsCompileStatic, @CompileStatic or @CompileDynamic
note: The statement on line 16 in class None is at the incorrect indent level: Expected one of columns [5, 9, 13] but was 3
= Check indentation for class and method declarations, and initial statements.
note: The statement on line 17 in class None is at the incorrect indent level: Expected one of columns [9, 13, 17] but was 5
= Check indentation for class and method declarations, and initial statements.
note: Class should be marked with one of @GrailsCompileStatic, @CompileStatic or @CompileDynamic
= Check that classes are explicitely annotated with either @GrailsCompileStatic, @CompileStatic or @CompileDynamic
note: Class should be marked with one of @GrailsCompileStatic, @CompileStatic or @CompileDynamic
= Check that classes are explicitely annotated with either @GrailsCompileStatic, @CompileStatic or @CompileDynamic
note: Class should be marked with one of @GrailsCompileStatic, @CompileStatic or @CompileDynamic
= Check that classes are explicitely annotated with either @GrailsCompileStatic, @CompileStatic or @CompileDynamic
note: Class should be marked with one of @GrailsCompileStatic, @CompileStatic or @CompileDynamic
= Check that classes are explicitely annotated with either @GrailsCompileStatic, @CompileStatic or @CompileDynamic
note: Class should be marked with one of @GrailsCompileStatic, @CompileStatic or @CompileDynamic
= Check that classes are explicitely annotated with either @GrailsCompileStatic, @CompileStatic or @CompileDynamic
(Truncated to last 5714 characters out of 7255)
⚠️ CSHARP / roslynator - 1 error
not defined or imported
Program.cs(180,26): error CS0518: Predefined type 'System.Exception' is not defined or imported
Program.cs(180,30): error CS0518: Predefined type 'System.Object' is not defined or imported
Program.cs(180,40): error CS0518: Predefined type 'System.String' is not defined or imported
Program.cs(182,16): error CS0518: Predefined type 'System.Object' is not defined or imported
Program.cs(184,13): error CS0518: Predefined type 'System.Object' is not defined or imported
Program.cs(185,17): error CS0518: Predefined type 'System.String' is not defined or imported
Program.cs(185,17): error CS0518: Predefined type 'System.Int32' is not defined or imported
Program.cs(185,85): error CS0518: Predefined type 'System.Int32' is not defined or imported
Program.cs(187,17): error CS0518: Predefined type 'System.Boolean' is not defined or imported
Program.cs(187,17): error CS0518: Predefined type 'System.Boolean' is not defined or imported
Program.cs(187,32): error CS0518: Predefined type 'System.Int32' is not defined or imported
Program.cs(192,19): error CS0518: Predefined type 'System.Object' is not defined or imported
Program.cs(192,53): error CS0518: Predefined type 'System.Object' is not defined or imported
Program.cs(192,74): error CS0518: Predefined type 'System.Int32' is not defined or imported
Program.cs(196,9): error CS0518: Predefined type 'System.Object' is not defined or imported
Program.cs(197,13): error CS0518: Predefined type 'System.String' is not defined or imported
Program.cs(197,13): error CS0518: Predefined type 'System.Int32' is not defined or imported
Program.cs(197,105): error CS0518: Predefined type 'System.Int32' is not defined or imported
Program.cs(200,13): error CS0518: Predefined type 'System.Boolean' is not defined or imported
Program.cs(200,13): error CS0518: Predefined type 'System.Boolean' is not defined or imported
Program.cs(202,13): error CS0518: Predefined type 'System.Object' is not defined or imported
Program.cs(202,31): error CS0518: Predefined type 'System.String' is not defined or imported
Program.cs(206,13): error CS0518: Predefined type 'System.Boolean' is not defined or imported
Program.cs(206,13): error CS0518: Predefined type 'System.Boolean' is not defined or imported
Program.cs(206,28): error CS0518: Predefined type 'System.Int32' is not defined or imported
Program.cs(208,19): error CS0518: Predefined type 'System.Exception' is not defined or imported
Program.cs(208,23): error CS0518: Predefined type 'System.Object' is not defined or imported
Program.cs(209,17): error CS0518: Predefined type 'System.String' is not defined or imported
Program.cs(209,17): error CS0518: Predefined type 'System.Int32' is not defined or imported
Program.cs(209,107): error CS0518: Predefined type 'System.Int32' is not defined or imported
Program.cs(213,15): error CS0518: Predefined type 'System.Object' is not defined or imported
Program.cs(213,49): error CS0518: Predefined type 'System.Object' is not defined or imported
Program.cs(213,70): error CS0518: Predefined type 'System.Int32' is not defined or imported
Program.cs(217,1): error CS0518: Predefined type 'System.Void' is not defined or imported
Program.cs(217,8): error CS0518: Predefined type 'System.IEquatable`1' is not defined or imported
Program.cs(217,8): error CS0518: Predefined type 'System.Object' is not defined or imported
Program.cs(217,8): error CS0518: Predefined type 'System.IEquatable`1' is not defined or imported
Program.cs(217,8): error CS0518: Predefined type 'System.Boolean' is not defined or imported
Program.cs(217,8): error CS0518: Predefined type 'System.Boolean' is not defined or imported
Program.cs(217,8): error CS0518: Predefined type 'System.Object' is not defined or imported
Program.cs(217,8): error CS0518: Predefined type 'System.Void' is not defined or imported
Program.cs(217,8): error CS0518: Predefined type 'System.Type' is not defined or imported
Program.cs(217,8): error CS0518: Predefined type 'System.Int32' is not defined or imported
Program.cs(217,8): error CS0518: Predefined type 'System.Boolean' is not defined or imported
Program.cs(217,8): error CS0518: Predefined type 'System.Boolean' is not defined or imported
Program.cs(217,8): error CS0518: Predefined type 'System.Boolean' is not defined or imported
Program.cs(217,8): error CS0518: Predefined type 'System.Text.StringBuilder' is not defined or imported
Program.cs(217,8): error CS0518: Predefined type 'System.String' is not defined or imported
Program.cs(217,24): error CS0518: Predefined type 'System.Int32' is not defined or imported
Program.cs(217,24): error CS0518: Predefined type 'System.Void' is not defined or imported
Program.cs(217,28): error CS0518: Predefined type 'System.Runtime.CompilerServices.IsExternalInit' is not defined or imported
Program.cs(9,1): error CS1729: 'object' does not contain a constructor that takes 0 arguments
Program.cs(217,8): error CS1729: 'object' does not contain a constructor that takes 0 arguments
Program.cs(217,8): error CS1729: 'object' does not contain a constructor that takes 0 arguments
error CS5001: Program does not contain a static 'Main' method suitable for an entry point
Analyzed project 'tests/chaos/tester/tester.csproj' (in 5.7 s)
20 CS0103
3 CS0161
43 CS0246
169 CS0518
3 CS1729
1 CS5001
239 diagnostics found
(Truncated to last 5714 characters out of 26578)
⚠️ BASH / shfmt - 1 error
ACMD=$JAVA_HOME/bin/java
+ fi
+ if [ ! -x "$JAVACMD" ]; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
else
- JAVACMD=java
- if ! command -v java >/dev/null 2>&1
- then
- die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
-
-Please set the JAVA_HOME variable in your environment to match the
-location of your Java installation."
- fi
+ JAVACMD=java
+ if ! command -v java >/dev/null 2>&1; then
+ die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
fi
# Increase the maximum file descriptors if we can.
-if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
- case $MAX_FD in #(
- max*)
- # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
- # shellcheck disable=SC2039,SC3045
- MAX_FD=$( ulimit -H -n ) ||
- warn "Could not query maximum file descriptor limit"
- esac
- case $MAX_FD in #(
- '' | soft) :;; #(
- *)
- # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
- # shellcheck disable=SC2039,SC3045
- ulimit -n "$MAX_FD" ||
- warn "Could not set maximum file descriptor limit to $MAX_FD"
- esac
+if ! "$cygwin" && ! "$darwin" && ! "$nonstop"; then
+ case $MAX_FD in #(
+ max*)
+ # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
+ # shellcheck disable=SC2039,SC3045
+ MAX_FD=$(ulimit -H -n) ||
+ warn "Could not query maximum file descriptor limit"
+ ;;
+ esac
+ case $MAX_FD in #(
+ '' | soft) : ;; #(
+ *)
+ # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
+ # shellcheck disable=SC2039,SC3045
+ ulimit -n "$MAX_FD" ||
+ warn "Could not set maximum file descriptor limit to $MAX_FD"
+ ;;
+ esac
fi
# Collect all arguments for the java command, stacking in reverse order:
@@ -169,35 +168,36 @@
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
# For Cygwin or MSYS, switch paths to Windows format before running java
-if "$cygwin" || "$msys" ; then
- APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
-
- JAVACMD=$( cygpath --unix "$JAVACMD" )
-
- # Now convert the arguments - kludge to limit ourselves to /bin/sh
- for arg do
- if
- case $arg in #(
- -*) false ;; # don't mess with options #(
- /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
- [ -e "$t" ] ;; #(
- *) false ;;
- esac
- then
- arg=$( cygpath --path --ignore --mixed "$arg" )
- fi
- # Roll the args list around exactly as many times as the number of
- # args, so each arg winds up back in the position where it started, but
- # possibly modified.
- #
- # NB: a `for` loop captures its iteration list before it begins, so
- # changing the positional parameters here affects neither the number of
- # iterations, nor the values presented in `arg`.
- shift # remove old arg
- set -- "$@" "$arg" # push replacement arg
- done
-fi
-
+if "$cygwin" || "$msys"; then
+ APP_HOME=$(cygpath --path --mixed "$APP_HOME")
+
+ JAVACMD=$(cygpath --unix "$JAVACMD")
+
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ for arg; do
+ if
+ case $arg in #(
+ -*) false ;; # don't mess with options #(
+ /?*)
+ t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
+ [ -e "$t" ]
+ ;; #(
+ *) false ;;
+ esac
+ then
+ arg=$(cygpath --path --ignore --mixed "$arg")
+ fi
+ # Roll the args list around exactly as many times as the number of
+ # args, so each arg winds up back in the position where it started, but
+ # possibly modified.
+ #
+ # NB: a `for` loop captures its iteration list before it begins, so
+ # changing the positional parameters here affects neither the number of
+ # iterations, nor the values presented in `arg`.
+ shift # remove old arg
+ set -- "$@" "$arg" # push replacement arg
+ done
+fi
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
@@ -209,14 +209,13 @@
# treated as '${Hostname}' itself on the command line.
set -- \
- "-Dorg.gradle.appname=$APP_BASE_NAME" \
- -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
- "$@"
+ "-Dorg.gradle.appname=$APP_BASE_NAME" \
+ -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
+ "$@"
# Stop when "xargs" is not available.
-if ! command -v xargs >/dev/null 2>&1
-then
- die "xargs is not available"
+if ! command -v xargs >/dev/null 2>&1; then
+ die "xargs is not available"
fi
# Use "xargs" to parse quoted args.
@@ -239,10 +238,10 @@
#
eval "set -- $(
- printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
- xargs -n1 |
- sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
- tr '\n' ' '
- )" '"$@"'
+ printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
+ xargs -n1 |
+ sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
+ tr '\n' ' '
+)" '"$@"'
exec "$JAVACMD" "$@"
(Truncated to last 5714 characters out of 8251)
⚠️ REPOSITORY / trivy - 22 errors
8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;">
]>
<lolz>&lol9;</lolz>
`;
+ const parser = SAX.parser();
+ /** @param {string} doctype */
+ parser.ondoctype = (doctype) => {
+ original = original.replace(doctype, '');
+ }
+ parser.write(original);
optimize(original);
```
### Resources
* [Wikipedia: Billion laughs attack](https://en.wikipedia.org/wiki/Billion_laughs_attack)
error: Package: ws
Installed Version: 6.2.2
Vulnerability CVE-2024-37890
Severity: HIGH
Fixed Version: 5.2.4, 6.2.3, 7.5.10, 8.17.1
Link: [CVE-2024-37890](https://avd.aquasec.com/nvd/cve-2024-37890)
┌─ src/list/package-lock.json:29586:1
│
29586 │ ╭ "node_modules/ws": {
29587 │ │ "version": "6.2.2",
29588 │ │ "license": "MIT",
29589 │ │ "optional": true,
· │
29593 │ │ }
29594 │ │ },
│ ╰^
│
= nodejs-ws: denial of service when handling a request with many HTTP headers
= ws is an open source WebSocket client and server for Node.js. A request with a number of headers exceeding theserver.maxHeadersCount threshold could be used to crash a ws server. The vulnerability was fixed in ws@8.17.1 (e55e510) and backported to ws@7.5.10 (22c2876), ws@6.2.3 (eeb76d3), and ws@5.2.4 (4abd8f6). In vulnerable versions of ws, the issue can be mitigated in the following ways: 1. Reduce the maximum allowed length of the request headers using the --max-http-header-size=size and/or the maxHeaderSize options so that no more headers than the server.maxHeadersCount limit can be sent. 2. Set server.maxHeadersCount to 0 so that no limit is applied.
error: Package: ws
Installed Version: 7.5.9
Vulnerability CVE-2024-37890
Severity: HIGH
Fixed Version: 5.2.4, 6.2.3, 7.5.10, 8.17.1
Link: [CVE-2024-37890](https://avd.aquasec.com/nvd/cve-2024-37890)
┌─ src/list/package-lock.json:7364:1
│
7364 │ ╭ "node_modules/@react-native-community/cli-server-api/node_modules/ws": {
7365 │ │ "version": "7.5.9",
7366 │ │ "license": "MIT",
7367 │ │ "optional": true,
· │
7383 │ │ }
7384 │ │ },
│ ╰^
│
┌─ src/list/package-lock.json:21240:1
│
21240 │ ╭ "node_modules/jsdom/node_modules/ws": {
21241 │ │ "version": "7.5.9",
21242 │ │ "dev": true,
21243 │ │ "license": "MIT",
· │
21258 │ │ }
21259 │ │ },
│ ╰^
│
┌─ src/list/package-lock.json:22672:1
│
22672 │ ╭ "node_modules/metro-inspector-proxy/node_modules/ws": {
22673 │ │ "version": "7.5.9",
22674 │ │ "license": "MIT",
22675 │ │ "optional": true,
· │
22691 │ │ }
22692 │ │ },
│ ╰^
│
┌─ src/list/package-lock.json:23028:1
│
23028 │ ╭ "node_modules/metro/node_modules/ws": {
23029 │ │ "version": "7.5.9",
23030 │ │ "license": "MIT",
23031 │ │ "optional": true,
· │
23047 │ │ }
23048 │ │ },
│ ╰^
│
┌─ src/list/package-lock.json:25359:1
│
25359 │ ╭ "node_modules/react-devtools-core/node_modules/ws": {
25360 │ │ "version": "7.5.9",
25361 │ │ "license": "MIT",
25362 │ │ "optional": true,
· │
25378 │ │ }
25379 │ │ },
│ ╰^
│
┌─ src/list/package-lock.json:29009:1
│
29009 │ ╭ "node_modules/webpack-bundle-analyzer/node_modules/ws": {
29010 │ │ "version": "7.5.9",
29011 │ │ "devOptional": true,
29012 │ │ "license": "MIT",
· │
29027 │ │ }
29028 │ │ },
│ ╰^
│
= nodejs-ws: denial of service when handling a request with many HTTP headers
= ws is an open source WebSocket client and server for Node.js. A request with a number of headers exceeding theserver.maxHeadersCount threshold could be used to crash a ws server. The vulnerability was fixed in ws@8.17.1 (e55e510) and backported to ws@7.5.10 (22c2876), ws@6.2.3 (eeb76d3), and ws@5.2.4 (4abd8f6). In vulnerable versions of ws, the issue can be mitigated in the following ways: 1. Reduce the maximum allowed length of the request headers using the --max-http-header-size=size and/or the maxHeaderSize options so that no more headers than the server.maxHeadersCount limit can be sent. 2. Set server.maxHeadersCount to 0 so that no limit is applied.
error: Package: ws
Installed Version: 8.13.0
Vulnerability CVE-2024-37890
Severity: HIGH
Fixed Version: 5.2.4, 6.2.3, 7.5.10, 8.17.1
Link: [CVE-2024-37890](https://avd.aquasec.com/nvd/cve-2024-37890)
┌─ src/list/package-lock.json:29260:1
│
29260 │ ╭ "node_modules/webpack-dev-server/node_modules/ws": {
29261 │ │ "version": "8.13.0",
29262 │ │ "devOptional": true,
29263 │ │ "license": "MIT",
· │
29278 │ │ }
29279 │ │ },
│ ╰^
│
= nodejs-ws: denial of service when handling a request with many HTTP headers
= ws is an open source WebSocket client and server for Node.js. A request with a number of headers exceeding theserver.maxHeadersCount threshold could be used to crash a ws server. The vulnerability was fixed in ws@8.17.1 (e55e510) and backported to ws@7.5.10 (22c2876), ws@6.2.3 (eeb76d3), and ws@5.2.4 (4abd8f6). In vulnerable versions of ws, the issue can be mitigated in the following ways: 1. Reduce the maximum allowed length of the request headers using the --max-http-header-size=size and/or the maxHeaderSize options so that no more headers than the server.maxHeadersCount limit can be sent. 2. Set server.maxHeadersCount to 0 so that no limit is applied.
error: 17 errors emitted
(Truncated to last 5714 characters out of 27950)
See detailed reports in MegaLinter artifacts
Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)
- Documentation: Custom Flavors
- Command:
npx mega-linter-runner@9.4.0 --custom-flavor-setup --custom-flavor-linters PYTHON_BLACK,PYTHON_FLAKE8,PYTHON_ISORT,PYTHON_BANDIT,PYTHON_MYPY,PYTHON_RUFF,ACTION_ACTIONLINT,BASH_EXEC,BASH_SHELLCHECK,BASH_SHFMT,CSHARP_CSHARPIER,CSHARP_ROSLYNATOR,CSS_STYLELINT,DOCKERFILE_HADOLINT,EDITORCONFIG_EDITORCONFIG_CHECKER,ENV_DOTENV_LINTER,GROOVY_NPM_GROOVY_LINT,HTML_DJLINT,HTML_HTMLHINT,JAVA_CHECKSTYLE,JSON_JSONLINT,JSON_V8R,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_KICS,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,XML_XMLLINT,YAML_PRETTIER

Show us your support by starring ⭐ the repository
21bec8d to
e5d61dd
Compare
7cfccf9 to
a56814b
Compare
ab6e066 to
a3ae479
Compare
a3ae479 to
c7ee872
Compare
0c46d94 to
f6e9495
Compare
f6e9495 to
3c736cc
Compare
3c736cc to
751bd5e
Compare
751bd5e to
518e605
Compare
462459c to
8464d05
Compare
da0e78e to
643c92e
Compare
ef342b2 to
a2188dd
Compare
a2188dd to
870a606
Compare
f70e010 to
b3cad4c
Compare
b3cad4c to
1d3859b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
29.7.0→30.2.0Release Notes
jestjs/jest (jest)
v30.2.0Compare Source
Chore & Maintenance
[*]Update example repo for testing React Native projects (#15832)[*]Updatejest-watch-typeaheadto v3 (#15830)v30.1.3Compare Source
Fixes
unstable_mockModulewithnode:prefixed core modules.v30.1.2Compare Source
Fixes
[jest-snapshot-utils]Correct snapshot header regexp to work with newline across OSes (#15803)v30.1.1Compare Source
Fixes
[jest-snapshot-utils]Fix deprecated goo.gl snapshot warning not handling Windows end-of-line sequences (#15800)[jest-snapshot-utils]Improve messaging about goo.gl snapshot link change (#15821)v30.1.0Compare Source
v30.0.5Compare Source
Features
[jest-config]AllowtestMatchto take a string value[jest-worker]LetworkerIdleMemoryLimitaccept 0 to always restart worker child processesFixes
[expect]Fixbiginterror (#15702)v30.0.4Compare Source
Features
[expect]TheInversetype is now exported (#15714)[expect]feat: supportasync functionsintoBe(#15704)Fixes
[jest]jest --onlyFailures --listTests now correctly lists only failed tests (#15700)[jest-snapshot]Handle line endings in snapshots (#15708)v30.0.3Compare Source
Fixes
[jest-config]Fix ESM TS config loading in a CJS project (#15694)[jest-core]jest --onlyFailures --listTests now correctly lists only failed tests(#15700)Features
[jest-diff]Show non-printable control characters to diffs (#15696)v30.0.2Compare Source
Fixes
[jest-matcher-utils]Make 'deepCyclicCopyObject' safer by setting descriptors to a null-prototype object (#15689)[jest-util]Make garbage collection protection property writable (#15689)v30.0.1Compare Source
Features
[jest-resolver]Implement thedefaultAsyncResolver(#15679)Fixes
[jest-resolver]Resolve builtin modules correctly (#15683)[jest-environment-node, jest-util]Avoid setting globals cleanup protection symbol when feature is off (#15684)Chore & Maintenance
[*]Remove and deprecatejest-replpackage (#15673)[jest-resolver]Replace customisBuiltinModulewith node'sisBuiltin(#15685)v30.0.0Compare Source
Features
[*]RenamedglobalsCleanupModetoglobalsCleanupand--waitNextEventLoopTurnForUnhandledRejectionEventsto--waitForUnhandledRejections[expect]AddArrayOfasymmetric matcher for validating array elements. (#15567)[babel-jest]Add optionexcludeJestPresetto allow opting out ofbabel-preset-jest(#15164)[expect]Revert #15038 to fixexpect(fn).toHaveBeenCalledWith(expect.objectContaining(...))when there are multiple calls (#15508)[jest-circus, jest-cli, jest-config]AddwaitNextEventLoopTurnForUnhandledRejectionEventsflag to minimise performance impact of correct detection of unhandled promise rejections introduced in #14315 (#14681)[jest-circus]Add awaitBeforeRetryoption tojest.retryTimes(#14738)[jest-circus]Add aretryImmediatelyoption tojest.retryTimes(#14696)[jest-circus, jest-jasmine2]AllowsetupFilesAfterEnvto export an async function (#10962)[jest-circus, jest-test-result]AddstartedAttimestamp inTestCaseResultObjectwithinonTestCaseResult(#15145)[jest-cli]ExportbuildArgv(#15310)[jest-config][BREAKING] Addmtsandctsto defaultmoduleFileExtensionsconfig (#14369)[jest-config][BREAKING] UpdatetestMatchandtestRegexdefault option for supportingmjs,cjs,mts, andcts(#14584)[jest-config]Loads config file from provided path inpackage.json(#14044)[jest-config]Allow loadingjest.config.ctsfiles (#14070)[jest-config]ShowrootDirin error message when apresetfails to load (#15194)[jest-config]Support loading TS config files usingesbuild-registervia docblock loader (#15190)[jest-config]Allow passing TS config loader options via docblock comment (#15234)[jest-config]If Node is running with type stripping enabled, do not require a TS loader (#15480)[@jest/core]Group together open handles with the same stack trace (#13417, & #14789)[@jest/core]AddperfStatsto surface test setup overhead (#14622)[@jest/core][BREAKING] Changed--filterto accept an object with shape{ filtered: Array<string> }to match documentation (#13319)[@jest/core]Support--outputFileoption for--listTests(#14980)[@jest/core]Stringify Errors properly with--jsonflag (#15329)[@jest/core, @​jest/test-sequencer][BREAKING] ExposesglobalConfig&contextstoTestSequencer(#14535, & #14543)[jest-each]Introduce%$option to add number of the test to its title (#14710)[@jest/environment][BREAKING] Remove deprecatedjest.genMockFromModule()(#15042)[@jest/environment][BREAKING] Remove unnecessary defensive code (#15045)[jest-environment-jsdom][BREAKING] Upgrade JSDOM to v22 (#13825)[@jest/environment-jsdom-abstract]Introduce new package which abstracts over thejsdomenvironment, allowing usage of custom versions of JSDOM (#14717)[jest-environment-node]Update jest environment with dispose symbolsSymbol(#14888 & #14909)[expect, @​jest/expect][BREAKING] Add type inference for function parameters inCalledWithassertions (#15129)[@jest/expect-utils]Properly compare all types ofTypedArrays (#15178)[@jest/fake-timers][BREAKING] Upgrade@sinonjs/fake-timersto v13 (#14544 & #15470)[@jest/fake-timers]Exposing new modern timers functionadvanceTimersToFrame()which advances all timers by the needed milliseconds to execute callbacks currently scheduled withrequestAnimationFrame(#14598)[jest-matcher-utils]AddSERIALIZABLE_PROPERTIESto allow custom serialization of objects (#14893)[jest-mock]Add support for the Explicit Resource Management proposal to use theusingkeyword withjest.spyOn(object, methodName)(#14895)[jest-reporters]Add support for DEC mode 2026 (#15008)[jest-resolver]Supportfile://URLs as paths (#15154)[jest-resolve,jest-runtime,jest-resolve-dependencies]Pass the conditions when resolving stub modules (#15489)[jest-runtime]Exposing new modern timers functionjest.advanceTimersToFrame()from@jest/fake-timers(#14598)[jest-runtime]Supportimport.meta.filenameandimport.meta.dirname(available from Node 20.11) (#14854)[jest-runtime]Supportimport.meta.resolve(#14930)[jest-runtime][BREAKING] Make it mandatory to passglobalConfigto theRuntimeconstructor (#15044)[jest-runtime]Addunstable_unmockModule(#15080)[jest-runtime]AddonGenerateMocktransformer callback for auto generated callbacks (#15433 & #15482)[jest-runtime][BREAKING] Usevm.compileFunctionovervm.Script(#15461)[@jest/schemas]Upgrade@sinclair/typeboxto v0.34 (#15450)[@jest/types]test.each(): Accept a readonly (as const) table properly (#14565)[@jest/types]Improve argument type inference passed totestanddescribecallback functions fromeachtables (#14920)[jest-snapshot][BREAKING] Add support for Error causes in snapshots (#13965)[jest-snapshot]Support Prettier 3 (#14566)[@jest/util-snapshot]Extract utils used by tooling fromjest-snapshotinto its own package (#15095)[pretty-format][BREAKING] Do not render empty string children ('') in React plugin (#14470)Fixes
[expect]ShowAggregateErrorto display (#15346)[*]Replaceexitwithexit-x(#15399)[babel-plugin-jest-hoist]Usedenylistinstead of the deprecatedblacklistfor Babel 8 support (#14109)[babel-plugin-jest-hoist]Do not rely on buggy Babel behaviour (#15415)[expect]Check error instance type fortoThrow/toThrowError(#14576)[expect]Improve diff for failingexpect.objectContaining(#15038)[expect]UseArray.isArrayto check if an array is anArray(#15101)[expect]Fix Errorcauseassertion errors (#15339)[jest-changed-files]Print underlying errors when VCS commands fail (#15052)[jest-changed-files]Abortsl rootcall if output resembles a steam locomotive (#15053)[jest-circus][BREAKING] Prevent false test failures caused by promise rejections handled asynchronously (#14315)[jest-circus]Replace recursivemakeTestResultsimplementation with iterative one (#14760)[jest-circus]Omitexpect.hasAssertions()errors if a test already has errors (#14866)[jest-circus, jest-expect, jest-snapshot]Passtest.failingtests when containing failing snapshot matchers (#14313)[jest-circus]Concurrent tests now emit jest circus events at the correct point and in the expected order. (#15381)[jest-cli][BREAKING] Validate CLI flags that require arguments receives them (#14783)[jest-config]Make sure to respectrunInBandoption (#14578)[jest-config]SupporttestTimeoutin project config (#14697)[jest-config]SupportcoverageReportersin project config (#14697)[jest-config]Allowreportersin project config (#14768)[jest-config]Allow Node16/NodeNext/BundlermoduleResolutionin project's tsconfig (#14739)[@jest/create-cache-key-function]Correct the return type ofcreateCacheKey(#15159)[jest-each]Allow$keypathtemplates withnullorundefinedvalues (#14831)[@jest/expect-utils]Fix comparison ofDataView(#14408)[@jest/expect-utils][BREAKING] exclude non-enumerable in object matching (#14670)[@jest/expect-utils]Fix comparison ofURL(#14672)[@jest/expect-utils]CheckSymbolproperties in equality (#14688)[@jest/expect-utils]Catch circular references within arrays when matching objects (#14894)[@jest/expect-utils]Fix not addressing to Sets and Maps as objects without keys (#14873)[jest-haste-map]Fix errors or clobbering with multiplehasteImplModulePaths (#15522)[jest-leak-detector]Make leak-detector more aggressive when running GC (#14526)[jest-runtime]Properly handle re-exported native modules in ESM via CJS (#14589)[jest-runtime]Refactor_importCoreModelso required core module is consistent if modified while loading (#15077)[jest-schemas, jest-types][BREAKING] Fix type oftestFailureExitCodeconfig option(#15232)[jest-util]Make sureisInteractiveworks in a browser (#14552)[pretty-format][BREAKING] PrintArrayBufferandDataViewcorrectly (#14290)[pretty-format]Fixed a bug where "anonymous custom elements" were not being printed as expected. (#15138)[jest-cli]When specifying paths on the command line, only match against the relative paths of the test files (#12519)testPathPatternconfiguration option totestPathPatterns, which now takes a list of patterns instead of the regex.--testPathPatternis now--testPathPatternstestPathPatternswhen programmatically callingwatchmust be specified asnew TestPathPatterns(patterns), whereTestPathPatternscan be imported from@jest/pattern[jest-reporters, jest-runner]Unhandled errors without stack get correctly logged to console (#14619)[jest-util]Always loadmjsfiles withimport(#15447)[jest-worker]Properly handle a circular reference error when worker tries to send an assertion fails where either the expected or actual value is circular (#15191)[jest-worker]Properly handle a BigInt when worker tries to send an assertion fails where either the expected or actual value is BigInt (#15191)[expect]Resolve issue whereObjectContainingmatched non-object values. #15463.conditional/checkto ensure the argument passed toexpectis an object.ObjectContainingbehavior.invalid/wrongtest case assertions forObjectContaining.[jest-worker]Addresses incorrect state on exit (#15610)Performance
[*][BREAKING] Bundle all of Jest's modules intoindex.js(#12348, #14550 & #14661)[jest-haste-map]Only spawn one process to check forwatchmaninstallation (#14826)[jest-runner]Better cleanupsource-map-supportafter test to resolve (minor) memory leak (#15233)[jest-resolver]Migrateresolveandresolve.exportstounrs-resolver(#15619)[jest-circus, jest-environment-node, jest-repl, jest-runner, jest-util]Cleanup global variables on environment teardown to reduce memory leaks (#15215 & #15636 & #15643)Chore & Maintenance
[jest-environment-jsdom, jest-environment-jsdom-abstract]Increased version of jsdom to^26.0.0(#15325CVE-2024-37890)[*]Increase version ofmicromatchto^4.0.7(#15082)[*][BREAKING] Drop support for Node.js versions 14, 16, 19, 21 and 23 (#14460, #15118, #15623, #15640)[*][BREAKING] Drop support fortypescript@4.3, minimum version is now5.4(#14542, #15621)[*]Depend on exact versions of monorepo dependencies instead of^range (#14553)[*][BREAKING] Add ESM wrapper for all of Jest's modules (#14661)[*][BREAKING] Upgrade toglob@10(#14509)[*]UseTypeErroroverErrorwhere appropriate (#14799)[docs]Fix typos inCHANGELOG.mdandpackages/jest-validate/README.md(#14640)[docs]Don't use alias matchers in docs (#14631)[babel-jest, babel-preset-jest][BREAKING] Increase peer dependency of@babel/coreto^7.11(#14109)[babel-jest, @​jest/transform]Updatebabel-plugin-istanbulto v6 (#15156)[babel-plugin-jest-hoist]Move unnecessarydependenciestodevDependencies(#15010)[expect][BREAKING] Remove.toBeCalled(),.toBeCalledTimes(),.toBeCalledWith(),.lastCalledWith(),.nthCalledWith(),.toReturn(),.toReturnTimes(),.toReturnWith(),.lastReturnedWith(),.nthReturnedWith()and.toThrowError()matcher aliases (#14632)[jest-cli, jest-config, @​jest/types][BREAKING] Remove deprecated--initargument (#14490)[jest-config, @​jest/core, jest-util]Upgradeci-info(#14655)[jest-mock][BREAKING] RemoveMockFunctionMetadataType,MockFunctionMetadataandSpyInstancetypes (#14621)[@jest/reporters]Upgradeistanbul-lib-source-maps(#14924)[jest-schemas]Upgrade@sinclair/typebox(#14775)[jest-transform]Upgradewrite-file-atomic(#14274)[jest-util]Upgradepicomatchto v4 (#14653 & #14885)[docs] Append to NODE_OPTIONS, not overwrite ([#​14730](https://redirect.github.com/jestjs/jest/pull/14730))[docs]Updated.toHaveBeenCalled()documentation to correctly reflect its functionality (#14842)[docs]Link NestJS documentation on testing with Jest (#14940)[docs]Revised documentation for .toHaveBeenCalled()to accurately depict its functionality. (#14853)[docs]Removed ExpressJS reference link from documentation due to dead link (#15270)[docs]Correct broken links in docs (#15359)Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.