Sass ABS deprecation warning for bootstrap-rubygem v 5.3.1
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- rails, ruby, sass
- Domain
- build-system, frontend
Research direction
The warning traces to bootstrap/vendor/_rfs.scss line 57, through the Bootstrap grid files, and is surfaced from app/assets/stylesheets/application.scss line 60. Start by reproducing asset compilation and inspecting that call in the reported dependency; done means the deprecation warning no longer appears during compilation.
Written by the indexing model from the issue text.
Description
A recent update of the sass-embedded gem causes a deprecation warning when compiling assets:
DEPRECATION WARNING: Passing percentage units to the global abs() function is deprecated.
12:40:48 css.1 | In the future, this will emit a CSS abs() function to be resolved by the browser.
12:40:48 css.1 | To preserve current behavior: math.abs(100%)
12:40:48 css.1 | To emit a CSS abs() now: abs(#{100%})
12:40:48 css.1 | More info: https://sass-lang.com/d/abs-percent
12:40:48 css.1 |
12:40:48 css.1 | ╷
12:40:48 css.1 | 57 │ $dividend: abs($dividend);
12:40:48 css.1 | │ ^^^^^^^^^^^^^^
12:40:48 css.1 | ╵
12:40:48 css.1 | ../../../.rvm/gems/ruby-3.2.2@ruby3rails7/gems/bootstrap-5.3.1/assets/stylesheets/bootstrap/vendor/_rfs.scss 57:14 divide()
12:40:48 css.1 | ../../../.rvm/gems/ruby-3.2.2@ruby3rails7/gems/bootstrap-5.3.1/assets/stylesheets/bootstrap/mixins/_grid.scss 59:12 row-cols()
12:40:48 css.1 | ../../../.rvm/gems/ruby-3.2.2@ruby3rails7/gems/bootstrap-5.3.1/assets/stylesheets/bootstrap/mixins/_grid.scss 85:13 @content
12:40:48 css.1 | ../../../.rvm/gems/ruby-3.2.2@ruby3rails7/gems/bootstrap-5.3.1/assets/stylesheets/bootstrap/mixins/_breakpoints.scss 68:5 media-breakpoint-up()
12:40:48 css.1 | ../../../.rvm/gems/ruby-3.2.2@ruby3rails7/gems/bootstrap-5.3.1/assets/stylesheets/bootstrap/mixins/_grid.scss 72:5 make-grid-columns()
12:40:48 css.1 | ../../../.rvm/gems/ruby-3.2.2@ruby3rails7/gems/bootstrap-5.3.1/assets/stylesheets/bootstrap/_grid.scss 38:3 @import
12:40:48 css.1 | _bootstrap.scss 20:9 @use
12:40:48 css.1 | app/assets/stylesheets/application.scss 60:1 root stylesheet
Ruby 3.2
Rails 7.0.7
- Dominant language
- SCSS
- Stars
- 2k
- Forks
- 437
- Avg merge
- 1h
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from twbs/bootstrap-rubygem
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
twbs/bootstrap-rubygem#294 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
twbs/bootstrap-rubygem#291 · 2 comments · 7 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
twbs/bootstrap-rubygem#289 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
twbs/bootstrap-rubygem#288 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
twbs/bootstrap-rubygem#284 ·
All issues in twbs/bootstrap-rubygem
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
Bug v3
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oSoWoSo/vOid_Community_repOsitory#147 · 1 comment ·
-
Builders
Difficulty 2/5 1-3 hours Newbie friendliness 72/100