Natalie Weizenbaum
47e0cfc8c8
Empty maps have undecided separators
...
Closes #737
2019-07-03 15:31:56 -07:00
Natalie Weizenbaum
821b5e2521
Fix str-insert() with $index: -1
...
Closes #733
2019-07-02 17:25:46 -07:00
Natalie Weizenbaum
40df8e3bc1
Fix str-slice() with astral plane characters
...
Closes #732
2019-07-02 17:25:46 -07:00
Natalie Weizenbaum
2105a138c0
Clamp $alpha in adjust-color() with HSL args
...
Closes #708
2019-07-02 17:25:45 -07:00
Natalie Weizenbaum
7bfba04b79
Throw an error for plain-CSS invert() with $weight
...
Closes #705
2019-07-02 17:25:36 -07:00
Natalie Weizenbaum
d5adb4621e
Fix invert() with $weight: 50%
...
Closes #704
2019-07-02 17:25:25 -07:00
Natalie Weizenbaum
9838caff6f
Improve errors for alpha() with the wrong number of arguments
...
Closes #700
2019-07-02 17:25:14 -07:00
Natalie Weizenbaum
ed06a41afc
Fix the argument name for a single-argument saturate() function
...
Closes #699
2019-07-02 16:10:28 -07:00
Natalie Weizenbaum
60af5f6c25
Release 1.22.2 ( #745 )
...
The CHANGELOG entry from #727 got misplaced; that code hasn't been
released yet.
2019-07-01 13:31:13 -07:00
Natalie Weizenbaum
532358d7fa
Merge pull request #727 from sass/static-require
...
Require dependencies in the preamble rather than through JS-interop
2019-06-28 14:32:18 -07:00
Natalie Weizenbaum
abf7d7f922
Fix a new analysis hint from Dart 2.4.0 ( #743 )
2019-06-28 14:32:04 -07:00
Natalie Weizenbaum
2cdbbebcaf
Declare support for Chokidar 3.0.0 ( #731 )
...
Closes #730
2019-06-26 16:06:22 -07:00
Natalie Weizenbaum
033533ae75
Avoid deprecated analyzer APIs ( #735 )
2019-06-26 14:53:37 -07:00
Natalie Weizenbaum
aca7057078
Merge pull request #724 from sass/merge-use
...
Merge feature.use into master
2019-06-24 16:40:41 -07:00
Natalie Weizenbaum
7955bab749
Mark the pubspec as a release version
2019-06-24 14:55:19 -07:00
Natalie Weizenbaum
174ef128a2
Merge remote-tracking branch 'origin/feature.use' into merge-use
2019-06-24 14:12:05 -07:00
Natalie Weizenbaum
19cfb63ab4
Address code review comments from #724 ( #729 )
2019-06-24 14:05:17 -07:00
Natalie Weizenbaum
31f3ca2ead
Replace dynamic require()s in dependencies with static alternatives
2019-06-20 19:05:23 +01:00
Natalie Weizenbaum
b5de9d24c2
Merge pull request #725 from sass/global-deprecation-warning
...
Clarify !global deprecation warnings
2019-06-19 14:38:48 -07:00
Natalie Weizenbaum
494e208067
Require dependencies in the preamble rather than through JS-interop
...
Closes #726
2019-06-19 19:41:16 +01:00
Natalie Weizenbaum
a46e779675
Clarify !global deprecation warnings
...
Closes #723
2019-06-18 17:39:29 -07:00
Natalie Weizenbaum
bc4508d80d
Remove a reference to Sass 4.0 in a deprecation warning
2019-06-18 17:38:55 -07:00
Natalie Weizenbaum
e4b18b5231
Produce better stack traces for syntax errors loaded via import/use ( #722 )
...
We now wrap _withStackFrame() around wider sections of code, including
_loadStylesheet() which handles parse errors, so that the @use/@import
stack frames are available.
2019-06-18 17:26:46 -07:00
Natalie Weizenbaum
339ebe89f0
Merge pull request #721 from sass/new-functions
...
Add module-variables() and module-functions()
2019-06-18 13:30:49 -07:00
Natalie Weizenbaum
d89fef612b
Add a module-functions() function
2019-06-18 12:05:56 -07:00
Natalie Weizenbaum
bbaa91d658
Add a module-variables() function
2019-06-18 12:05:26 -07:00
Natalie Weizenbaum
4716349a0e
Add new module-system features for existing functions ( #720 )
2019-06-18 12:03:12 -07:00
Natalie Weizenbaum
6600de2dfe
Add built-in modules for core Sass functions ( #716 )
...
Partially addresses #554
2019-06-12 16:46:28 +01:00
Natalie Weizenbaum
68a3ea059d
Merge pull request #715 from sass/merge
...
Merge branch 'master' into feature.use
2019-06-07 00:22:41 +01:00
Natalie Weizenbaum
e888f84ce5
Merge branch 'master' into feature.use
2019-06-06 21:46:51 +01:00
Natalie Weizenbaum
a87631777b
Declare a "sass" executable in the pubspec ( #712 )
2019-06-06 21:19:09 +01:00
Natalie Weizenbaum
bea609d74b
Add a top-level warn() function for functions and importers ( #711 )
...
In addition to being useful for users of Sass, this will make it
possible for core Sass functions to produce warnings without needing
an explicit reference to the evaluator.
2019-06-06 19:42:44 +01:00
Natalie Weizenbaum
58cc58a1f4
Update some installation instructions ( #713 )
2019-06-06 19:38:41 +01:00
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