Natalie Weizenbaum
c5c7d4c906
Merge pull request #696 from sass/forward
...
Add support for @forward
2019-06-05 13:30:20 +01:00
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
48c284b4ef
Properly mark secure variables so they're decrypted by Travis ( #697 )
2019-05-31 17:01:33 +01:00
Natalie Weizenbaum
11e3749721
Merge pull request #709 from sass/analysis
...
Enable stricter analysis options, especially around typing
2019-05-31 17:01:13 +01:00
Natalie Weizenbaum
ac38653776
Enable strict raw types
2019-05-31 16:01:49 +01:00
Natalie Weizenbaum
79e9bbd816
Enable strict inference
2019-05-31 15:54:59 +01:00
Natalie Weizenbaum
1340ba7b8a
Enable and fix (most) pedantic lints
2019-05-31 15:18:59 +01:00
Natalie Weizenbaum
58a525c435
Get npm and pub credentials from environment variables ( #694 )
...
Getting them from a file made the process of updating either set of
credentials convoluted and error-prone, and meant that if one needed
to be updated both had to be re-encrypted.
This also updates the pub credentials to accommodate the new scope, as
described in dart-lang/pub-dev#2281 .
2019-05-24 16:43:04 -07: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
eeeb1811f0
Add a name field to package.json ( #695 )
...
This should enable GitHub's dependency graph support, so we get a
display of how many repositories depend on this package.
2019-05-24 16:20:40 -07:00
Natalie Weizenbaum
2836780339
Merge pull request #689 from sass/exponent
...
Fix some number serialization bugs
2019-05-24 15:09:37 -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
0fe0208f6e
Remove exponent notation for integers on Node.js
...
Closes #688
2019-05-21 13:36:36 -07:00
Natalie Weizenbaum
6b04c7a404
Remove the "-prerelease" flag from the Chocolatey instructions ( #691 )
2019-05-21 13:33:39 -07:00
Natalie Weizenbaum
c76ef209af
Merge branch 'master' into master-into-use
2019-05-20 16:52:20 -07:00
Natalie Weizenbaum
fb383de20e
Fix a bug in SerializeVisitor._writeDecimal
...
This function didn't expect a number ending in ".0", because they're
normally filtered out by fuzzyAsInt(). However, they can make it
through for very large doubles.
2019-05-20 15:50:45 -07:00
Natalie Weizenbaum
5b9835a5bd
Make SerializeVisitor._removeExponent work with non-exponent numbers
...
This allows us to avoid traversing the number string more times than
necessary.
2019-05-20 15:47:59 -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