18 Commits

Author SHA1 Message Date
Christophe Coevoet
5509f1c754
Implement support for sourceMapIncludeSources (#62) 2022-01-31 15:15:23 -08:00
Natalie Weizenbaum
53464a7979
Use the Sass shared Dart analysis options (#67) 2022-01-25 17:16:17 -08:00
Natalie Weizenbaum
21f0219157
Don't return a CompileFailure without a span (#60)
We weren't adding a span for a compile failure due to a path not being
found. There's no real source in this situation, so we just create an
empty span instead.
2021-12-29 17:18:10 -08:00
Natalie Weizenbaum
1c773f1cb1
Support VersionRequest and VersionResponse (#46)
Closes #33
2021-06-14 12:51:01 -07:00
Natalie Weizenbaum
de335d884e Fix warning expectations in tests 2021-05-24 17:42:44 -07:00
Natalie Weizenbaum
49ef4c1121 Use the new enum names in the latest protocol version 2021-05-24 16:56:53 -07:00
Natalie Weizenbaum
93bc86f97a
Support non-nullability (#40) 2021-05-17 20:57:37 -07:00
Awjin Ahn
831e5e903e
Formatted alerts (#35) 2021-02-03 18:31:27 -08:00
Christophe Coevoet
d18aa4dbbe
Migrate CI to github actions (#28) 2021-01-20 13:21:05 -08:00
Natalie Weizenbaum
8a559fbe50
Update tests for the latest Sass version (#25) 2021-01-05 15:36:24 -08:00
Natalie Weizenbaum
3130888661
Delimit messages using varints, as per sass/embedded-protocol#38 (#23)
See sass/embedded-protocol#37
2020-12-22 16:06:16 -08:00
Awjin Ahn
e302719e15
Update error handling to be asymmetric. (#18)
(As per the protocol spec)
2020-08-26 14:10:13 -07:00
Natalie Weizenbaum
b046b97c9e Use cli_pkg's testing infrastructure 2020-07-21 16:21:24 -07:00
Natalie Weizenbaum
95bb3aceb6
Add support for importers (#8) 2019-11-07 16:03:47 -08:00
Natalie Weizenbaum
ec05600af2
Emit LogEvents (#6) 2019-11-05 13:51:08 -08:00
Natalie Weizenbaum
3de78be2f0
Plug in the actual Sass compiler (#5)
This now supports real CompileRequest and CompileResponses, although
it's missing features like importers, custom functions, and source
maps.
2019-11-04 19:50:50 -08:00
Natalie Weizenbaum
ebdcb23d79 Run from script or native snapshots in tests if available 2019-11-04 12:04:02 -08:00
Natalie Weizenbaum
7489d5796d Add a very basic protocol dispatcher and a few tests
Currently this doesn't actually invoke the compiler, it just always
returns the expanded output for "a {b: c}".
2019-11-01 19:02:12 -07:00