stylus-source 0.40.2 → 0.40.3
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.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/vendor/bin/stylus +1 -1
- data/vendor/lib/parser.js +2 -0
- data/vendor/lib/visitor/evaluator.js +3 -2
- data/vendor/node_modules/mkdirp/package.json +5 -1
- data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/package.json +5 -1
- data/vendor/node_modules/sax/package.json +1 -5
- data/vendor/package.json +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4031855a1afeb4c2d026da10130d44e380eb3f21
|
|
4
|
+
data.tar.gz: 8ee78f767f6e6ad1c7b9f15b73da1378f29f7f93
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c5917ab948181bb953dc82a33d03db4d7f8eed513f812f6cbb677016d1c567b7316bc65c86002d54561f761d37ffa50045097093c7c3cb43f5301cf2f40deb8a
|
|
7
|
+
data.tar.gz: 10f1e2e64b905ceab8a0e277b24a8a4635ed2e6fd21d89678fb49ebd5979a17715300d9c70c276f81262d46cd194cb7a13ddd42a3917e7ed16f76192209a63e1
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.40.
|
|
1
|
+
0.40.3
|
data/vendor/bin/stylus
CHANGED
|
@@ -124,7 +124,7 @@ var usage = [
|
|
|
124
124
|
, ''
|
|
125
125
|
, ' Commands:'
|
|
126
126
|
, ''
|
|
127
|
-
, ' help [<type>:]<prop> Opens help info at
|
|
127
|
+
, ' help [<type>:]<prop> Opens help info at MDN for <prop> in'
|
|
128
128
|
, ' your default browser. Optionally'
|
|
129
129
|
, ' searches other resources of <type>:'
|
|
130
130
|
, ' safari opera w3c ms caniuse quirksmode'
|
data/vendor/lib/parser.js
CHANGED
|
@@ -698,7 +698,9 @@ Parser.prototype = {
|
|
|
698
698
|
if (this.accept(',')) key = this.id().name;
|
|
699
699
|
this.expect('in');
|
|
700
700
|
this.state.push('for');
|
|
701
|
+
this.cond = true;
|
|
701
702
|
var each = new nodes.Each(val, key, this.expression());
|
|
703
|
+
this.cond = false;
|
|
702
704
|
each.block = this.block(each, false);
|
|
703
705
|
this.state.pop();
|
|
704
706
|
return each;
|
|
@@ -578,7 +578,10 @@ Evaluator.prototype.visitProperty = function(prop){
|
|
|
578
578
|
// Function of the same name
|
|
579
579
|
if (call && !literal && !prop.literal) {
|
|
580
580
|
var args = nodes.Arguments.fromExpression(utils.unwrap(prop.expr));
|
|
581
|
+
prop.name = name;
|
|
582
|
+
this.property = prop;
|
|
581
583
|
var ret = this.visit(new nodes.Call(name, args));
|
|
584
|
+
delete this.property;
|
|
582
585
|
return ret;
|
|
583
586
|
// Regular property
|
|
584
587
|
} else {
|
|
@@ -1043,8 +1046,6 @@ Evaluator.prototype.literalCall = function(call){
|
|
|
1043
1046
|
|
|
1044
1047
|
Evaluator.prototype.lookupProperty = function(name){
|
|
1045
1048
|
var i = this.stack.length
|
|
1046
|
-
, prop = this.property
|
|
1047
|
-
, curr = prop && prop.name
|
|
1048
1049
|
, index = this.currentBlock.index
|
|
1049
1050
|
, top = i
|
|
1050
1051
|
, nodes
|
|
@@ -29,5 +29,9 @@
|
|
|
29
29
|
"url": "https://github.com/substack/node-mkdirp/issues"
|
|
30
30
|
},
|
|
31
31
|
"_id": "mkdirp@0.3.5",
|
|
32
|
-
"
|
|
32
|
+
"dist": {
|
|
33
|
+
"shasum": "3ca8fc91ed924e281236eec99e74505873ac5a45"
|
|
34
|
+
},
|
|
35
|
+
"_from": "mkdirp@0.3.x",
|
|
36
|
+
"_resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz"
|
|
33
37
|
}
|
|
@@ -35,5 +35,9 @@
|
|
|
35
35
|
"url": "https://github.com/isaacs/minimatch/issues"
|
|
36
36
|
},
|
|
37
37
|
"_id": "minimatch@0.2.14",
|
|
38
|
-
"
|
|
38
|
+
"dist": {
|
|
39
|
+
"shasum": "b070e1128a5c8c453cf412786ca4bae5602d069e"
|
|
40
|
+
},
|
|
41
|
+
"_from": "minimatch@~0.2.11",
|
|
42
|
+
"_resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz"
|
|
39
43
|
}
|
|
@@ -60,9 +60,5 @@
|
|
|
60
60
|
"url": "https://github.com/isaacs/sax-js/issues"
|
|
61
61
|
},
|
|
62
62
|
"_id": "sax@0.5.8",
|
|
63
|
-
"
|
|
64
|
-
"shasum": "c7eabb5527ce2d57739364868aed3e9ca1d36948"
|
|
65
|
-
},
|
|
66
|
-
"_from": "sax@0.5.x",
|
|
67
|
-
"_resolved": "https://registry.npmjs.org/sax/-/sax-0.5.8.tgz"
|
|
63
|
+
"_from": "sax@0.5.x"
|
|
68
64
|
}
|
data/vendor/package.json
CHANGED