Natalie Weizenbaum
cbd1f6e4cd
Merge remote-tracking branch 'origin/main' into compile-to-result
2021-07-23 13:35:50 -07:00
Rafer45
426277e3ed
Cast value correctly in putIfAbsentAsync
( #1404 )
...
* Cast value correctly in `putIfAbsentAsync`
Fixes https://github.com/sass/dart-sass/issues/1403
* Update pubspec.yaml
* Update CHANGELOG.md
Co-authored-by: Jennifer Thakar <jathak@google.com>
2021-07-19 14:13:06 -07:00
Natalie Weizenbaum
1565b9ceed
Rename includedUrls to loadedUrls
...
This is more explicit, and matches the name in the embedded protocol.
2021-07-14 14:29:22 -07:00
Natalie Weizenbaum
558ca0aa72
Expose CompileResult publicly, along with methods that return it
...
This also exposes CompileResult.includedUrls.
Closes #1355
Partially addresses sass/embedded-protocol#62
2021-07-13 18:08:23 -07:00
Natalie Weizenbaum
43b69e60a0
Change CompileResult.includedFiles to CompileResult.includedUrls
...
Rather than constructing this explicitly to match Node Sass's API, we
construct it with canonical URLs and convert it into the format
expected by the Node Sass API (a mix of paths and URLs) in the
compatibility layer.
2021-07-13 18:08:18 -07:00
Natalie Weizenbaum
0e42a09fdb
Remove CompileResult.sourceFiles
...
This was never used.
2021-07-13 17:02:50 -07:00
Natalie Weizenbaum
acdea51950
Exclude build/ from static analysis
2021-07-13 17:00:55 -07:00
Jennifer Thakar
4f428ca5f5
Release 1.35.2 ( #1390 )
2021-07-07 12:14:26 -07:00
Jennifer Thakar
3942ac4104
Fix bug in RecursiveAstVisitor ( #1389 )
...
It looks like the body of `visitParenthesizedExpression` was accidentally removed when the type parameter was removed from this class.
2021-07-07 11:41:12 -07:00
Natalie Weizenbaum
55b6813e5b
Refer to "main" branch in ci.yml ( #1384 )
2021-06-29 16:30:54 -07:00
Natalie Weizenbaum
abcad66580
Default to running against sass-spec's main branch ( #1383 )
2021-06-29 16:14:17 -07:00
Natalie Weizenbaum
b402a20757
Refer to "main" branches ( #49 )
2021-06-29 16:14:01 -07:00
Natalie Weizenbaum
a10d7c677d
Use @internal to cordon off internal-only Value APIs ( #1379 )
...
Lays the groundwork for #236
Note that we need to add a bunch of explicit @nodoc annotations to
work around dart-lang/dartdoc#2418 and dart-lang/dartdoc#2419 .
2021-06-24 17:32:57 -07:00
Natalie Weizenbaum
268f22e147
Make required span parameters positional ( #1380 )
...
Required non-boolean parameters should pretty much always be
positional. These were still named from back when spans were nullable
in Sass.
2021-06-24 17:32:36 -07:00
Natalie Weizenbaum
655fcfc950
Properly support selector lists for selector.extend() ( #1378 )
...
Closes #1301
2021-06-24 14:50:16 -07:00
Natalie Weizenbaum
83343d7046
Fix a race condition in meta.load-css() ( #1376 )
...
We weren't properly awaiting a call to CssStylesheet.accept(), which
meant that it could try to continue doing work asynchronously in the
wrong context.
Closes #1318
2021-06-23 17:12:18 -07:00
Natalie Weizenbaum
713b7cc31e
Properly register pseudos' child selectors in ExtensionStore ( #1374 )
...
Closes #1297
2021-06-23 16:43:08 -07:00
Awjin Ahn
3918aefdfd
Add links to CLI docs in README ( #1375 )
2021-06-23 13:58:19 -07:00
Natalie Weizenbaum
19bd45e738
Error for Unicode ranges that have too many ?
s after digits ( #1373 )
...
Closes #1280
2021-06-22 17:24:22 -07:00
Natalie Weizenbaum
629881212c
Fix root-relative @import URLs as passed to importers ( #1371 )
...
Closes #1137
2021-06-22 17:22:29 -07:00
Natalie Weizenbaum
5a9dd9161b
Fix a variable-assignment bug ( #1372 )
...
Closes #1250
2021-06-22 15:10:32 -07:00
Natalie Weizenbaum
c919db73aa
Support CompileRequest.quiet_deps and .verbose ( #48 )
...
Closes #44
2021-06-16 13:36:56 -07:00
Natalie Weizenbaum
0f68d7a511
Fix quiet deps when loaded through an @import of a file without @use ( #1362 )
...
Closes #1360
2021-06-15 13:37:48 -07:00
Natalie Weizenbaum
7e371666f4
Add quietDeps and verbose to the JS API ( #1353 )
...
To support this, we now run Node-Sass-style relative loads outside of
the Node importer. This allows the evaluator to check whether a
relative load succeeded and use that to determine whether the
stylesheet counts as a dependency.
See sass/sass#3065
2021-06-14 17:41:56 -07:00
Natalie Weizenbaum
f09f302684
Merge pull request #47 from sass/formatting
2021-06-14 15:27:20 -07:00
Jennifer Thakar
a077094f24
Fix toString for namespaced variable ( #1358 )
2021-06-14 14:19:53 -07:00
Natalie Weizenbaum
1c773f1cb1
Support VersionRequest and VersionResponse ( #46 )
...
Closes #33
2021-06-14 12:51:01 -07:00
Natalie Weizenbaum
f0501ec114
Reformat
2021-06-14 12:50:29 -07:00
Natalie Weizenbaum
67bd395df5
Add a CI task that checks formatting
2021-06-14 12:44:37 -07:00
Jennifer Thakar
f1d36a1860
Another implicit dependency fix ( #1352 )
2021-06-11 16:54:41 -07:00
aimuz
8557ce0b04
Update compressed_test.dart ( #1350 )
...
Delete duplicate test cases
2021-06-11 11:43:44 -07:00
Jennifer Thakar
754501145c
Fix a bug with implicit dependencies ( #1348 )
...
Encountered this while migrating internal code to math.div
2021-06-08 13:06:34 -07:00
Jennifer Thakar
af816d0941
Fix bug in --update with built-in modules ( #1338 )
...
Fixes #1335 .
2021-06-02 14:52:17 -07:00
Christophe Coevoet
0db34159e5
Fix the allowed children for the for at-rule in declarations ( #1340 )
2021-06-02 14:22:34 -07:00
Natalie Weizenbaum
fd1bfd293b
Fix the URL for the @-moz-document deprecation message ( #1339 )
...
Closes #1336
2021-06-01 18:07:46 -07:00
Natalie Weizenbaum
66ab368582
Support fuzzy range errors ( #45 )
...
Closes #32
2021-05-26 13:10:56 -07:00
Natalie Weizenbaum
12c468004c
Implement CanonicalizeRequest.from_import ( #41 )
...
See sass/sass#3055
See webpack-contrib/sass-loader#905
See sass/embedded-protocol#61
2021-05-25 17:59:17 -07:00
Natalie Weizenbaum
5d81f26f5d
Merge pull request #43 from sass/fix-tests
...
Fix broken tests
2021-05-25 12:19:33 -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
32575970e3
Avoid /-as-division deprecation warnings
2021-05-24 16:43:30 -07:00
Rafer45
b098adb289
Improve wording of comment ( #1331 )
...
Avoid a triple negative ("aren't unless non-null")
2021-05-24 14:19:38 -07:00
Natalie Weizenbaum
d15a41ab83
Merge pull request #1326 from sass/limit-warnings
...
Add an option to the CLI and Dart Sass to silence warnings from deps
2021-05-21 23:02:28 -07:00
Natalie Weizenbaum
16f181660c
Only omit 5 deprecation warnings per feature by default ( #1327 )
...
Closes #1323
2021-05-21 22:45:58 -07:00
Natalie Weizenbaum
d660bf12ef
Add an option to the CLI and Dart Sass to silence warnings from deps
...
Closes #672
2021-05-21 22:45:58 -07:00
Natalie Weizenbaum
7f982a1b3a
Only emit each warning once per source location ( #1322 )
2021-05-21 16:23:53 -07:00
Natalie Weizenbaum
112aaa6aef
Fix the broken CI ( #1317 )
...
Apparently when GitHub Actions can't parse a file, it doesn't indicate
that as a failure on a PR!
2021-05-20 17:43:01 -07:00
Natalie Weizenbaum
ba805f1039
Release 1.33.0 ( #1316 )
2021-05-20 16:41:30 -07:00
Jennifer Thakar
efe680e74b
Make :is() behave like :matches() ( #1315 )
2021-05-20 14:13:10 -07:00
Natalie Weizenbaum
c24789072d
Re-enable Node tests for Dart dev ( #1313 )
2021-05-19 17:31:39 -07:00