Natalie Weizenbaum
00914eca36
Remove the cli_pkg dependency override ( #1118 )
2020-10-23 14:25:03 -07:00
Natalie Weizenbaum
73ebf92e9f
Support the latest version of the analyzer package ( #1115 )
2020-10-14 14:10:46 -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
ca39c834cd
Use cli_pkg 1.0.0-beta.10 ( #1114 )
2020-10-13 17:37:22 -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
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
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
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
Jennifer Thakar
6b66241e95
Add support for nested maps to map-get ( #1076 )
2020-09-16 13:23:52 -07:00
Natalie Weizenbaum
028b2f6a01
Add a map.deep-merge() function ( #1077 ) ( #1080 )
...
This also adds a Value.tryMap() function, which was useful for
implementing this and may be more generally useful to users as well.
See sass/sass#2836
See sass/sass-spec#1560
2020-09-15 16:25:49 -07:00
Natalie Weizenbaum
015a76cf0b
Revert "Add a map.deep-merge() function ( #1077 ) ( #1080 )"
...
This reverts commit 315e86b442
.
Once again, this was supposed to go on feature.nested-maps.
2020-09-15 16:24:53 -07:00
Natalie Weizenbaum
315e86b442
Add a map.deep-merge() function ( #1077 ) ( #1080 )
...
This also adds a Value.tryMap() function, which was useful for
implementing this and may be more generally useful to users as well.
See sass/sass#2836
See sass/sass-spec#1560
2020-09-15 16:23:01 -07:00
Natalie Weizenbaum
9503b57ac5
Revert "Add a map.deep-merge() function ( #1077 )"
...
This reverts commit bc7216a441
.
This was intended to land on a feature branch, not on master.
2020-09-15 15:17:55 -07:00
Natalie Weizenbaum
bc7216a441
Add a map.deep-merge() function ( #1077 )
...
This also adds a Value.tryMap() function, which was useful for
implementing this and may be more generally useful to users as well.
See sass/sass#2836
See sass/sass-spec#1560
2020-09-15 13:03:38 -07:00
Jennifer Thakar
830bb3aab2
Move Node tests on Windows to Travis ( #1063 )
...
* Move Node tests on Windows to Travis
Appveyor is flaky and can't be restarted by all team members, so moving
everything to Travis is preferable if we can get it to work.
* Actually use latest stable Node
This should also workaround the issue with lts/* not working on
Windows.
* Use npm.cmd instead of raw npm on Windows
* Use p.prettyUri() for Node API tests
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2020-09-08 09:23:46 -07:00
Natalie Weizenbaum
a06295426d
Throw a proper error when the same built-in module is @used twice ( #1070 )
...
Closes #1047
2020-09-04 12:26:29 -07:00
Natalie Weizenbaum
1dff9a7ce4
Don't crash when writing Infinity in JS mode ( #1069 )
...
Closes #1031
2020-09-04 12:25:42 -07:00
Natalie Weizenbaum
4c0bc7f4f5
Throw an error if the first error to selector.nest() contains & ( #1068 )
...
Closes #966
2020-09-03 16:00:14 -07:00
Anthon Pang
330d93c2c1
Rename listIsSuperslector ( #1062 )
2020-08-24 09:46:26 -07:00
Christophe Coevoet
fca32e8deb
Use HTTPS links in the changelog ( #1061 )
...
This also update the URL to the canonical one rather than relying on the redirection.
2020-08-24 09:29:21 -07:00
Natalie Weizenbaum
9f640625e9
Improve the error messages for syntax errors ( #1055 )
...
* Produce a useful error for "@else i<EOF>"
* Produce a useful error for out-of-range hex escapes
Closes #1029 , #1049 , #1030
2020-08-10 13:55:13 -07:00
Jennifer Thakar
9375ada8e6
Fix a selector parsing bug in indented syntax ( #1005 )
...
Fixes #1002 .
In the indented syntax, a selector list may continue onto another line
if the previous line ends with a comma. Previously, if there was a
comment after the comma, it wouldn't be recognized and the selector
would be broken in two (with the first selector having no properties).
This fixes the parser to ignore comments when looking for the comma at
the end of a line.
Also disables the formatting check to work around dart-lang/dart_style#940 .
2020-08-06 15:43:16 -07:00
Jennifer Thakar
6565b45a6c
Fix a null pointer bug ( #1041 )
...
Fixes #1038 .
2020-07-06 15:35:09 -07:00
Jennifer Thakar
fcd7c26a6f
Fix release notes to include changes ( #1037 )
2020-07-01 14:59:26 -07:00
Mary
9a89df2b64
Release 1.26.9 ( #1028 )
...
Co-authored-by: Jennifer Thakar <jathak@google.com>
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2020-06-22 14:32:00 -07:00
Jennifer Thakar
7933e9e602
Replace use of deprecated mapMap with map literals ( #1034 )
2020-06-22 13:35:28 -07:00
Jennifer Thakar
7d6dae02a4
Always use absolute URLs in stdout source maps ( #1021 )
...
Fixes #1020 .
2020-06-04 17:03:06 -07:00
Awjin Ahn
69627fbb5c
Fix broken link in contributing doc. ( #1018 )
...
Fixes https://github.com/sass/dart-sass/issues/1017
2020-05-29 10:16:30 -07:00
Jennifer Thakar
cf3ac21752
Fix pubspec and release 1.26.7 ( #1016 )
...
Pub was failing due to the `js` dependency being declared as a dev
dependency but being referenced in `lib`.
2020-05-28 16:46:28 -07:00
Jennifer Thakar
3ad267479d
Release 1.26.6 ( #1015 )
...
This also updates Travis to build the standalone Windows release on an
actual Windows machine.
2020-05-28 14:10:15 -07:00
Jennifer Thakar
fba0ea37a1
Properly handle escaped @else
( #1014 )
...
Fixes #1011 .
This also fixes a bug where `@else` was parsed case-insensitively
(unlike all other Sass at-rules, which must be lowercase).
2020-05-28 11:48:24 -07:00
Jennifer Thakar
f233bccadf
Test on current Node LTS releases ( #1009 )
2020-05-26 12:02:31 -07:00
Jennifer Thakar
d155f3518e
Fix lints ( #1010 )
2020-05-21 13:48:01 -07:00
Natalie Weizenbaum
41c2dc327b
Update the Heroku token ( #988 )
...
The old value doesn't seem to be working anymore.
2020-05-13 12:48:22 -07:00
Natalie Weizenbaum
93dcf994d5
Update outdated docs for ImportCache.importCanonical(). ( #982 )
2020-05-13 12:47:52 -07:00