Natalie Weizenbaum
6494951e48
Improve the error message for module loops
2019-06-04 12:55:43 +01:00
Natalie Weizenbaum
a000bffd98
Add support for @forward
...
See sass/sass#1094
See #554
2019-06-02 14:26:54 +01:00
Natalie Weizenbaum
1ac41898e8
Add map views to represent the ways a module can be forwarded
2019-05-24 16:41:10 -07:00
Natalie Weizenbaum
f6575704dd
Factor out a function to load modules ( #693 )
...
This will allow us to re-use logic for @forward. It also fixes some
usability issues where incorrect or duplicated spans were being used
for @use errors.
2019-05-24 16:39:22 -07:00
Natalie Weizenbaum
6591e315af
Ensure that built-in functions aren't part of a module's API ( #692 )
...
The way this worked previously, you could call "mod.rgb()" for any
module and it would be the same as calling the built-in rgb()
function.
2019-05-23 13:24:41 -07:00
Natalie Weizenbaum
04061fec34
Merge pull request #690 from sass/master-into-use
...
Merge master into feature.use
2019-05-22 13:43:37 -07:00
Natalie Weizenbaum
c76ef209af
Merge branch 'master' into master-into-use
2019-05-20 16:52:20 -07:00
Natalie Weizenbaum
768da7088c
Resolve imports using custom imports before load paths ( #687 )
...
Closes #681
2019-05-20 15:34:57 -07:00
Natalie Weizenbaum
2317be8812
Give Module a type parameter rather than making it synchronized ( #686 )
...
This allows us to have one fewer synchronized file, which reduces
complexity, and also lets us just write "Module" in async code rather
than "AsyncModule".
2019-05-20 15:34:14 -07:00
Natalie Weizenbaum
db87ed2f0e
Use the new Dart 2.3.0 literal syntax ( #684 )
2019-05-17 18:02:12 -07:00
Natalie Weizenbaum
2fca9e32f4
Merge pull request #685 from sass/master-into-use
...
Merge master into feature.use
2019-05-17 15:26:23 -07:00
Natalie Weizenbaum
19df69d26c
Continue running feature.use in use mode
2019-05-17 14:40:34 -07:00
Natalie Weizenbaum
819d357cb8
Update the JS API documentation ( #680 )
2019-05-16 14:51:13 -07:00
Natalie Weizenbaum
7857c9eb09
Merge pull request #675 from sass/update
...
Update dependencies
2019-05-16 14:19:16 -07:00
Natalie Weizenbaum
6a5f6227f2
Pass the package version to dart2aot ( #683 )
...
This can't be set via dartaotruntime, so we have to set it at
compile-time.
2019-05-16 11:59:35 -07:00
Natalie Weizenbaum
7c9d63a4dc
Reformat with the latest formatter
2019-05-15 18:17:26 -07:00
Natalie Weizenbaum
5ed3bbc9c7
Update dependencies
2019-05-15 18:17:06 -07:00
Natalie Weizenbaum
aaebd424ed
Get rid of tool/synchronize.dart
...
This was moved to tool/grind/synchronize.dart in #318 , but the old
file never got removed.
2019-05-15 18:17:06 -07:00
Natalie Weizenbaum
1027737d9c
Update encrypted credentials ( #682 )
...
The old npm credentials got leaked in sass/migrator#44 as a result of
dart-lang/pub#2132 .
2019-05-15 18:02:32 -07:00
Natalie Weizenbaum
4b7699291c
Compile release executables in native mode ( #679 )
2019-05-15 16:02:02 -07:00
Natalie Weizenbaum
1b5efe11a1
Merge pull request #673 from sass/merge-use
...
Merge feature.use into master
2019-05-15 15:07:04 -07:00
Natalie Weizenbaum
c1ae142ca9
Merge remote-tracking branch 'origin/master' into merge-use
2019-05-15 12:23:42 -07:00
Natalie Weizenbaum
b6d2885243
Merge pull request #674 from sass/travis
...
Fix Travis
2019-05-15 12:17:44 -07:00
Natalie Weizenbaum
2868ab328a
Remove an inaccurate comment
2019-05-13 15:54:08 -07:00
Natalie Weizenbaum
3b47e34c87
Fix some places where a null could sneak into a boolean condition
2019-05-08 17:19:12 -07:00
Natalie Weizenbaum
a950b2daaa
Add a Travis bot for running Node tests on Dart dev
2019-05-08 17:01:35 -07:00
Natalie Weizenbaum
f14b5cf9ba
Always print the Dart version on Travis
2019-05-08 17:00:48 -07:00
Natalie Weizenbaum
5fcd431a65
Don't skip Dart tests on Travis
2019-05-08 16:59:32 -07:00
Natalie Weizenbaum
4b572f6ad5
Merge branch 'feature.use'
2019-05-08 15:38:12 -07:00
Natalie Weizenbaum
02611dfae4
Merge pull request #670 from sass/merge-master
...
Merge master into feature.use
2019-05-07 12:34:40 -07:00
Natalie Weizenbaum
92a2c67410
Merge branch 'master' into feature.use
2019-05-06 16:40:24 -07:00
Natalie Weizenbaum
2c33ed9103
Run Bazel deployment in Node.js mode ( #668 )
...
This is necessary to update the Bazel repo's lockfile.
2019-05-03 16:37:14 -07:00
Natalie Weizenbaum
aa917901b6
Fix YAML syntax errors ( #667 )
2019-05-03 14:06:19 -07:00
Natalie Weizenbaum
cf7da14c3e
Merge pull request #666 from sass/travis
...
Fix deployment infrastructure
2019-05-03 13:36:32 -07:00
Natalie Weizenbaum
60fc306ab4
Release 1.20.1
...
This doesn't have any code changes, but I want to verify that the new
deployment infrastructure works and the only way to do that is to
actually deploy.
2019-05-03 13:13:20 -07:00
Natalie Weizenbaum
117b1b7f91
Add names to deploy steps
2019-05-03 13:12:38 -07:00
Natalie Weizenbaum
49c05623d9
Use Node.js when deploying to npm
...
Without this, we won't actually have npm installed.
2019-05-03 13:09:31 -07:00
Natalie Weizenbaum
9ff1e20064
Run app-snapshot in the before-test grinder task ( #660 )
...
This matches the behavior recommended by the tests if the snapshot is
out-of-date.
2019-05-03 12:55:53 -07:00
Natalie Weizenbaum
34c068a189
Generate a CSS file describing an error when one occurs ( #659 )
...
Closes #657
2019-05-02 18:14:25 -07:00
Natalie Weizenbaum
57260a9fc1
Update color algorithm URLs ( #664 )
2019-05-02 16:16:33 -07:00
Natalie Weizenbaum
75ec9241f0
Build standalone Mac OS releases on Mac OS bots ( #662 )
...
This will allow us to distribute application snapshots, rather than
script snapshots, for Mac OS.
2019-05-02 15:08:46 -07:00
Natalie Weizenbaum
892f301d5a
Remove a debugging print ( #655 )
...
This never actually triggered because we always overrode the listener
before the directory was modified.
2019-05-02 13:07:57 -07:00
Natalie Weizenbaum
2ca00e8828
Re-enable testing against Node stable ( #661 )
...
laverdet/node-fibers#409 has been fixed in Fibers 4.0.0.
2019-04-30 13:53:35 -07:00
Natalie Weizenbaum
407eefded1
Add support for attribute selector modifiers ( #658 )
...
Closes #656
2019-04-30 11:31:18 -07:00
Natalie Weizenbaum
797d18f27c
Merge pull request #653 from sass/multi-os
...
Test Windows and OS X on Travis
2019-04-29 16:42:23 -07:00
Natalie Weizenbaum
8b03319c97
Run each type of test from its own script file
2019-04-25 11:51:50 -07:00
Natalie Weizenbaum
80b70b9dc2
Skip synchronize_test on Windows
2019-04-25 11:51:29 -07:00
Natalie Weizenbaum
7bd0f422b9
Test Windows and OS X on Travis
2019-04-25 11:51:27 -07:00
Natalie Weizenbaum
7079e95646
Merge pull request #652 from sass/rotate-nodes
...
Rotate Node.js releases that we test against
2019-04-23 12:59:52 -07:00
Natalie Weizenbaum
c0f79c9fe2
Use Node 11.x rather than 12.x
...
This works around laverdet/node-fibers#409 .
2019-04-23 12:29:57 -07:00