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
tachyons-sass appears to be a dead project, but remains as a production dependency of SwaggerUI. This has caused recent issues while attempting to resolve modern css builds.
Post PR merge feedback of this PR #8266 and its followup PR #8288
This PR introduces [email protected] as a production dependency which introduces 50 new dependencies into our production dependency tree. This dependencies will not be used in production bundles, but will pose additional false positive issues with SCA (Software Composition Analysis) tools or SBOM (Software Bill Of Materials) tools.
We can fix the problem directly in our webpack config by utilizing simple text replacer plugin and replacing the *zoom with zoom.
Followup comment #8266 (comment) suggests that the *zoom line in question should be removed entirely.
Describe the solution you'd like
Ideally SwaggerUI should replace tachyons-sass entirely. However, it probably requires notable resource effort to build up a new set of Sass rules.
In the meantime, a SwaggerUI maintainer could fork and release a patch version of tachyons-sass with the desired removal of the IE7 hack, plus incorporate fixes to deprecation as noted below.
Describe alternatives you've considered
Additional context
tachyons-sass also includes a merged but unreleased fix that would solve webpack deprecation warnings, as noted in this swagger-ui issue: #7363
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
tachyons-sass
appears to be a dead project, but remains as a production dependency of SwaggerUI. This has caused recent issues while attempting to resolve modern css builds.Post PR merge feedback of this PR #8266 and its followup PR #8288
An unsuccessful effort was made to implement the suggestion using https://www.npmjs.com/package/string-replace-loader and/or https://www.npmjs.com/package/webpack-string-replacer. The issue is that these loaders appear incompatible with SwaggerUI's stylesheet webpack builder, which lacks direct import/require of /src code. In addition, they appear unable to search through nested sass imports.
Followup comment #8266 (comment) suggests that the *zoom line in question should be removed entirely.
Describe the solution you'd like
Ideally SwaggerUI should replace
tachyons-sass
entirely. However, it probably requires notable resource effort to build up a new set of Sass rules.In the meantime, a SwaggerUI maintainer could fork and release a patch version of
tachyons-sass
with the desired removal of the IE7 hack, plus incorporate fixes to deprecation as noted below.Describe alternatives you've considered
Additional context
tachyons-sass
also includes a merged but unreleased fix that would solve webpack deprecation warnings, as noted in this swagger-ui issue: #7363The text was updated successfully, but these errors were encountered: