Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Division via / is deprecated and raises warnings #1107

Merged
merged 1 commit into from
Feb 16, 2022

Conversation

jclusso
Copy link
Contributor

@jclusso jclusso commented Sep 15, 2021

Ran the SASS migration tool for division so the deprecation warnings stop being thrown. This should resolve #1106.

} @else {
$v1: ($v1 / $ratio);
$v1: math.div($v1, $ratio);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unexpected duplicate dollar variable $v1 scss/no-duplicate-dollar-variables

$value: $v2;
$v2: ($v2 / $ratio);
$v2: math.div($v2, $ratio);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unexpected duplicate dollar variable $v2 scss/no-duplicate-dollar-variables

@@ -102,15 +104,15 @@
@if $increment < 0 {
// adjust $v2 to just below $v1
@if $double-stranded {
$v2: ($v2 / $ratio);
$v2: math.div($v2, $ratio);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unexpected duplicate dollar variable $v2 scss/no-duplicate-dollar-variables

@@ -78,7 +80,7 @@

// scale $v2 to just above $v1
@while $v2 > $v1 {
$v2: ($v2 / $ratio); // will be off-by-1
$v2: math.div($v2, $ratio); // will be off-by-1
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unexpected duplicate dollar variable $v2 scss/no-duplicate-dollar-variables

@jclusso
Copy link
Contributor Author

jclusso commented Sep 15, 2021

It seems that hound is complaining about the structure of the code which I didn't change. I'm going to leave that alone since I don't 100% know how to fix it. Hopefully it can be accepted as is since it's unrelated.

@jclusso
Copy link
Contributor Author

jclusso commented Sep 23, 2021

Checking in to see if this can be merged?

@jclusso
Copy link
Contributor Author

jclusso commented Oct 27, 2021

Can someone please merge this so we stop getting the deprecation warnings.

@joepagan
Copy link

joepagan commented Dec 1, 2021

Sorry to notify you @tysongach as you appear to be the most activity on this repo in recent history. Could you help?

@tysongach
Copy link
Contributor

I wish I could help, but I longer work at thoughtbot and am no longer involved in this project (I no longer have push access).

@joepagan
Copy link

joepagan commented Dec 2, 2021

@mike-burns looks like you've committed before & still work at thoughtbot, can you help sir or ask someone there who can?

@vendelal
Copy link

vendelal commented Dec 2, 2021

@joepagan hi! thanks for nudging us on this and @mike-burns thanks for bringing this to my attention. I'll review this and the hound warnings and get this merged for ya

@joepagan
Copy link

joepagan commented Jan 5, 2022

@vendelal thanks for the response, have you had an opportunity to review this yet?

@Philip-Carneiro
Copy link

Philip-Carneiro commented Feb 16, 2022

Hi @vendelal, did you had an opportunity to review this yet? Could you tag someone who can do it?
Thank you

@cpytel @tjvc @FerPerales
Sorry folks to tag in in this, but I just want to know if this package is abandoned or you guys still looking into it?

@vendelal vendelal merged commit 67f8a85 into thoughtbot:master Feb 16, 2022
@joepagan
Copy link

joepagan commented Feb 17, 2022

@vendelal thanks for the approval/merge. Any chance of a release?

enatario added a commit that referenced this pull request Feb 22, 2022
…being thrown. (#1107) (#1110)

Co-authored-by: Jarrett Lusso <jclusso@gmail.com>
setphen added a commit that referenced this pull request Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
5 participants