You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I downloaded the swagger-ui zip file from this repository, and it includes the swagger-ui-dist package and installed it on my php fpm container using composer. However, when I checked the package.json, it shows the version as $$VERSION. This causes problems for security scanning tools (like Twistlock) as they cannot determine the actual version.
The vulnerability scanner reported two vulnerabilities fixed in swagger-ui-dist version 4.1.3, but I cannot confirm the version from the bundled files.
Extract the contents and navigate to the swagger-ui-dist folder.
Check the package.json, where the version is shown as $$VERSION.
Expected Behavior
The swagger-ui-dist package should contain the correct version number in package.json to help with vulnerability checks and proper dependency management.
Actual Behavior
The package.json in the swagger-ui-dist directory contains "version": "$$VERSION".
Please advise on how to set the correct version for swagger-ui-dist in the composer file.
Thank you for your assistance.
The text was updated successfully, but these errors were encountered:
Issue Description
I downloaded the
swagger-ui
zip file from this repository, and it includes theswagger-ui-dist
package and installed it on my php fpm container using composer. However, when I checked thepackage.json
, it shows the version as$$VERSION
. This causes problems for security scanning tools (like Twistlock) as they cannot determine the actual version.The vulnerability scanner reported two vulnerabilities fixed in
swagger-ui-dist
version 4.1.3, but I cannot confirm the version from the bundled files.Steps to Reproduce
swagger-ui-dist
folder.package.json
, where the version is shown as$$VERSION
.Expected Behavior
The
swagger-ui-dist
package should contain the correct version number inpackage.json
to help with vulnerability checks and proper dependency management.Actual Behavior
The
package.json
in theswagger-ui-dist
directory contains"version": "$$VERSION"
.Please advise on how to set the correct version for swagger-ui-dist in the composer file.
Thank you for your assistance.
The text was updated successfully, but these errors were encountered: