Refactors: Switch the Node Version to 18.
Checklist
• Change the Node.js version from 16 to 18 in the line "FROM node:16-slim as final".
Sandbox Execution Logs
Sandbox logs 1/3
⡿ Downloading Trunk 1.15.0...
⢿ Downloading Trunk 1.15.0...
⣻ Downloading Trunk 1.15.0...
⣽ Downloading Trunk 1.15.0...
⣾ Downloading Trunk 1.15.0...
⣷ Downloading Trunk 1.15.0...
⣯ Downloading Trunk 1.15.0...
⣟ Downloading Trunk 1.15.0...
⡿ Downloading Trunk 1.15.0...
⢿ Downloading Trunk 1.15.0...
⣻ Downloading Trunk 1.15.0...
⣽ Downloading Trunk 1.15.0...
⣾ Downloading Trunk 1.15.0...
✔ Downloading Trunk 1.15.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done
✔ 17 linters were enabled (.trunk/trunk.yaml)
actionlint 1.6.25 (6 github-workflow files)
checkov 2.4.9 (2 docker, 10 json, 12 yaml files)
eslint 8.49.0 (10 javascript, 181 typescript files)
git-diff-check (320 files)
hadolint 2.12.0 (2 docker files) (created .hadolint.yaml)
markdownlint 0.36.0 (14 markdown files) (created .markdownlint.yaml)
osv-scanner 1.3.6 (1 lockfile file)
oxipng 8.0.0 (10 png files)
prettier 3.0.3 (1 graphql, 1 html, 10 javascript, 9 json, 14 markdown, 1 prettier_supported_configs, 181 typescript, 12 yaml files)
renovate 36.91.0 (1 renovate-config file)
shellcheck 0.9.0 (1 shell file) (created .shellcheckrc)
shfmt 3.6.0 (1 shell file)
svgo 3.0.2 (3 svg files) (created svgo.config.js)
terrascan 1.18.3 (2 docker files)
trivy 0.45.0 (2 docker, 1 lockfile, 12 yaml files)
trufflehog 3.54.4 (321 files)
yamllint 1.32.0 (12 yaml files) (created .yamllint.yaml)
Next Steps
-
Read documentation
Our documentation can be found at https://docs.trunk.io
-
Get help and give feedback
Join the Trunk community at https://slack.trunk.io
</details>
<details >
<summary>Sandbox logs 2/3</summary>
ISSUES
Dockerfile:0:0
0:0 high Specify at least 1 USER command in Dockerfile with non-root user as argument trivy/DS002
0:0 high Add HEALTHCHECK instruction in your Dockerfile trivy/DS026
1:1 high Ensure that HEALTHCHECK instructions have been added to container images checkov/CKV_DOCKER_2
1:1 high Ensure that a user for the container has been created checkov/CKV_DOCKER_3
12:1 medium Ensure :latest version is not used for Docker file terrascan/AC_DOCKER_0041
18:1 medium Ensure :latest version is not used for Docker file terrascan/AC_DOCKER_0041
Checked 1 file
6 existing issues
</details>
<details open>
<summary>Sandbox logs 3/3</summary>
Found no applicable linters for the requested path
• Update the required Node.js version from 16 to 18 in the line "- Node.js 16 (verify with node --version
)".
Sandbox Execution Logs
Sandbox logs 1/3
⡿ Downloading Trunk 1.15.0...
⢿ Downloading Trunk 1.15.0...
⣻ Downloading Trunk 1.15.0...
⣽ Downloading Trunk 1.15.0...
⣾ Downloading Trunk 1.15.0...
⣷ Downloading Trunk 1.15.0...
⣯ Downloading Trunk 1.15.0...
⣟ Downloading Trunk 1.15.0...
⡿ Downloading Trunk 1.15.0...
⢿ Downloading Trunk 1.15.0...
⣻ Downloading Trunk 1.15.0...
⣽ Downloading Trunk 1.15.0...
⣾ Downloading Trunk 1.15.0...
⣷ Downloading Trunk 1.15.0...
⣯ Downloading Trunk 1.15.0...
⣟ Downloading Trunk 1.15.0...
⡿ Downloading Trunk 1.15.0...
⢿ Downloading Trunk 1.15.0...
⣻ Downloading Trunk 1.15.0...
✔ Downloading Trunk 1.15.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done
✔ 17 linters were enabled (.trunk/trunk.yaml)
actionlint 1.6.25 (6 github-workflow files)
checkov 2.4.9 (2 docker, 10 json, 12 yaml files)
eslint 8.49.0 (10 javascript, 181 typescript files)
git-diff-check (320 files)
hadolint 2.12.0 (2 docker files) (created .hadolint.yaml)
markdownlint 0.36.0 (14 markdown files) (created .markdownlint.yaml)
osv-scanner 1.3.6 (1 lockfile file)
oxipng 8.0.0 (10 png files)
prettier 3.0.3 (1 graphql, 1 html, 10 javascript, 9 json, 14 markdown, 1 prettier_supported_configs, 181 typescript, 12 yaml files)
renovate 36.91.0 (1 renovate-config file)
shellcheck 0.9.0 (1 shell file) (created .shellcheckrc)
shfmt 3.6.0 (1 shell file)
svgo 3.0.2 (3 svg files) (created svgo.config.js)
terrascan 1.18.3 (2 docker files)
trivy 0.45.0 (2 docker, 1 lockfile, 12 yaml files)
trufflehog 3.54.4 (321 files)
yamllint 1.32.0 (12 yaml files) (created .yamllint.yaml)
Next Steps
-
Read documentation
Our documentation can be found at https://docs.trunk.io
-
Get help and give feedback
Join the Trunk community at https://slack.trunk.io
</details>
<details >
<summary>Sandbox logs 2/3</summary>
Checked 1 file
✔ No issues
</details>
<details open>
<summary>Sandbox logs 3/3</summary>
Checked 1 file
✔ No issues
• Check all the dependencies and devDependencies to ensure they are compatible with Node.js 18. Update any incompatible dependencies.
Sandbox Execution Logs
Sandbox logs 1/3
⡿ Downloading Trunk 1.15.0...
⢿ Downloading Trunk 1.15.0...
⣻ Downloading Trunk 1.15.0...
⣽ Downloading Trunk 1.15.0...
⣾ Downloading Trunk 1.15.0...
⣷ Downloading Trunk 1.15.0...
⣯ Downloading Trunk 1.15.0...
⣟ Downloading Trunk 1.15.0...
⡿ Downloading Trunk 1.15.0...
⢿ Downloading Trunk 1.15.0...
⣻ Downloading Trunk 1.15.0...
⣽ Downloading Trunk 1.15.0...
⣾ Downloading Trunk 1.15.0...
⣷ Downloading Trunk 1.15.0...
⣯ Downloading Trunk 1.15.0...
⣟ Downloading Trunk 1.15.0...
⡿ Downloading Trunk 1.15.0...
⢿ Downloading Trunk 1.15.0...
⣻ Downloading Trunk 1.15.0...
⣽ Downloading Trunk 1.15.0...
✔ Downloading Trunk 1.15.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done
✔ 17 linters were enabled (.trunk/trunk.yaml)
actionlint 1.6.25 (6 github-workflow files)
checkov 2.4.9 (2 docker, 10 json, 12 yaml files)
eslint 8.49.0 (10 javascript, 181 typescript files)
git-diff-check (320 files)
hadolint 2.12.0 (2 docker files) (created .hadolint.yaml)
markdownlint 0.36.0 (14 markdown files) (created .markdownlint.yaml)
osv-scanner 1.3.6 (1 lockfile file)
oxipng 8.0.0 (10 png files)
prettier 3.0.3 (1 graphql, 1 html, 10 javascript, 9 json, 14 markdown, 1 prettier_supported_configs, 181 typescript, 12 yaml files)
renovate 36.91.0 (1 renovate-config file)
shellcheck 0.9.0 (1 shell file) (created .shellcheckrc)
shfmt 3.6.0 (1 shell file)
svgo 3.0.2 (3 svg files) (created svgo.config.js)
terrascan 1.18.3 (2 docker files)
trivy 0.45.0 (2 docker, 1 lockfile, 12 yaml files)
trufflehog 3.54.4 (321 files)
yamllint 1.32.0 (12 yaml files) (created .yamllint.yaml)
Next Steps
-
Read documentation
Our documentation can be found at https://docs.trunk.io
-
Get help and give feedback
Join the Trunk community at https://slack.trunk.io
</details>
<details >
<summary>Sandbox logs 2/3</summary>
Checked 1 file
✔ No issues
</details>
<details open>
<summary>Sandbox logs 3/3</summary>
Checked 1 file
✔ No issues