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
Natalie Weizenbaum
867674433f
Rotate Node.js releases that we test against
2019-04-23 11:41:16 -07:00
Natalie Weizenbaum
37f0740307
Allow ! in url()s ( #650 )
...
Closes #646
2019-04-18 17:37:20 -07:00
Natalie Weizenbaum
413c949446
Make FilesystemImport._loadPath absolute ( #651 )
...
This avoids having the effective load path change when the process's
working directory changes.
2019-04-18 16:34:48 -07:00
Natalie Weizenbaum
3b3a43a8f9
Add a --charset flag and API option ( #644 )
...
The automatic @charset adding is useful in general, but there are
consistently cases where it trips up naïve downstream tools. This
option makes it easier for users to control when it occurs.
2019-04-08 14:49:08 -07:00
Natalie Weizenbaum
59800ad1f9
Don't recursively list directories in realCasePath() ( #641 )
...
We only need to list the path's immediate parent directory in order to
find its real case.
Closes #636
2019-04-04 12:18:02 -07:00
Natalie Weizenbaum
495c6f3163
Only claim "package:" URLs are unsupported on Node ( #637 )
...
Closes #630
2019-04-04 12:17:36 -07:00
Natalie Weizenbaum
9621979b71
Update the Heroku auth token ( #640 )
...
The old token appears to have been rendered invalid somehow.
2019-04-03 15:17:17 -07:00
Jennifer Thakar
c2c9cedb81
Extend RecursiveStatementVisitor for expressions ( #639 )
...
This adds `RecursiveAstVisitor`, which extends
`RecursiveStatementVisitor` to traverse expressions as well.
2019-04-03 14:37:27 -07:00
Natalie Weizenbaum
8c9412b520
Fix importing files relative to "package:" imports ( #638 )
...
The PackageImporter wasn't accepting paths relative to its
canonicalized outputs as inputs.
Closes #631
2019-04-03 13:57:52 -07:00
Natalie Weizenbaum
7d03d97b46
Merge pull request #635 from sass/use.isolated-extend
...
Clone CSS after importing it
2019-04-03 01:43:37 -07:00
Natalie Weizenbaum
9999835df0
Add a sass.types.Error constructor to the JS API ( #627 )
...
Closes #590
2019-04-03 01:07:12 -07:00
Natalie Weizenbaum
eddf36a07e
Don't copy the selector in ModifiableStyleRule.copyWithoutChildren()
2019-04-03 01:03:40 -07:00
Natalie Weizenbaum
2d1047bb36
Only clone CSS if it actually uses @extends
2019-03-30 17:47:24 -07:00
Natalie Weizenbaum
d6f319f5b4
Clone CSS after importing it
2019-03-30 17:37:30 -07:00
Natalie Weizenbaum
11c95900c8
Add a Module.cloneCss() function
...
This will allow us to run extends on the same module multiple times
when it's @imported or loaded via load-file().
2019-03-30 17:05:57 -07:00
Natalie Weizenbaum
7dd7a49bd8
Merge pull request #634 from sass/use.import
...
Include CSS for modules used by imported files
2019-03-29 18:08:25 -07:00
Natalie Weizenbaum
eae2077d6b
More thoroughly document why we duplicate visitor logic
2019-03-29 16:26:36 -07:00
Natalie Weizenbaum
5603af3d19
Include CSS for modules used by imported files
2019-03-27 14:49:52 -07:00
Natalie Weizenbaum
9f9011d9cc
Load @imported CSS into an entirely new stylesheet
...
This will allow us to inject CSS from modules @used by an imported
stylesheet between the importer's existing CSS and the importee's new
CSS.
2019-03-27 14:49:13 -07:00
Natalie Weizenbaum
511e525619
Add a ModifiableCssVisitor
...
This lets us traverse a modifiable CSS tree while preserving the fact
that it's modifiable.
2019-03-22 14:09:38 -07:00
Natalie Weizenbaum
14787d86e0
Add "Css" to the visit methods for CssVisitor
...
This allows the same class to implement StatementVisitor and
CssVisitor.
2019-03-22 13:58:51 -07:00
Natalie Weizenbaum
bc5e3c4f8f
Properly parse CR, CR LF, and FF as newlines everywhere ( #626 )
...
Closes #623
2019-03-18 16:50:23 -07:00
Natalie Weizenbaum
13d0820c37
Release 1.17.3 ( #622 )
2019-03-15 12:50:48 -07:00
Natalie Weizenbaum
01652537e8
Merge pull request #624 from sass/use.extend
...
Add support for @extend with @use
2019-03-13 14:06:41 -07:00
Natalie Weizenbaum
cf6801ab5b
Fix a typo
2019-03-13 13:30:45 -07:00
Natalie Weizenbaum
f2a34408ec
Verify mandatory extensions
2019-03-12 16:53:14 -07:00
Natalie Weizenbaum
0194728f29
Mostly add support for module-scoped @extend
...
Verifying that a mandatory extension actually matched a real style
rule doesn't work at all.
2019-03-12 16:53:14 -07:00
Natalie Weizenbaum
c80ae01ce0
Make CssStyleRule.originalSelector modifiable-only
2019-03-12 16:53:14 -07:00
Natalie Weizenbaum
e4e3bdbfd2
Merge pull request #619 from sass/merge-master
...
Merge branch 'master' into feature.use
2019-03-11 18:37:48 -07:00
Natalie Weizenbaum
132be045f0
Merge branch 'feature.use' into merge-master
2019-03-11 18:36:27 -07:00
Natalie Weizenbaum
c98cfd53b0
Emit CSS for used modules ( #620 )
2019-03-11 16:49:58 -07:00
Natalie Weizenbaum
e4245a7643
Merge branch 'master' into feature.use
2019-03-10 23:31:06 -07:00
Natalie Weizenbaum
6c7612ba75
Merge branch 'feature.use' into master
2019-03-08 13:13:38 -08:00
Natalie Weizenbaum
a0e63ac704
Merge branch 'feature.use' into merge-use
2019-03-07 18:17:42 -08:00
Natalie Weizenbaum
b66e1bad28
Fix some documentation issues in AsyncEnvironment ( #618 )
...
See #610
2019-03-07 18:14:44 -08:00
Natalie Weizenbaum
62bce0c5b9
Properly stringify slash-separated numbers in operations ( #612 )
...
Closes #607
2019-03-07 18:14:12 -08:00
Natalie Weizenbaum
e84c8b1995
Don't put style rules inside empty @keyframes rules ( #613 )
...
Closes #611
2019-03-07 17:04:30 -08:00
Natalie Weizenbaum
284f4ef7dd
Make .scss and .sass take precedence over .css in @use ( #609 )
...
See sass/language#68
2019-03-04 18:47:57 -08:00
Anthony Sottile
7249698cac
https-ify sass-lang.com urls ( #614 )
...
See https://github.com/sass/sass-site/issues/217
Committed via https://github.com/asottile/all-repos
2019-03-04 16:38:55 -08:00
Natalie Weizenbaum
812a9a5672
Merge pull request #603 from sass/use-members
...
Add support for loading modules and using members from them
2019-02-26 13:03:24 -08:00
Natalie Weizenbaum
b59b86304d
Ensure that global variables are always module members
...
See sass/language#50
2019-02-22 18:03:24 -08:00
Natalie Weizenbaum
0929aa5ce2
Update pub credentials ( #605 )
...
Pub recently started requiring more OAuth2 scopes than our old
credentials held.
2019-02-22 15:53:44 -08:00
Natalie Weizenbaum
8ab9ce1141
Deprecate assignment to non-existent global variables ( #601 )
...
See #600
See sass/sass#2606
2019-02-21 15:16:52 -08:00
Natalie Weizenbaum
6d6974c50e
Add the ability to refer to members from other modules
2019-02-21 00:30:04 -08:00
Natalie Weizenbaum
7a7aea95b3
Add a module class and a way to create it from an Environment
2019-02-21 00:30:04 -08:00
Natalie Weizenbaum
5d4db9eb17
Merge branch 'master' into 'feature.use'
2019-02-21 00:29:59 -08:00
Natalie Weizenbaum
149bf85b4d
Explicitly mark classes as sealed ( #602 )
2019-02-20 16:39:46 -08:00