Commit Graph

1653 Commits

Author SHA1 Message Date
Natalie Weizenbaum
50985d733b
Fix Travis CI (#1149) 2020-11-19 16:17:54 -08:00
Natalie Weizenbaum
b826bd361a Add an upper bound to our test constraint
This works around dart-lang/test#1382.
2020-11-19 14:53:46 -08:00
Natalie Weizenbaum
0bb0584f84 Disable Node.js tests on Dart dev
These are broken by a combination of dart-lang/sdk#44181 and
dart-lang/test#1363.
2020-11-19 13:34:28 -08:00
Jennifer Thakar
4f1f5c9de8
Fix for importers that return null in load (#1139) 2020-11-10 09:44:37 -08:00
Awjin Ahn
6986dcf718
Update CONTRIBUTING.md (#1136) 2020-11-09 13:22:21 -08:00
Natalie Weizenbaum
c0e6ba1b07
Fix a buggy interaction between @at-root and @keyframes (#1135) 2020-11-05 12:55:11 -08:00
Natalie Weizenbaum
939dca8e38
Support generalized @supports conditions (#1134)
Closes #894
See sass/sass#2780
2020-11-04 16:10:37 -08:00
Natalie Weizenbaum
f798aae0af
Reformat (#1133) 2020-11-03 16:03:08 -08:00
Natalie Weizenbaum
28a582f45e
Merge pull request #1129 from sass/feature.hwb
Add support for HWB functions
2020-10-29 15:42:35 -07:00
Natalie Weizenbaum
908515065f
Merge branch 'master' into feature.hwb 2020-10-29 14:49:58 -07:00
Natalie Weizenbaum
4a0da21ed3
Fix a stack overflow when setting pkg.githubReleaseNotes (#1130) 2020-10-29 13:43:27 -07:00
Natalie Weizenbaum
093ff58673 Merge branch 'master' into feature.hwb 2020-10-28 16:22:18 -07:00
Natalie Weizenbaum
5c3f550a05
Revert "Temporarily disable deploying to Chocolatey (#960)" (#1128)
This reverts commit 01ed720e9c. Now that
google/dart_cli_pkg#56 has landed, Chocolatey deployment should work
again.
2020-10-28 15:47:31 -07:00
Natalie Weizenbaum
290e55c2f1
Trim extends at the compound selector level (#1124)
This reverts a portion of #460 (15202c4). It turns out that trimming
compound selector extends allows us to avoid exponential behavior in
certain recursive @extend cases.

See sass/dart-sass#1109
2020-10-28 15:11:22 -07:00
Natalie Weizenbaum
a9a3946fb4
Use node_interop rather than manually declaring Node APIs (#1127) 2020-10-28 15:00:05 -07:00
Natalie Weizenbaum
300197caf9
Don't crash when using Infinity or NaN as a key in a map (#1073)
Closes #3126
2020-10-27 16:38:47 -07:00
Natalie Weizenbaum
c4f95d4310
Fix the argument name for meta.load-css() (#1072)
Closes #1054
2020-10-27 15:54:14 -07:00
Natalie Weizenbaum
197c6dbbde
Emit a proper parse error for = with no RHS in a function (#1071)
Closes #1050
2020-10-27 15:47:48 -07:00
Natalie Weizenbaum
26ed30bc54
Avoid build breakages due to fibers and the latest Node (#1126) 2020-10-27 12:15:06 -07:00
Natalie Weizenbaum
00914eca36
Remove the cli_pkg dependency override (#1118) 2020-10-23 14:25:03 -07:00
Jennifer Thakar
6c679e13d4
Support HWB in adjust, change, and scale (#1111)
This adds `$whiteness` and `$blackness` parameters to the `adjust`,
`change`, and `scale` functions in the color module.

In doing so, I generalized the logic for all three functions into a
single `_updateComponents` helper since they all shared a lot of similar
logic for validating their parameters.
2020-10-14 19:45:35 -07:00
Natalie Weizenbaum
7ba5128423
Add color.whiteness() and color.blackness() functions (#1110)
See sass/sass#2834
See #1089
2020-10-14 16:15:46 -07:00
Natalie Weizenbaum
73ebf92e9f
Support the latest version of the analyzer package (#1115) 2020-10-14 14:10:46 -07:00
Natalie Weizenbaum
a56750b71b Merge remote-tracking branch 'origin/master' into feature.hwb 2020-10-14 13:19:21 -07:00
Natalie Weizenbaum
ab834e955b
Revert "Re-enable formatter (#1113)" (#1116)
This reverts commit 5f9dff562d. This is
failing again: https://travis-ci.org/github/sass/dart-sass/jobs/735581927
2020-10-14 13:18:55 -07:00
Natalie Weizenbaum
3bf67e96bc Merge remote-tracking branch 'origin/master' into feature.hwb 2020-10-13 17:37:41 -07:00
Natalie Weizenbaum
ca39c834cd
Use cli_pkg 1.0.0-beta.10 (#1114) 2020-10-13 17:37:22 -07:00
Natalie Weizenbaum
18649ee1e4 Merge remote-tracking branch 'origin/master' into feature.hwb 2020-10-13 13:48:12 -07:00
Jennifer Thakar
5f9dff562d
Re-enable formatter (#1113)
Checking to see if 2.10 did anything to help this
2020-10-12 15:41:36 -07:00
Natalie Weizenbaum
b0f213c22f Merge remote-tracking branch 'origin/master' into feature.hwb 2020-10-09 17:29:47 -07:00
Natalie Weizenbaum
8e35a4473d
Merge pull request #1108 from sass/fix-type-check
Fix custom property parsing in plain CSS
2020-10-07 16:41:04 -07:00
Natalie Weizenbaum
4bc49044c4
Add a missing word
Co-authored-by: Awjin Ahn <awjin@google.com>
2020-10-07 15:18:00 -07:00
Natalie Weizenbaum
f981227cc0
Merge branch 'master' into fix-type-check 2020-10-07 15:07:12 -07:00
Natalie Weizenbaum
b5d5f95258
Merge pull request #1102 from sass/feature.nested-maps
Merge support for nested map functions
2020-10-07 15:06:15 -07:00
Natalie Weizenbaum
1ceaec71ff Fix custom property parsing in plain CSS
Closes #1104
2020-10-07 14:49:16 -07:00
Natalie Weizenbaum
aab38fee53 Revert "Use Dart 2.9.3 for Node tests and releases (#1105)"
This reverts commit bdef3aced3. It turns
out that Dart 2.10 was not the cause of #1104.
2020-10-07 14:12:18 -07:00
Natalie Weizenbaum
bdef3aced3
Use Dart 2.9.3 for Node tests and releases (#1105)
This works around #1104 for the time being while we investigate the
root cause.
2020-10-06 17:42:21 -07:00
Natalie Weizenbaum
c14cb73b08
Merge branch 'master' into feature.nested-maps 2020-10-05 17:59:59 -07:00
Natalie Weizenbaum
ec0bab5538
Fix a bug with nested properties beneath Sass-syntax custom props (#1096)
Closes #1095
2020-10-05 17:58:53 -07:00
Natalie Weizenbaum
2198aa7dab
Merge branch 'master' into feature.nested-maps 2020-10-05 17:31:41 -07:00
Michael R Fairhurst
82b2779d5c
Remove unused dart:async imports (#1097)
* Remove unused dart:async imports

Since Dart 2.1, Future and Stream have been exported from dart:core

* Run grinder
2020-10-05 09:35:03 -07:00
Natalie Weizenbaum
d3691d44f0
Add a color.hwb() function (#1092)
See sass/sass#2834
See #1089
2020-09-23 11:45:31 -07:00
Jennifer Thakar
56d979d04d
Add a map.deep-remove() function (#1091) 2020-09-22 16:11:48 -07:00
Awjin Ahn
45703ab597
Adds nested map support to map-merge. (#1083) 2020-09-18 12:18:27 -07:00
Natalie Weizenbaum
f843f96bc2
Produce a better error for positional arguments after named (#1087)
Closes #1086
2020-09-17 17:50:19 -07:00
Natalie Weizenbaum
1918674295
Support HWB colors in SassColor (#1085)
See sass/sass#2835
2020-09-17 16:18:12 -07:00
Natalie Weizenbaum
2cf6916d20 Merge remote-tracking branch 'origin/master' into feature.nested-maps 2020-09-16 17:55:00 -07:00
Natalie Weizenbaum
6ec78f975b
Test against a matching sass-spec feature branch by default (#1082)
Rather than always defaulting to master, if Travis is running for a
feature branch or a pull request targeting a feature branch, it will
default to using the same feature branch in sass-spec.
2020-09-16 17:53:36 -07:00
Awjin Ahn
5b7471664d
Add a map.set() function (#1078) 2020-09-16 15:47:35 -07:00
Jennifer Thakar
f5e3a5a669
Add support for nested maps to has-key (#1075) 2020-09-16 14:41:23 -07:00