Connor Skees
c494abc78e
add string.split error tests
2024-05-19 03:45:20 +00:00
Connor Skees
8831279ee1
remove unused map property from parsers
2024-05-19 03:45:20 +00:00
Matyáš Pokorný
a1ca700bff
Add logger trait ( #93 )
...
Introduced a new `Logger` trait which can be used to access all log events
emitted during compilation. Currently these only include messages emitted by the
`@debug` and `@warn` statements.
Changes were implemented in a backwards-compatible manner, but the current
`Options::quiet` method has been marked as deprecated, as its behavior can be
achieved using the `NullLogger` structure. The default logger used is
`StdLogger` which writes all log events to standard error. This reflect the
default behavior prior to introduction of `Logger`.
With these new changes, it is also now possible to properly test the `@debug`
and `@warn` statements.
2024-05-18 23:44:40 -04:00
David James
8d3258dcd4
implement and test string.split #95 ( #96 )
...
Co-authored-by: David James <xpe@ixm.local>
2024-05-11 15:30:41 -04:00
Mqx
c887e17e2e
Add workflow to automatically build WASM files ( #92 )
2024-02-24 00:24:23 -05:00
Connor Skees
3d02a5f6fb
bump version to 0.13.2
2024-02-07 05:26:21 +00:00
Connor Skees
11366ab701
resolve deprecation warning from IndexMap
2024-02-07 05:24:29 +00:00
Paolo Barbolini
318c984169
Bump dependencies ( #89 )
2024-02-06 14:03:57 -05:00
Kevin Wenner
f7f620e44d
Fix @forward
statement altering the scope of the forwarded module ( #85 )
...
* avoid mutating forwarded module scope
* fix by adding scope to ForwardedModule instead
- add a test reproducing the issue
* fix verbose and no-color sass cli flags
2023-09-27 22:15:46 -07:00
Connor Skees
0d23a46619
bump version to 0.13.1
2023-07-17 19:27:05 +00:00
Connor Skees
491be199f7
bump MSRV to 1.64.0
2023-07-14 16:08:34 +00:00
Connor Skees
4c903ddb2a
bump clap version to 4.x.x
2023-07-14 16:04:25 +00:00
Connor Skees
5b6a06d3c8
resolve remaining clap deprecations
2023-07-14 15:45:40 +00:00
Connor Skees
95d09192cd
fix some clap deprecation warnings
2023-07-14 15:21:18 +00:00
Connor Skees
2958b92e82
bump clap version to 3.x.x
2023-07-13 19:46:58 +00:00
Connor Skees
69e0938b01
ignore more false positive clippy lints
2023-07-09 23:32:13 +00:00
Connor Skees
a3e9233dc0
compile for rustdoc with macro feature
2023-07-09 22:24:54 +00:00
Connor Skees
7d1c5099a0
install components in ci
2023-07-09 22:12:12 +00:00
Connor Skees
a919927101
bump version to 0.13.0
2023-07-09 22:00:50 +00:00
Connor Skees
67044cdb85
ignore false positive clippy lint
2023-07-09 21:56:15 +00:00
Connor Skees
402578136f
rename children => body
2023-07-09 21:39:43 +00:00
Dirk Stolle
343c7124a4
fix some typos ( #78 )
2023-07-09 21:21:42 +00:00
greenwoodcm
beb64abac4
support $keys...
argument for map.get
( #83 )
...
per the sass-lang docs [1], the user should be able to invoke
`map.get($my-map, "key1", "key2")` to perform a nested lookup
of the two keys. the current implementation fails if provided
more than two arguments to `map.get`. this change implements
the nested get. fixes #80 .
[1] https://sass-lang.com/documentation/modules/map/
2023-07-09 13:55:45 -04:00
Connor Skees
346b8c127b
allow building docs with stable rust compiler
2023-06-30 06:22:25 +00:00
Connor Skees
8b34d0ee2a
expose more AST internals in grass_compiler
2023-06-30 05:34:05 +00:00
Connor Skees
8363ca1dd3
various module system improvements and bug fixes
2023-05-20 18:13:15 +00:00
Connor Skees
28c2269bb1
bump version to 0.12.4
2023-05-12 02:44:14 +00:00
Connor Skees
eecff6d58a
implement builtin fn map.deep-remove
2023-05-12 02:34:25 +00:00
Connor Skees
f811b243c7
implement builtin fn map.deep-merge(..)
2023-05-11 16:38:56 +00:00
Connor Skees
712a14b36e
bump version to 0.12.3
2023-02-18 15:09:23 -05:00
Connor Skees
b13fcc3f08
expose more internals
2023-02-18 15:05:51 -05:00
Connor Skees
7d19140b4d
default-features = false for grass_compiler
2023-02-18 15:00:59 -05:00
Connor Skees
c1144cf715
remove glob re-export
2023-02-18 12:06:55 -05:00
connorskees
dc6a2d1165
resolve more todos
2023-02-02 06:14:10 +00:00
connorskees
cd193dd006
bump version to 0.12.2
2023-02-01 02:45:17 +00:00
connorskees
942bb20d75
revert float formatting change
...
this change does fix more number tests, but i'm not certain that
it doesn't break cases we don't test for.
it only solves extremely niche edge cases, so for now reverting
until we can be more certain in a later release
2023-02-01 02:42:19 +00:00
Roland Fredenhagen
1e440a0d2c
fix calc whitespace ( #71 )
2023-01-31 18:57:10 -05:00
connorskees
45ad97e0be
fix typo in docs
2023-01-25 03:35:46 +00:00
connorskees
40d2aa232a
improve code coverage
2023-01-21 23:06:43 +00:00
connorskees
5889859968
increase selector code coverage
2023-01-20 22:59:27 +00:00
connorskees
d0d9459d8e
improve compressed output for selectors and colors
2023-01-18 05:55:55 +00:00
connorskees
3b7f4dd039
use compressed output in doc example
...
makes this feature more discoverable, as it's typically what users want
2023-01-18 02:17:35 +00:00
connorskees
23abe152bd
increase code coverage
2023-01-18 01:39:40 +00:00
connorskees
0de3d2709f
resolve all failing color spec tests
2023-01-17 05:22:34 +00:00
connorskees
a7c2ca7b82
clippy
2023-01-16 22:32:03 +00:00
connorskees
f5a654fe5b
simplify builtin fn argument handling
2023-01-16 06:46:56 +00:00
connorskees
95efc582b5
naively cache imports in certain cases
2023-01-11 14:59:28 +00:00
connorskees
3cb5e66fda
resolve edge case when interpolated parent selector expands to be larger than source span _and_ it contains an escaped character
2023-01-11 01:10:36 +00:00
connorskees
68b1ee0d1d
allocate arg vec with capacity during eval
2023-01-09 01:51:54 +00:00
Connor Skees
1052005ab6
update readme path
2023-01-08 12:06:58 -05:00