Commit Graph

408 Commits

Author SHA1 Message Date
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
fa0d2fb55a
Add support for arbitrary modifiers after @import (#1695)
See sass/sass#3285
2022-05-19 16:53:30 -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
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
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
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
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
Jennifer Thakar
6652001f19
Stop simplifying calculations in supports (#1653)
Fixes #1652.

Also releases 1.49.10
2022-03-30 15:14:46 -07:00
なつき
55157a576e
Deploy linux arm64 release to github (#1643) 2022-03-26 01:14:08 +00:00
Natalie Weizenbaum
3abcc20595
Silence compiler warnings in dependency callables with --quiet-deps (#1650)
Closes #1560
2022-03-14 15:52:13 -07:00
Natalie Weizenbaum
2baa2f6f9d
Add a changelog entry for sass/embedded-host-node#114 (#1638) 2022-02-24 12:24:55 -08:00
Jennifer Thakar
c66ea3f9a5
Fix CSS import bug (#1633) 2022-02-17 13:25:21 -08:00
Awjin Ahn
864d526715
Allow Node 17 to pass extra args to inspect. (#1631) 2022-02-16 16:38:56 -08:00
Natalie Weizenbaum
e3bf3eb3a3
Release a new version to trigger an Embedded Sass release (#1620) 2022-02-01 13:54:18 -08:00
Natalie Weizenbaum
408eddb1ac
Release a new version to trigger an Embedded Sass release (#1619) 2022-02-01 13:02:00 -08:00
Natalie Weizenbaum
0070b0ebaa
Update the embedded compiler changelog on release (#1618) 2022-02-01 12:21:57 -08:00
Natalie Weizenbaum
a5b38e21ba
Don't release the embedded compiler until sass_api has released (#1617) 2022-01-31 17:31:11 -08:00
Natalie Weizenbaum
75c09a010e
Install Dart in the "Release Embedded Compiler" step (#1616) 2022-01-31 16:52:16 -08:00
Natalie Weizenbaum
d7d3f49b5b
Use | rather than > in ci.yml (#1615)
The `|` character preserves newlines where `>` does not.
2022-01-31 16:30:51 -08:00
Natalie Weizenbaum
44a68a3005
Cut a release (#1614)
This should trigger the release of the embedded Sass compiler and
Node.js host as well.
2022-01-31 15:45:25 -08:00
Awjin Ahn
5a12ef508f
Drop support for non-LTS Node (< 12). (#1612) 2022-01-26 17:07:18 -08:00
Natalie Weizenbaum
13099d497a
Cut a release (#1600)
This also adds a CHANGELOG entry for the TS declaration fix for
LegacyPluginThis.options.linefeed.
2022-01-18 14:35:51 -08:00
Jennifer Thakar
e1fcbaaf36
Fix string.insert with negative indices (#1598) 2022-01-13 16:40:02 -08:00
Natalie Weizenbaum
8fd0ffdb4b
Cut a release with a TS definition for NULL (#1596)
See sass/sass#3243
2022-01-12 18:37:06 -08:00
Natalie Weizenbaum
720c358c06
Set LegacyResult.map to undefined rather than null (#1592) 2022-01-10 14:16:27 -08:00
Natalie Weizenbaum
54fd309079
Cut a release with TS definitions for TRUE/FALSE (#1591)
See sass/sass#3241
2022-01-07 15:12:42 -08:00
Natalie Weizenbaum
f9dff2ecff
Mention TypeScript type updates in the CHANGELOG (#1589) 2022-01-05 16:39:55 -08:00
Natalie Weizenbaum
6bf9853330
Pass undefined span instead of null to Logger.warn() in JS (#1586) 2022-01-05 15:59:15 -08:00
Natalie Weizenbaum
169178af6c
Fix the default separator for new SassArgumentList in the JS API (#1580) 2021-12-30 16:04:00 -08:00
Natalie Weizenbaum
ad4ac5e5da
Cut a release (#1574) 2021-12-20 13:28:13 -08:00
Awjin Ahn
1798a7c275
Let inspect() print nested, empty, bracketed lists. (#1547)
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2021-12-10 23:01:16 +00:00
Natalie Weizenbaum
f31d154037 Release 1.45.0 2021-12-10 13:35:00 -08:00
Natalie Weizenbaum
fcdaa4e3f4
Add TypeScript type declarations to the npm package (#1563)
Closes #13
2021-12-02 23:01:14 +00:00
Natalie Weizenbaum
79541905bc
Release a release candidate for the new JS API (#1562) 2021-11-30 23:32:09 +00:00
Christophe Coevoet
3e231f784b
Improve the deprecation message for /-as-division (#1561)
This also changes the string representation of ParenthesizedExpression
to fix the recommendations involving them (otherwise the calc
recommendation would be an invalid one).

Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2021-11-30 01:43:08 +00:00
Natalie Weizenbaum
97c51d6285
Add support for the JS API value types (#1552) 2021-11-30 00:10:47 +00:00
Paul Golmann
926781b782
Add support for css empty namespace attribute selector (#1554)
Closes sass/sass#3199
2021-11-24 23:20:33 +00:00
Natalie Weizenbaum
55cb4fd509
Track stack traces through rethrows (#1545)
This requires a lot of manual machinery when displaying stack traces
to the user, but it should make debugging errors (especially in JS)
much easier.

Works around dart-lang/sdk#10297 using expandos.
2021-11-05 06:05:50 +00:00
Natalie Weizenbaum
756fcd3911
Fix the logger option for render() (#1538)
Closes #1533
2021-10-26 21:06:40 +00:00
Natalie Weizenbaum
6069708a83 Cache hash codes for Sass strings and numbers
These values are often stored in maps, so caching their hash codes
seems to be net valuable.
2021-10-20 16:36:52 -07:00
Natalie Weizenbaum
2cf2f27499 Use the latest version of cli_pkg
Closes #1531
2021-10-12 16:39:55 -07:00
Christophe Coevoet
6641459fa2
Improve the error message for invalid default namespaces (#1513) 2021-10-06 10:16:35 -07:00
Jennifer Thakar
4f67c4dd30
Fix RecursiveAstVisitor (#1525)
`visitCalculationExpression` is now properly implemented.

This also adds concrete test classes that extend `RecursiveAstVisitor`
and `RecursiveStatementVisitor` to ensure similar issues are avoided in
the future whenever new AST nodes are added.
2021-10-05 18:36:45 -07:00
Natalie Weizenbaum
4b0f008760
Add support for the new JS logger API (#1515)
See sass/sass#2979
2021-10-05 20:57:44 +00:00
Natalie Weizenbaum
fb180ff9f5 Update to the latest linter package and fix lints 2021-10-05 13:21:19 -07:00
Natalie Weizenbaum
31689a3637
Add basic compile functions for the new JS API (#1503) 2021-10-02 00:35:10 +00:00