Skip to content

Commit

Permalink
Fix postcss-calc warnings falling back to bootstrap 5.1.3
Browse files Browse the repository at this point in the history
Resolving autoprefixer to 10.4.5 is needed to fix another
warning which got fixed in bootstrap 5.2.0-beta1, but they
seem to still have some problems.

Why 5.2.0 is needed:
twbs/bootstrap#36259

Why 5.2.0 doesn't work:
postcss-calc swears on calc($sass-variable * 2)
could not reproduce in other projects
may be related:
twbs/bootstrap#36446
  • Loading branch information
iburakov committed Jul 2, 2022
1 parent 6d41fef commit c7702fa
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
5 changes: 3 additions & 2 deletions web/package.json
Expand Up @@ -7,7 +7,7 @@
"dependencies": {
"@types/react-table": "^6.8.5",
"axios": "^0.21.0",
"bootstrap": "^5.2.0-beta1",
"bootstrap": "^5.1.3",
"chart.js": "^3.3.2",
"glyphicons-only-bootstrap": "^1.0.1",
"graphviz-react": "^1.0.4",
Expand All @@ -33,7 +33,8 @@
"@types/react-router-dom": "^5.1.6"
},
"resolutions": {
"@types/react": "^17.0.47"
"@types/react": "^17.0.47",
"autoprefixer": "10.4.5"
},
"scripts": {
"backstart": "cd .. && stack exec nitta -- --port=8080 examples/teacup.lua",
Expand Down
22 changes: 11 additions & 11 deletions web/yarn.lock
Expand Up @@ -2547,13 +2547,13 @@ at-least-node@^1.0.0:
resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2"
integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==

autoprefixer@^10.4.7:
version "10.4.7"
resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.7.tgz#1db8d195f41a52ca5069b7593be167618edbbedf"
integrity sha512-ypHju4Y2Oav95SipEcCcI5J7CGPuvz8oat7sUtYj3ClK44bldfvtvcxK6IEK++7rqB7YchDGzweZIBG+SD0ZAA==
autoprefixer@10.4.5, autoprefixer@^10.4.7:
version "10.4.5"
resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.5.tgz#662193c744094b53d3637f39be477e07bd904998"
integrity sha512-Fvd8yCoA7lNX/OUllvS+aS1I7WRBclGXsepbvT8ZaPgrH24rgXpZzF0/6Hh3ZEkwg+0AES/Osd196VZmYoEFtw==
dependencies:
browserslist "^4.20.3"
caniuse-lite "^1.0.30001335"
browserslist "^4.20.2"
caniuse-lite "^1.0.30001332"
fraction.js "^4.2.0"
normalize-range "^0.1.2"
picocolors "^1.0.0"
Expand Down Expand Up @@ -2792,10 +2792,10 @@ boolbase@^1.0.0, boolbase@~1.0.0:
resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
integrity sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==

bootstrap@^5.2.0-beta1:
version "5.2.0-beta1"
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-5.2.0-beta1.tgz#75647ff7327c2cac9b8e1cb6728a790a5be4cefc"
integrity sha512-6qbgs177WZEFY4SLQUq3tEHayYG80nfDmyTpdKi0MJqRMdS+HAoq24+YKfx6wf+nHY0rx8zrh477J1lFu4WzOA==
bootstrap@^5.1.3:
version "5.1.3"
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-5.1.3.tgz#ba081b0c130f810fa70900acbc1c6d3c28fa8f34"
integrity sha512-fcQztozJ8jToQWXxVuEyXWW+dSo8AiXWKwiSSrKWsRB/Qt+Ewwza+JWoLKiTuQLaEPhdNAJ7+Dosc9DOIqNy7Q==

brace-expansion@^1.1.7:
version "1.1.11"
Expand Down Expand Up @@ -2907,7 +2907,7 @@ caniuse-api@^3.0.0:
lodash.memoize "^4.1.2"
lodash.uniq "^4.5.0"

caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001335, caniuse-lite@^1.0.30001359:
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001359:
version "1.0.30001361"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001361.tgz#ba2adb2527566fb96f3ac7c67698ae7fc495a28d"
integrity sha512-ybhCrjNtkFji1/Wto6SSJKkWk6kZgVQsDq5QI83SafsF6FXv2JB4df9eEdH6g8sdGgqTXrFLjAxqBGgYoU3azQ==
Expand Down

0 comments on commit c7702fa

Please sign in to comment.