Commit Graph

2289 Commits

Author SHA1 Message Date
Natalie Weizenbaum
cc5529bda6
Drop the Git dependency on source_span (#1751)
We don't need to narrow the version constraint because this release
just improves formatting, it doesn't actually change the API.
2022-07-21 16:53:06 -07:00
Natalie Weizenbaum
1bd774485d
Deprecate passing non-deg units to hwb()'s $hue argument (#1747)
This was overlooked in #1175, because the spec said that `hwb()`
should already be throwing an error if non-`deg` units were passed.
However, Dart Sass didn't implement the spec correctly and these units
were in fact not being checked at all.

See #1174
2022-07-18 17:57:45 -07:00
Natalie Weizenbaum
4b53c163d7
Deprecate bogus combinators (#1740)
See sass/sass#3340
See sass/dart-sass#1727
2022-07-18 16:16:10 -07:00
Natalie Weizenbaum
fd4c50c3d9
Expose selector APIs through sass_api (#1741) 2022-07-15 15:43:48 -07:00
Goodwine
6f5e1f17eb
Fix CI when declaring -dev dependencies (#92)
* Clone dart-sass from github when using "-dev" deps

Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2022-07-11 23:10:48 -07:00
なつき
f611b066c5
Remove @types/node from dependency (#1737) 2022-07-08 21:57:51 -07:00
Goodwine
2b0721cf9f
Merge pull request #91 from ntkme/charset-option
Add charset option
2022-07-06 13:50:42 -07:00
なつき
b99ad4ba14
Add charset option to js-api (#1732) 2022-07-06 13:41:51 -07:00
なつき
fa972c9e03 Use mv instead of ln -s 2022-07-01 17:37:53 -07:00
なつき
50ade3023f Fix linked repo clone path 2022-07-01 17:15:38 -07:00
Goodwine
2299632ddf
Fix sass types for TS 4.7+ Node16/NodeNext module resolution (#1736)
Fixes #1714
2022-06-30 16:05:41 -07:00
なつき
1123943268 Add charset option 2022-06-29 22:01:33 -07:00
Natalie Weizenbaum
26e117c896
Remove the unused and unuseful Heroku deploy action from ci.yml (#1729) 2022-06-22 15:52:30 -07:00
Sass Bot
be23a74d7d Update Dart Sass version and release 2022-06-22 19:37:08 +00:00
Natalie Weizenbaum
fd4a30f36f
Cut a release (#1726) 2022-06-22 12:24:29 -07:00
Natalie Weizenbaum
c5e1f0b6ab
Add support for var() with an empty fallback argument (#1723)
Closes sass/sass#3245
2022-06-21 15:07:59 -07:00
Natalie Weizenbaum
8705c06b2b
Fix a buggy interaction between meta.load-css and the legacy JS API (#1722)
Closes #1627
2022-06-17 14:38:41 -07:00
Natalie Weizenbaum
4d6b7628ef
Add a changelog entry for sass/embedded-host-node#117 (#1719) 2022-06-14 18:46:50 -07:00
Natalie Weizenbaum
270f5c4c93
Deploy the Sass website using GitHub pages rather than Heroku (#1718) 2022-06-13 16:05:13 -07:00
Sass Bot
a4545258cc Update Dart Sass version and release 2022-06-09 00:00:38 +00:00
Goodwine
ae6275e5e2
fix serializing loud comment crash when importing the same file twice in a row (#1713)
* fix serializing loud comment crash when importing the same file twice
2022-06-08 16:48:36 -07:00
Sass Bot
5a70b24c70 Update Dart Sass version and release 2022-06-03 02:32:38 +00:00
Goodwine
44c2966b8a
Add changelog for PR #849 about preserving trailing loud comment location (#1709) 2022-06-02 19:18:04 -07:00
Nicholas Behrens
1faf81cee4
Fix #417 preserve the location of trailing loud comments (#849)
See sass/sass-spec#1485

- Update lib/src/visitor/serialize.dart to stop using old-style int-based for loop.
- Extend FileSpan with a .contains(targetSpan) method

Co-authored-by:  Nick Behrens <nbehrens@google.com>
Co-authored-by:  Carlos Israel Ortiz García <goodwine@google.com>
Co-Authored-By: Natalie Weizenbaum <nweiz@google.com>
2022-06-02 18:46:12 -07:00
なつき
3d442b402b
Run qemu with tmpfs (#89) 2022-05-31 17:56:42 -07:00
なつき
cb74cc4c31
Run qemu in tmpfs (#1707) 2022-05-31 16:43:22 -07:00
Christophe Coevoet
46c2c9b1a9
Remove unused methods (#1702)
Those protected methods have been removed from the StatementSearchVisitor
2022-05-25 20:03:24 +00:00
Natalie Weizenbaum
e69d90320a
Mention facebook/jest#2549 in the README (#1700) 2022-05-23 16:08:52 -07:00
Sass Bot
5917e5ef3c Update Dart Sass version and release 2022-05-20 22:15:29 +00:00
Natalie Weizenbaum
d17f70fd52
Revert "Abort sass if stdin is closed when watching (#1411)" (#1699)
This reverts commit c7ab426cb0.

See #1665, #1411
2022-05-20 15:04:21 -07:00
Natalie Weizenbaum
561fe25b82
Use "dart pub publish" instead of "pub publish" (#1698) 2022-05-20 15:04:07 -07:00
Natalie Weizenbaum
fa0d2fb55a
Add support for arbitrary modifiers after @import (#1695)
See sass/sass#3285
2022-05-19 16:53:30 -07:00
Jennifer Thakar
b19b3b141d
Fix assertUnit and assertNoUnits (#1686)
Fixes #1685.
2022-05-10 15:27:47 -07:00
Douglas Silva
2e7db70e2d
Add documentation for using it with Docker (#1684)
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2022-05-02 21:37:49 +00:00
Christophe Coevoet
1e211d640a
Escape the source map URL before using it in a CSS comment (#1676)
The URL must not be allowed to terminate the comment.
2022-04-27 09:54:52 -07:00
Christophe Coevoet
7004d49f98
Fix the tracking of variable nodes for scopes (#1681)
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2022-04-26 14:59:21 -07:00
Sass Bot
8e907ab92d Update Dart Sass version and release 2022-04-26 02:32:43 +00:00
Natalie Weizenbaum
0c24114bad
Update the order of maps returned by map.deep-merge() (#1680)
Closes sass/sass#3092
2022-04-25 19:20:54 -07:00
Christophe Coevoet
6eed6eb62a
Fix the string representations of the Sass AST (#1682)
* Fix the string representations of the Sass AST

Those are used when providing recommendations in warnings or errors, so
it is better if they produce valid code.

* Add changelog

Co-authored-by: Jennifer Thakar <jathak@google.com>
2022-04-25 16:53:08 -07:00
Sass Bot
85735c4b4b Update Dart Sass version and release 2022-04-19 00:59:18 +00:00
Natalie Weizenbaum
fbd450b182
Cut a release (#1671) 2022-04-18 17:47:56 -07:00
Natalie Weizenbaum
3dbb552d3b
Add a changelog entry for sass/dart-sass-embedded#83 and sass/embedded-host-node#128 (#1668) 2022-04-12 14:29:47 -07:00
なつき
615f6ed70a
Treat null importer as noOp if url is not a file: url (#83) 2022-04-11 17:09:20 -07:00
Natalie Weizenbaum
f2053d7018
Run JS API tests for the Node embedded host (#84)
Since this provides a substantial amount of the Node embedded
implementation, it's sometimes necessary to test that updates continue
to pass (or begin to pass) the JS API tests, as for example in #83.
2022-04-08 16:08:26 -07:00
Sass Bot
39500727d9 Update Dart Sass version and release 2022-04-07 02:31:35 +00:00
Jennifer Thakar
039f2adeed
Add support for :where() (#1662) 2022-04-06 19:19:59 -07:00
Michael Crumm
c7ab426cb0
Abort sass if stdin is closed when watching (#1411)
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2022-04-06 17:37:40 -07:00
Natalie Weizenbaum
db852764bd
Update the changelog for sass/embedded-host-node#120 (#1663) 2022-04-06 13:32:52 -07:00
Sass Bot
a5d370c50e Update Dart Sass version and release 2022-04-01 22:48:36 +00:00
Natalie Weizenbaum
d7d3f8faa2
Cut a release (#1659)
This adds changelog entries for sass/dart-sass-embedded#80 and
sass/embedded-host-node#118.
2022-04-01 15:37:47 -07:00