Christophe Coevoet
9005c6bed5
Remove useless dev dependency ( #1210 )
...
source_span is already a normal dependency of the package.
2021-01-20 11:21:20 -08:00
Natalie Weizenbaum
d5207f8fb6
Merge pull request #1208 from sass/node-api-bugs
...
Fix a few Node.js API bugs
2021-01-19 20:23:19 -08:00
Natalie Weizenbaum
474956d9a8
Merge branch 'master' into node-api-bugs
2021-01-19 18:38:41 -08:00
Christophe Coevoet
f0720f204d
Implement proper handling of units in for loops ( #1200 )
...
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2021-01-19 18:37:41 -08:00
Mary
9262326e76
Update node_preamble.dart ( #1207 )
...
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2021-01-19 18:19:32 -08:00
Natalie Weizenbaum
072c5252ca
Wrap fiber.yield() calls in runZoned()
...
This resets the current zone after the fiber returns, where otherwise
it could end up set to a different zone entirely, since Dart's Zone
API is unaware of fibers.
Closes #1204
2021-01-15 16:14:35 -08:00
Natalie Weizenbaum
f93feaf592
Don't try to cast an error to JsError
...
Dart's runtime understanding of what a "JsError" is isn't sufficient
to make sense of everything that might be thrown by, for example, a
custom function with an error.
2021-01-15 16:14:20 -08:00
Christophe Coevoet
6ea8ce6cf9
Fix the CI to use a PR version of sass-spec ( #1201 )
...
The previous implementation contained 2 mistakes:
- there was a mismatch between names of env variables in the workflow
config and in the script
- the `github.base_ref` property in github actions contains a branch
name, not a full git ref like `github.ref`
2021-01-13 13:06:56 -08:00
Natalie Weizenbaum
a2d2fe20fd
Wait 30 seconds for the npm package to be available for Bazel ( #1202 )
2021-01-12 13:59:59 -08:00
Natalie Weizenbaum
e97dd1a279
Merge pull request #1198 from sass/deploy
...
Fix some deployment infrastructure
2021-01-11 17:41:17 -08:00
Natalie Weizenbaum
19555e9a7a
Release 1.32.4
2021-01-11 17:04:09 -08:00
Natalie Weizenbaum
0b877a127d
Fix an analysis hint
2021-01-11 17:04:00 -08:00
Natalie Weizenbaum
b9f313295b
Update benchmarks ( #1196 )
2021-01-11 16:54:14 -08:00
Natalie Weizenbaum
647fc45fcf
Fix the condition for deploying to Chocolatey
2021-01-11 16:50:10 -08:00
Natalie Weizenbaum
f3bd9103ed
If Yarn can't find the new Sass version immediately, wait 10 seconds
2021-01-11 16:44:51 -08:00
Natalie Weizenbaum
ec8cfb32f9
Use GH_TOKEN and GH_USER for Bazel deploy
2021-01-11 16:37:46 -08:00
Natalie Weizenbaum
0cae33007f
Fix the expected format for GitHub refs ( #1197 )
2021-01-11 16:11:24 -08:00
Natalie Weizenbaum
ae967c7e6e
Remove lingering references to Travis CI ( #1195 )
2021-01-11 15:02:36 -08:00
Natalie Weizenbaum
66cb55c76f
Avoid throw/catch in Number.== ( #1188 )
...
Throwing and catching exceptions is expensive. Testing this on one
user's number-heavy codebase resulted in a 2x speed improvement.
2021-01-11 13:41:37 -08:00
Natalie Weizenbaum
f58173a75b
Fix startsWith() checks in ci.yml ( #1189 )
2021-01-08 20:04:57 -08:00
Natalie Weizenbaum
be99885909
Merge pull request #1187 from sass/github_actions-nex3
...
Migrate the CI to github actions
2021-01-08 17:53:56 -08:00
Natalie Weizenbaum
cf42fbbb34
Wait a tick in a failing test even if polling is disabled
...
As far as I can tell, the root cause of this failure is just the
Node.js watcher failing to emit an event entirely, so there's not much
more we can do to work around it.
2021-01-08 17:23:50 -08:00
Natalie Weizenbaum
7086ea4c87
Can't reference env in jobs.*.strategy
2021-01-08 17:22:07 -08:00
Natalie Weizenbaum
f0d7a52d27
"name:" -> "uses:"
2021-01-08 17:22:07 -08:00
Natalie Weizenbaum
c1cdabc4a3
Use GH_* instead of GITHUB_* for environment variables
...
According to [the docs], environment variables may not begin with
`GITHUB_`.
[the docs]: https://docs.github.com/en/free-pro-team@latest/actions/reference/environment-variables#naming-conventions-for-environment-variables
2021-01-08 17:22:07 -08:00
Natalie Weizenbaum
eb66325ddd
Style changes
2021-01-08 17:22:07 -08:00
Christophe Coevoet
b4ab18968e
Migrate the CI to github actions
2021-01-08 17:22:07 -08:00
Natalie Weizenbaum
01231e2f4c
Print the values of deprecated numbers passed to color functions ( #1184 )
...
See #1174
2021-01-06 15:17:53 -08:00
Natalie Weizenbaum
f24a2b9ca4
Avoid permissions errors in _realCasePath. ( #1181 )
...
This catches permissions errors and treats them as indicating that the
path component we have so far is canonical. This also improves the
efficiency of case matching by caching results for higher directories.
2021-01-06 12:49:45 -08:00
Sam Rawlins
006e6aa62f
Remove unnecessary imports ( #1177 )
...
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2020-12-30 14:57:50 -08:00
Natalie Weizenbaum
137794c749
Add social/support badges to the README ( #1178 )
...
Closes #1176
2020-12-30 14:57:36 -08:00
Natalie Weizenbaum
723dc69269
Merge pull request #1175 from sass/angle-units
...
Deprecate incorrect HSL units
2020-12-29 14:58:52 -08:00
Natalie Weizenbaum
bae2968757
Deprecate incorrect HSL units
...
Partially addresses #1174
2020-12-29 13:26:54 -08:00
Natalie Weizenbaum
f9a9373547
Print the LHS first in incompatible unit errors
...
Closes #766
2020-12-28 18:06:59 -08:00
Natalie Weizenbaum
d532f015f6
Improve error reporting for incompatible units
...
The new messages more consistently include argument names and actual
values. Errors about mixed unitless and unitful numbers are now more
consistent.
2020-12-28 17:58:55 -08:00
Natalie Weizenbaum
7ba7351148
Mark deprecation warnings as such
2020-12-28 14:44:00 -08:00
Natalie Weizenbaum
02c92aa7cd
Add support for clamp() as a special math function ( #1168 )
...
Closes #1146
See sass/sass#2860
2020-12-28 13:42:04 -08:00
Natalie Weizenbaum
bf623752fb
Avoid always downcasing file paths on Windows ( #1172 )
...
Closes #1169
2020-12-23 18:07:20 -08:00
Christophe Coevoet
40f16bf7af
Update the URL for the Travis build status ( #1162 )
...
the CI has been migrated from travis-ci.org to travis-ci.com
2020-12-16 14:06:33 -08:00
Sam Rawlins
5aeef4ce81
Remove unused dart:async imports ( #1160 )
2020-12-09 14:20:51 -08:00
Natalie Weizenbaum
e51ec0455a
Re-enable fetching the latest test package version ( #1155 )
2020-11-23 14:40:44 -08:00
Kevin Choi
43f4607c78
Update cli_pkg ( #1153 )
...
This makes the main function (cli_pkg_main_0) return a Promise instead of void.
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2020-11-23 13:11:37 -08:00
Natalie Weizenbaum
a13f7be81b
Apply the change in #1139 to the asynchronous source file ( #1150 )
2020-11-19 17:44:36 -08:00
Natalie Weizenbaum
50985d733b
Fix Travis CI ( #1149 )
2020-11-19 16:17:54 -08:00
Natalie Weizenbaum
b826bd361a
Add an upper bound to our test constraint
...
This works around dart-lang/test#1382 .
2020-11-19 14:53:46 -08:00
Natalie Weizenbaum
0bb0584f84
Disable Node.js tests on Dart dev
...
These are broken by a combination of dart-lang/sdk#44181 and
dart-lang/test#1363 .
2020-11-19 13:34:28 -08:00
Jennifer Thakar
4f1f5c9de8
Fix for importers that return null in load
( #1139 )
2020-11-10 09:44:37 -08:00
Awjin Ahn
6986dcf718
Update CONTRIBUTING.md ( #1136 )
2020-11-09 13:22:21 -08:00
Natalie Weizenbaum
c0e6ba1b07
Fix a buggy interaction between @at-root and @keyframes ( #1135 )
2020-11-05 12:55:11 -08:00
Natalie Weizenbaum
939dca8e38
Support generalized @supports conditions ( #1134 )
...
Closes #894
See sass/sass#2780
2020-11-04 16:10:37 -08:00