less 4.0.0 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/less.js +40 -36
- package/dist/less.min.js +3 -3
- package/dist/less.min.js.map +1 -1
- package/lib/less/parser/parser.js +3 -3
- package/lib/less/parser/parser.js.map +1 -1
- package/lib/less/tree/dimension.js +2 -1
- package/lib/less/tree/dimension.js.map +1 -1
- package/lib/less/tree/operation.js +3 -2
- package/lib/less/tree/operation.js.map +1 -1
- package/lib/less-node/url-file-manager.js +12 -8
- package/lib/less-node/url-file-manager.js.map +1 -1
- package/package.json +9 -8
- package/test/index.js +20 -2
- package/test/less-test.js +36 -16
|
@@ -815,9 +815,9 @@ var Parser = function Parser(context, imports, fileInfo) {
|
|
|
815
815
|
parserInput.restore();
|
|
816
816
|
return;
|
|
817
817
|
}
|
|
818
|
-
if (!lookups && !hasParens) {
|
|
819
|
-
// This isn't a valid mixin call
|
|
820
|
-
parserInput.restore(
|
|
818
|
+
if (inValue && !lookups && !hasParens) {
|
|
819
|
+
// This isn't a valid in-value mixin call
|
|
820
|
+
parserInput.restore();
|
|
821
821
|
return;
|
|
822
822
|
}
|
|
823
823
|
if (!inValue && parsers.important()) {
|