Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

koa-jade

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-jade - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

2

coverage/coverage.json

@@ -1,1 +0,1 @@

{"/Users/Chris/Workspace/koa/koa-jade/example/app.js":{"path":"/Users/Chris/Workspace/koa/koa-jade/example/app.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":11,"10":11,"11":1,"12":1,"13":1,"14":11,"15":11,"16":1,"17":5,"18":1,"19":1,"20":1,"21":2,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1},"b":{},"f":{"1":11,"2":11,"3":5,"4":1,"5":2,"6":1,"7":1,"8":1},"fnMap":{"1":{"name":"(anonymous_1)","line":22,"loc":{"start":{"line":22,"column":8},"end":{"line":22,"column":25}}},"2":{"name":"(anonymous_2)","line":32,"loc":{"start":{"line":32,"column":8},"end":{"line":32,"column":25}}},"3":{"name":"(anonymous_3)","line":37,"loc":{"start":{"line":37,"column":24},"end":{"line":37,"column":37}}},"4":{"name":"(anonymous_4)","line":43,"loc":{"start":{"line":43,"column":28},"end":{"line":43,"column":41}}},"5":{"name":"(anonymous_5)","line":47,"loc":{"start":{"line":47,"column":27},"end":{"line":47,"column":40}}},"6":{"name":"(anonymous_6)","line":51,"loc":{"start":{"line":51,"column":33},"end":{"line":51,"column":46}}},"7":{"name":"(anonymous_7)","line":55,"loc":{"start":{"line":55,"column":32},"end":{"line":55,"column":45}}},"8":{"name":"(anonymous_8)","line":59,"loc":{"start":{"line":59,"column":30},"end":{"line":59,"column":43}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":24}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":24}},"3":{"start":{"line":3,"column":0},"end":{"line":3,"column":33}},"4":{"start":{"line":4,"column":0},"end":{"line":4,"column":26}},"5":{"start":{"line":5,"column":0},"end":{"line":5,"column":15}},"6":{"start":{"line":7,"column":0},"end":{"line":18,"column":2}},"7":{"start":{"line":20,"column":0},"end":{"line":20,"column":44}},"8":{"start":{"line":22,"column":0},"end":{"line":28,"column":2}},"9":{"start":{"line":23,"column":2},"end":{"line":27,"column":3}},"10":{"start":{"line":24,"column":4},"end":{"line":24,"column":14}},"11":{"start":{"line":26,"column":4},"end":{"line":26,"column":26}},"12":{"start":{"line":30,"column":0},"end":{"line":30,"column":24}},"13":{"start":{"line":32,"column":0},"end":{"line":35,"column":2}},"14":{"start":{"line":33,"column":2},"end":{"line":33,"column":57}},"15":{"start":{"line":34,"column":2},"end":{"line":34,"column":12}},"16":{"start":{"line":37,"column":0},"end":{"line":41,"column":3}},"17":{"start":{"line":38,"column":2},"end":{"line":40,"column":4}},"18":{"start":{"line":43,"column":0},"end":{"line":45,"column":3}},"19":{"start":{"line":44,"column":2},"end":{"line":44,"column":21}},"20":{"start":{"line":47,"column":0},"end":{"line":49,"column":3}},"21":{"start":{"line":48,"column":2},"end":{"line":48,"column":20}},"22":{"start":{"line":51,"column":0},"end":{"line":53,"column":3}},"23":{"start":{"line":52,"column":2},"end":{"line":52,"column":26}},"24":{"start":{"line":55,"column":0},"end":{"line":57,"column":3}},"25":{"start":{"line":56,"column":2},"end":{"line":56,"column":20}},"26":{"start":{"line":59,"column":0},"end":{"line":61,"column":3}},"27":{"start":{"line":60,"column":2},"end":{"line":60,"column":23}},"28":{"start":{"line":63,"column":0},"end":{"line":63,"column":20}}},"branchMap":{}},"/Users/Chris/Workspace/koa/koa-jade/index.js":{"path":"/Users/Chris/Workspace/koa/koa-jade/index.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":2,"12":1,"13":1,"14":1,"15":0,"16":1,"17":1,"18":1,"19":0,"20":1,"21":2,"22":2,"23":2,"24":1,"25":1,"26":1,"27":1,"28":1,"29":0,"30":1,"31":1,"32":0,"33":1,"34":1,"35":6,"36":6,"37":6,"38":6,"39":6,"40":1,"41":11,"42":11,"43":5,"44":6,"45":6,"46":6,"47":2,"48":1,"49":1,"50":10,"51":10,"52":10,"53":0,"54":10,"55":10,"56":0,"57":10,"58":10,"59":0,"60":10,"61":10,"62":5,"63":5,"64":10,"65":10,"66":10,"67":6,"68":11,"69":11,"70":4,"71":7,"72":1,"73":6,"74":0,"75":0,"76":6,"77":6,"78":1,"79":6,"80":0,"81":6,"82":1,"83":6,"84":1,"85":1,"86":5,"87":10,"88":0,"89":6,"90":0,"91":3,"92":1,"93":1,"94":0,"95":6,"96":1,"97":1},"b":{"1":[1,0],"2":[1,1],"3":[1,0],"4":[0,1],"5":[1,0],"6":[1,1],"7":[1,0],"8":[0,1],"9":[1,0],"10":[5,6],"11":[2,4],"12":[1,0],"13":[0,10],"14":[0,10],"15":[0,10],"16":[0,10],"17":[5,5],"18":[1,6],"19":[0,6],"20":[1,5],"21":[1,5],"22":[0,6],"23":[1,5],"24":[6,6],"25":[1,5],"26":[0,10],"27":[10,0],"28":[0,6],"29":[1,0]},"f":{"1":1,"2":2,"3":1,"4":2,"5":1,"6":6,"7":11,"8":11,"9":4,"10":7,"11":10,"12":3,"13":1},"fnMap":{"1":{"name":"loadHelpers","line":8,"loc":{"start":{"line":8,"column":0},"end":{"line":8,"column":28}}},"2":{"name":"(anonymous_2)","line":12,"loc":{"start":{"line":12,"column":20},"end":{"line":12,"column":36}}},"3":{"name":"(anonymous_3)","line":14,"loc":{"start":{"line":14,"column":22},"end":{"line":14,"column":44}}},"4":{"name":"load","line":31,"loc":{"start":{"line":31,"column":2},"end":{"line":31,"column":34}}},"5":{"name":"(anonymous_5)","line":36,"loc":{"start":{"line":36,"column":37},"end":{"line":36,"column":53}}},"6":{"name":"Jade","line":55,"loc":{"start":{"line":55,"column":0},"end":{"line":55,"column":24}}},"7":{"name":"renderer","line":71,"loc":{"start":{"line":71,"column":2},"end":{"line":71,"column":52}}},"8":{"name":"(anonymous_8)","line":125,"loc":{"start":{"line":125,"column":13},"end":{"line":125,"column":30}}},"9":{"name":"(anonymous_9)","line":134,"loc":{"start":{"line":134,"column":11},"end":{"line":134,"column":23}}},"10":{"name":"(anonymous_10)","line":137,"loc":{"start":{"line":137,"column":11},"end":{"line":137,"column":30}}},"11":{"name":"(anonymous_11)","line":168,"loc":{"start":{"line":168,"column":34},"end":{"line":168,"column":49}}},"12":{"name":"(anonymous_12)","line":183,"loc":{"start":{"line":183,"column":11},"end":{"line":183,"column":23}}},"13":{"name":"(anonymous_13)","line":187,"loc":{"start":{"line":187,"column":11},"end":{"line":187,"column":26}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":35}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":28}},"3":{"start":{"line":3,"column":0},"end":{"line":3,"column":26}},"4":{"start":{"line":4,"column":0},"end":{"line":4,"column":26}},"5":{"start":{"line":5,"column":0},"end":{"line":5,"column":25}},"6":{"start":{"line":6,"column":0},"end":{"line":6,"column":28}},"7":{"start":{"line":8,"column":0},"end":{"line":53,"column":1}},"8":{"start":{"line":9,"column":2},"end":{"line":9,"column":18}},"9":{"start":{"line":11,"column":2},"end":{"line":29,"column":3}},"10":{"start":{"line":12,"column":4},"end":{"line":26,"column":6}},"11":{"start":{"line":13,"column":6},"end":{"line":25,"column":7}},"12":{"start":{"line":14,"column":8},"end":{"line":22,"column":10}},"13":{"start":{"line":15,"column":10},"end":{"line":21,"column":11}},"14":{"start":{"line":16,"column":12},"end":{"line":20,"column":13}},"15":{"start":{"line":17,"column":14},"end":{"line":17,"column":30}},"16":{"start":{"line":19,"column":14},"end":{"line":19,"column":34}},"17":{"start":{"line":23,"column":13},"end":{"line":25,"column":7}},"18":{"start":{"line":24,"column":8},"end":{"line":24,"column":18}},"19":{"start":{"line":28,"column":4},"end":{"line":28,"column":14}},"20":{"start":{"line":31,"column":2},"end":{"line":50,"column":3}},"21":{"start":{"line":32,"column":4},"end":{"line":32,"column":36}},"22":{"start":{"line":33,"column":4},"end":{"line":33,"column":36}},"23":{"start":{"line":35,"column":4},"end":{"line":49,"column":5}},"24":{"start":{"line":36,"column":6},"end":{"line":38,"column":8}},"25":{"start":{"line":37,"column":8},"end":{"line":37,"column":30}},"26":{"start":{"line":39,"column":11},"end":{"line":49,"column":5}},"27":{"start":{"line":40,"column":6},"end":{"line":40,"column":32}},"28":{"start":{"line":42,"column":6},"end":{"line":48,"column":7}},"29":{"start":{"line":43,"column":8},"end":{"line":43,"column":36}},"30":{"start":{"line":44,"column":13},"end":{"line":48,"column":7}},"31":{"start":{"line":45,"column":8},"end":{"line":45,"column":54}},"32":{"start":{"line":47,"column":8},"end":{"line":47,"column":86}},"33":{"start":{"line":52,"column":2},"end":{"line":52,"column":16}},"34":{"start":{"line":55,"column":0},"end":{"line":201,"column":1}},"35":{"start":{"line":56,"column":2},"end":{"line":59,"column":3}},"36":{"start":{"line":60,"column":2},"end":{"line":60,"column":27}},"37":{"start":{"line":61,"column":2},"end":{"line":61,"column":27}},"38":{"start":{"line":62,"column":2},"end":{"line":62,"column":24}},"39":{"start":{"line":63,"column":2},"end":{"line":63,"column":14}},"40":{"start":{"line":71,"column":2},"end":{"line":120,"column":3}},"41":{"start":{"line":72,"column":4},"end":{"line":72,"column":61}},"42":{"start":{"line":74,"column":4},"end":{"line":88,"column":5}},"43":{"start":{"line":75,"column":6},"end":{"line":75,"column":43}},"44":{"start":{"line":78,"column":6},"end":{"line":78,"column":47}},"45":{"start":{"line":79,"column":6},"end":{"line":79,"column":33}},"46":{"start":{"line":82,"column":6},"end":{"line":87,"column":7}},"47":{"start":{"line":83,"column":8},"end":{"line":83,"column":39}},"48":{"start":{"line":84,"column":8},"end":{"line":86,"column":9}},"49":{"start":{"line":85,"column":10},"end":{"line":85,"column":55}},"50":{"start":{"line":90,"column":4},"end":{"line":90,"column":38}},"51":{"start":{"line":92,"column":4},"end":{"line":92,"column":48}},"52":{"start":{"line":94,"column":4},"end":{"line":96,"column":5}},"53":{"start":{"line":95,"column":6},"end":{"line":95,"column":38}},"54":{"start":{"line":98,"column":4},"end":{"line":98,"column":37}},"55":{"start":{"line":100,"column":4},"end":{"line":104,"column":5}},"56":{"start":{"line":101,"column":6},"end":{"line":101,"column":25}},"57":{"start":{"line":103,"column":6},"end":{"line":103,"column":64}},"58":{"start":{"line":106,"column":4},"end":{"line":115,"column":5}},"59":{"start":{"line":107,"column":6},"end":{"line":107,"column":54}},"60":{"start":{"line":109,"column":6},"end":{"line":109,"column":39}},"61":{"start":{"line":111,"column":6},"end":{"line":114,"column":7}},"62":{"start":{"line":112,"column":8},"end":{"line":112,"column":56}},"63":{"start":{"line":113,"column":8},"end":{"line":113,"column":40}},"64":{"start":{"line":117,"column":4},"end":{"line":117,"column":72}},"65":{"start":{"line":118,"column":4},"end":{"line":118,"column":27}},"66":{"start":{"line":119,"column":4},"end":{"line":119,"column":15}},"67":{"start":{"line":122,"column":2},"end":{"line":195,"column":4}},"68":{"start":{"line":126,"column":8},"end":{"line":126,"column":30}},"69":{"start":{"line":127,"column":8},"end":{"line":127,"column":18}},"70":{"start":{"line":135,"column":8},"end":{"line":135,"column":29}},"71":{"start":{"line":138,"column":8},"end":{"line":140,"column":9}},"72":{"start":{"line":139,"column":10},"end":{"line":139,"column":16}},"73":{"start":{"line":142,"column":8},"end":{"line":148,"column":9}},"74":{"start":{"line":143,"column":10},"end":{"line":146,"column":11}},"75":{"start":{"line":147,"column":10},"end":{"line":147,"column":16}},"76":{"start":{"line":150,"column":8},"end":{"line":150,"column":77}},"77":{"start":{"line":152,"column":8},"end":{"line":154,"column":9}},"78":{"start":{"line":153,"column":10},"end":{"line":153,"column":40}},"79":{"start":{"line":156,"column":8},"end":{"line":158,"column":9}},"80":{"start":{"line":157,"column":10},"end":{"line":157,"column":41}},"81":{"start":{"line":160,"column":8},"end":{"line":162,"column":9}},"82":{"start":{"line":161,"column":10},"end":{"line":161,"column":65}},"83":{"start":{"line":164,"column":8},"end":{"line":173,"column":9}},"84":{"start":{"line":165,"column":10},"end":{"line":165,"column":47}},"85":{"start":{"line":166,"column":10},"end":{"line":166,"column":53}},"86":{"start":{"line":168,"column":10},"end":{"line":172,"column":12}},"87":{"start":{"line":169,"column":12},"end":{"line":171,"column":13}},"88":{"start":{"line":170,"column":14},"end":{"line":170,"column":48}},"89":{"start":{"line":175,"column":8},"end":{"line":177,"column":9}},"90":{"start":{"line":176,"column":10},"end":{"line":176,"column":50}},"91":{"start":{"line":184,"column":8},"end":{"line":184,"column":28}},"92":{"start":{"line":188,"column":8},"end":{"line":190,"column":9}},"93":{"start":{"line":189,"column":10},"end":{"line":189,"column":16}},"94":{"start":{"line":192,"column":8},"end":{"line":192,"column":26}},"95":{"start":{"line":197,"column":2},"end":{"line":200,"column":13}},"96":{"start":{"line":203,"column":0},"end":{"line":208,"column":2}},"97":{"start":{"line":210,"column":0},"end":{"line":210,"column":21}}},"branchMap":{"1":{"line":11,"type":"if","locations":[{"start":{"line":11,"column":2},"end":{"line":11,"column":2}},{"start":{"line":11,"column":2},"end":{"line":11,"column":2}}]},"2":{"line":13,"type":"if","locations":[{"start":{"line":13,"column":6},"end":{"line":13,"column":6}},{"start":{"line":13,"column":6},"end":{"line":13,"column":6}}]},"3":{"line":15,"type":"if","locations":[{"start":{"line":15,"column":10},"end":{"line":15,"column":10}},{"start":{"line":15,"column":10},"end":{"line":15,"column":10}}]},"4":{"line":16,"type":"if","locations":[{"start":{"line":16,"column":12},"end":{"line":16,"column":12}},{"start":{"line":16,"column":12},"end":{"line":16,"column":12}}]},"5":{"line":23,"type":"if","locations":[{"start":{"line":23,"column":13},"end":{"line":23,"column":13}},{"start":{"line":23,"column":13},"end":{"line":23,"column":13}}]},"6":{"line":35,"type":"if","locations":[{"start":{"line":35,"column":4},"end":{"line":35,"column":4}},{"start":{"line":35,"column":4},"end":{"line":35,"column":4}}]},"7":{"line":39,"type":"if","locations":[{"start":{"line":39,"column":11},"end":{"line":39,"column":11}},{"start":{"line":39,"column":11},"end":{"line":39,"column":11}}]},"8":{"line":42,"type":"if","locations":[{"start":{"line":42,"column":6},"end":{"line":42,"column":6}},{"start":{"line":42,"column":6},"end":{"line":42,"column":6}}]},"9":{"line":44,"type":"if","locations":[{"start":{"line":44,"column":13},"end":{"line":44,"column":13}},{"start":{"line":44,"column":13},"end":{"line":44,"column":13}}]},"10":{"line":74,"type":"if","locations":[{"start":{"line":74,"column":4},"end":{"line":74,"column":4}},{"start":{"line":74,"column":4},"end":{"line":74,"column":4}}]},"11":{"line":82,"type":"if","locations":[{"start":{"line":82,"column":6},"end":{"line":82,"column":6}},{"start":{"line":82,"column":6},"end":{"line":82,"column":6}}]},"12":{"line":84,"type":"if","locations":[{"start":{"line":84,"column":8},"end":{"line":84,"column":8}},{"start":{"line":84,"column":8},"end":{"line":84,"column":8}}]},"13":{"line":94,"type":"if","locations":[{"start":{"line":94,"column":4},"end":{"line":94,"column":4}},{"start":{"line":94,"column":4},"end":{"line":94,"column":4}}]},"14":{"line":100,"type":"if","locations":[{"start":{"line":100,"column":4},"end":{"line":100,"column":4}},{"start":{"line":100,"column":4},"end":{"line":100,"column":4}}]},"15":{"line":103,"type":"cond-expr","locations":[{"start":{"line":103,"column":41},"end":{"line":103,"column":48}},{"start":{"line":103,"column":51},"end":{"line":103,"column":64}}]},"16":{"line":106,"type":"if","locations":[{"start":{"line":106,"column":4},"end":{"line":106,"column":4}},{"start":{"line":106,"column":4},"end":{"line":106,"column":4}}]},"17":{"line":111,"type":"if","locations":[{"start":{"line":111,"column":6},"end":{"line":111,"column":6}},{"start":{"line":111,"column":6},"end":{"line":111,"column":6}}]},"18":{"line":138,"type":"if","locations":[{"start":{"line":138,"column":8},"end":{"line":138,"column":8}},{"start":{"line":138,"column":8},"end":{"line":138,"column":8}}]},"19":{"line":142,"type":"if","locations":[{"start":{"line":142,"column":8},"end":{"line":142,"column":8}},{"start":{"line":142,"column":8},"end":{"line":142,"column":8}}]},"20":{"line":150,"type":"cond-expr","locations":[{"start":{"line":150,"column":50},"end":{"line":150,"column":66}},{"start":{"line":150,"column":69},"end":{"line":150,"column":77}}]},"21":{"line":152,"type":"if","locations":[{"start":{"line":152,"column":8},"end":{"line":152,"column":8}},{"start":{"line":152,"column":8},"end":{"line":152,"column":8}}]},"22":{"line":156,"type":"if","locations":[{"start":{"line":156,"column":8},"end":{"line":156,"column":8}},{"start":{"line":156,"column":8},"end":{"line":156,"column":8}}]},"23":{"line":160,"type":"if","locations":[{"start":{"line":160,"column":8},"end":{"line":160,"column":8}},{"start":{"line":160,"column":8},"end":{"line":160,"column":8}}]},"24":{"line":160,"type":"binary-expr","locations":[{"start":{"line":160,"column":12},"end":{"line":160,"column":42}},{"start":{"line":160,"column":46},"end":{"line":160,"column":75}}]},"25":{"line":164,"type":"if","locations":[{"start":{"line":164,"column":8},"end":{"line":164,"column":8}},{"start":{"line":164,"column":8},"end":{"line":164,"column":8}}]},"26":{"line":169,"type":"if","locations":[{"start":{"line":169,"column":12},"end":{"line":169,"column":12}},{"start":{"line":169,"column":12},"end":{"line":169,"column":12}}]},"27":{"line":169,"type":"binary-expr","locations":[{"start":{"line":169,"column":16},"end":{"line":169,"column":30}},{"start":{"line":169,"column":34},"end":{"line":169,"column":59}}]},"28":{"line":175,"type":"if","locations":[{"start":{"line":175,"column":8},"end":{"line":175,"column":8}},{"start":{"line":175,"column":8},"end":{"line":175,"column":8}}]},"29":{"line":188,"type":"if","locations":[{"start":{"line":188,"column":8},"end":{"line":188,"column":8}},{"start":{"line":188,"column":8},"end":{"line":188,"column":8}}]}}},"/Users/Chris/Workspace/koa/koa-jade/example/helpers/format-date.js":{"path":"/Users/Chris/Workspace/koa/koa-jade/example/helpers/format-date.js","s":{"1":1,"2":6},"b":{},"f":{"1":6},"fnMap":{"1":{"name":"(anonymous_1)","line":3,"loc":{"start":{"line":3,"column":14},"end":{"line":3,"column":31}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":6,"column":1}},"2":{"start":{"line":4,"column":4},"end":{"line":4,"column":83}}},"branchMap":{}}}
{"/Users/Chris/Workspace/koa/koa-jade/example/app.js":{"path":"/Users/Chris/Workspace/koa/koa-jade/example/app.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":11,"11":11,"12":1,"13":5,"14":1,"15":1,"16":1,"17":2,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1},"b":{},"f":{"1":11,"2":5,"3":1,"4":2,"5":1,"6":1,"7":1},"fnMap":{"1":{"name":"(anonymous_1)","line":24,"loc":{"start":{"line":24,"column":8},"end":{"line":24,"column":25}}},"2":{"name":"(anonymous_2)","line":29,"loc":{"start":{"line":29,"column":24},"end":{"line":29,"column":37}}},"3":{"name":"(anonymous_3)","line":35,"loc":{"start":{"line":35,"column":28},"end":{"line":35,"column":41}}},"4":{"name":"(anonymous_4)","line":39,"loc":{"start":{"line":39,"column":27},"end":{"line":39,"column":40}}},"5":{"name":"(anonymous_5)","line":43,"loc":{"start":{"line":43,"column":33},"end":{"line":43,"column":46}}},"6":{"name":"(anonymous_6)","line":47,"loc":{"start":{"line":47,"column":32},"end":{"line":47,"column":45}}},"7":{"name":"(anonymous_7)","line":51,"loc":{"start":{"line":51,"column":30},"end":{"line":51,"column":43}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":24}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":24}},"3":{"start":{"line":3,"column":0},"end":{"line":3,"column":33}},"4":{"start":{"line":4,"column":0},"end":{"line":4,"column":26}},"5":{"start":{"line":5,"column":0},"end":{"line":5,"column":15}},"6":{"start":{"line":7,"column":0},"end":{"line":18,"column":2}},"7":{"start":{"line":20,"column":0},"end":{"line":20,"column":44}},"8":{"start":{"line":22,"column":0},"end":{"line":22,"column":24}},"9":{"start":{"line":24,"column":0},"end":{"line":27,"column":2}},"10":{"start":{"line":25,"column":2},"end":{"line":25,"column":57}},"11":{"start":{"line":26,"column":2},"end":{"line":26,"column":12}},"12":{"start":{"line":29,"column":0},"end":{"line":33,"column":3}},"13":{"start":{"line":30,"column":2},"end":{"line":32,"column":4}},"14":{"start":{"line":35,"column":0},"end":{"line":37,"column":3}},"15":{"start":{"line":36,"column":2},"end":{"line":36,"column":21}},"16":{"start":{"line":39,"column":0},"end":{"line":41,"column":3}},"17":{"start":{"line":40,"column":2},"end":{"line":40,"column":20}},"18":{"start":{"line":43,"column":0},"end":{"line":45,"column":3}},"19":{"start":{"line":44,"column":2},"end":{"line":44,"column":26}},"20":{"start":{"line":47,"column":0},"end":{"line":49,"column":3}},"21":{"start":{"line":48,"column":2},"end":{"line":48,"column":20}},"22":{"start":{"line":51,"column":0},"end":{"line":53,"column":3}},"23":{"start":{"line":52,"column":2},"end":{"line":52,"column":23}},"24":{"start":{"line":55,"column":0},"end":{"line":55,"column":20}}},"branchMap":{}},"/Users/Chris/Workspace/koa/koa-jade/index.js":{"path":"/Users/Chris/Workspace/koa/koa-jade/index.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":2,"12":1,"13":1,"14":1,"15":0,"16":1,"17":1,"18":1,"19":0,"20":1,"21":2,"22":2,"23":2,"24":1,"25":1,"26":1,"27":1,"28":1,"29":0,"30":1,"31":1,"32":0,"33":1,"34":1,"35":7,"36":7,"37":7,"38":7,"39":7,"40":7,"41":1,"42":11,"43":11,"44":5,"45":6,"46":6,"47":6,"48":2,"49":1,"50":1,"51":10,"52":10,"53":10,"54":0,"55":10,"56":10,"57":0,"58":10,"59":10,"60":0,"61":10,"62":10,"63":5,"64":5,"65":10,"66":10,"67":10,"68":7,"69":11,"70":11,"71":4,"72":8,"73":1,"74":7,"75":0,"76":0,"77":7,"78":7,"79":2,"80":7,"81":0,"82":7,"83":1,"84":7,"85":1,"86":1,"87":6,"88":12,"89":12,"90":7,"91":0,"92":7,"93":3,"94":1,"95":2,"96":1,"97":7,"98":1,"99":1},"b":{"1":[1,0],"2":[1,1],"3":[1,0],"4":[0,1],"5":[1,0],"6":[1,1],"7":[1,0],"8":[0,1],"9":[1,0],"10":[5,6],"11":[2,4],"12":[1,0],"13":[0,10],"14":[0,10],"15":[0,10],"16":[0,10],"17":[5,5],"18":[1,7],"19":[0,7],"20":[1,6],"21":[2,5],"22":[0,7],"23":[1,6],"24":[7,7],"25":[1,6],"26":[12,0],"27":[12,12],"28":[0,7],"29":[1,2],"30":[1,1]},"f":{"1":1,"2":2,"3":1,"4":2,"5":1,"6":7,"7":11,"8":11,"9":4,"10":8,"11":12,"12":7,"13":3},"fnMap":{"1":{"name":"loadHelpers","line":8,"loc":{"start":{"line":8,"column":0},"end":{"line":8,"column":28}}},"2":{"name":"(anonymous_2)","line":12,"loc":{"start":{"line":12,"column":20},"end":{"line":12,"column":36}}},"3":{"name":"(anonymous_3)","line":14,"loc":{"start":{"line":14,"column":22},"end":{"line":14,"column":44}}},"4":{"name":"load","line":31,"loc":{"start":{"line":31,"column":2},"end":{"line":31,"column":34}}},"5":{"name":"(anonymous_5)","line":36,"loc":{"start":{"line":36,"column":37},"end":{"line":36,"column":53}}},"6":{"name":"Jade","line":55,"loc":{"start":{"line":55,"column":0},"end":{"line":55,"column":24}}},"7":{"name":"renderer","line":72,"loc":{"start":{"line":72,"column":2},"end":{"line":72,"column":52}}},"8":{"name":"(anonymous_8)","line":126,"loc":{"start":{"line":126,"column":13},"end":{"line":126,"column":30}}},"9":{"name":"(anonymous_9)","line":135,"loc":{"start":{"line":135,"column":11},"end":{"line":135,"column":23}}},"10":{"name":"(anonymous_10)","line":138,"loc":{"start":{"line":138,"column":11},"end":{"line":138,"column":30}}},"11":{"name":"(anonymous_11)","line":166,"loc":{"start":{"line":166,"column":34},"end":{"line":166,"column":56}}},"12":{"name":"(anonymous_12)","line":181,"loc":{"start":{"line":181,"column":11},"end":{"line":181,"column":23}}},"13":{"name":"(anonymous_13)","line":185,"loc":{"start":{"line":185,"column":11},"end":{"line":185,"column":26}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":35}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":28}},"3":{"start":{"line":3,"column":0},"end":{"line":3,"column":26}},"4":{"start":{"line":4,"column":0},"end":{"line":4,"column":26}},"5":{"start":{"line":5,"column":0},"end":{"line":5,"column":25}},"6":{"start":{"line":6,"column":0},"end":{"line":6,"column":28}},"7":{"start":{"line":8,"column":0},"end":{"line":53,"column":1}},"8":{"start":{"line":9,"column":2},"end":{"line":9,"column":18}},"9":{"start":{"line":11,"column":2},"end":{"line":29,"column":3}},"10":{"start":{"line":12,"column":4},"end":{"line":26,"column":6}},"11":{"start":{"line":13,"column":6},"end":{"line":25,"column":7}},"12":{"start":{"line":14,"column":8},"end":{"line":22,"column":10}},"13":{"start":{"line":15,"column":10},"end":{"line":21,"column":11}},"14":{"start":{"line":16,"column":12},"end":{"line":20,"column":13}},"15":{"start":{"line":17,"column":14},"end":{"line":17,"column":30}},"16":{"start":{"line":19,"column":14},"end":{"line":19,"column":34}},"17":{"start":{"line":23,"column":13},"end":{"line":25,"column":7}},"18":{"start":{"line":24,"column":8},"end":{"line":24,"column":18}},"19":{"start":{"line":28,"column":4},"end":{"line":28,"column":14}},"20":{"start":{"line":31,"column":2},"end":{"line":50,"column":3}},"21":{"start":{"line":32,"column":4},"end":{"line":32,"column":36}},"22":{"start":{"line":33,"column":4},"end":{"line":33,"column":36}},"23":{"start":{"line":35,"column":4},"end":{"line":49,"column":5}},"24":{"start":{"line":36,"column":6},"end":{"line":38,"column":8}},"25":{"start":{"line":37,"column":8},"end":{"line":37,"column":30}},"26":{"start":{"line":39,"column":11},"end":{"line":49,"column":5}},"27":{"start":{"line":40,"column":6},"end":{"line":40,"column":33}},"28":{"start":{"line":42,"column":6},"end":{"line":48,"column":7}},"29":{"start":{"line":43,"column":8},"end":{"line":43,"column":33}},"30":{"start":{"line":44,"column":13},"end":{"line":48,"column":7}},"31":{"start":{"line":45,"column":8},"end":{"line":45,"column":48}},"32":{"start":{"line":47,"column":8},"end":{"line":47,"column":83}},"33":{"start":{"line":52,"column":2},"end":{"line":52,"column":16}},"34":{"start":{"line":55,"column":0},"end":{"line":199,"column":1}},"35":{"start":{"line":56,"column":2},"end":{"line":59,"column":3}},"36":{"start":{"line":60,"column":2},"end":{"line":60,"column":27}},"37":{"start":{"line":61,"column":2},"end":{"line":61,"column":27}},"38":{"start":{"line":62,"column":2},"end":{"line":62,"column":24}},"39":{"start":{"line":63,"column":2},"end":{"line":63,"column":14}},"40":{"start":{"line":64,"column":2},"end":{"line":64,"column":18}},"41":{"start":{"line":72,"column":2},"end":{"line":121,"column":3}},"42":{"start":{"line":73,"column":4},"end":{"line":73,"column":61}},"43":{"start":{"line":75,"column":4},"end":{"line":89,"column":5}},"44":{"start":{"line":76,"column":6},"end":{"line":76,"column":43}},"45":{"start":{"line":79,"column":6},"end":{"line":79,"column":47}},"46":{"start":{"line":80,"column":6},"end":{"line":80,"column":33}},"47":{"start":{"line":83,"column":6},"end":{"line":88,"column":7}},"48":{"start":{"line":84,"column":8},"end":{"line":84,"column":39}},"49":{"start":{"line":85,"column":8},"end":{"line":87,"column":9}},"50":{"start":{"line":86,"column":10},"end":{"line":86,"column":55}},"51":{"start":{"line":91,"column":4},"end":{"line":91,"column":38}},"52":{"start":{"line":93,"column":4},"end":{"line":93,"column":48}},"53":{"start":{"line":95,"column":4},"end":{"line":97,"column":5}},"54":{"start":{"line":96,"column":6},"end":{"line":96,"column":38}},"55":{"start":{"line":99,"column":4},"end":{"line":99,"column":37}},"56":{"start":{"line":101,"column":4},"end":{"line":105,"column":5}},"57":{"start":{"line":102,"column":6},"end":{"line":102,"column":25}},"58":{"start":{"line":104,"column":6},"end":{"line":104,"column":64}},"59":{"start":{"line":107,"column":4},"end":{"line":116,"column":5}},"60":{"start":{"line":108,"column":6},"end":{"line":108,"column":54}},"61":{"start":{"line":110,"column":6},"end":{"line":110,"column":39}},"62":{"start":{"line":112,"column":6},"end":{"line":115,"column":7}},"63":{"start":{"line":113,"column":8},"end":{"line":113,"column":56}},"64":{"start":{"line":114,"column":8},"end":{"line":114,"column":40}},"65":{"start":{"line":118,"column":4},"end":{"line":118,"column":81}},"66":{"start":{"line":119,"column":4},"end":{"line":119,"column":27}},"67":{"start":{"line":120,"column":4},"end":{"line":120,"column":15}},"68":{"start":{"line":123,"column":2},"end":{"line":193,"column":4}},"69":{"start":{"line":127,"column":8},"end":{"line":127,"column":30}},"70":{"start":{"line":128,"column":8},"end":{"line":128,"column":18}},"71":{"start":{"line":136,"column":8},"end":{"line":136,"column":29}},"72":{"start":{"line":139,"column":8},"end":{"line":141,"column":9}},"73":{"start":{"line":140,"column":10},"end":{"line":140,"column":16}},"74":{"start":{"line":143,"column":8},"end":{"line":146,"column":9}},"75":{"start":{"line":144,"column":10},"end":{"line":144,"column":29}},"76":{"start":{"line":145,"column":10},"end":{"line":145,"column":16}},"77":{"start":{"line":148,"column":8},"end":{"line":148,"column":77}},"78":{"start":{"line":150,"column":8},"end":{"line":152,"column":9}},"79":{"start":{"line":151,"column":10},"end":{"line":151,"column":40}},"80":{"start":{"line":154,"column":8},"end":{"line":156,"column":9}},"81":{"start":{"line":155,"column":10},"end":{"line":155,"column":41}},"82":{"start":{"line":158,"column":8},"end":{"line":160,"column":9}},"83":{"start":{"line":159,"column":10},"end":{"line":159,"column":59}},"84":{"start":{"line":162,"column":8},"end":{"line":171,"column":9}},"85":{"start":{"line":163,"column":10},"end":{"line":163,"column":47}},"86":{"start":{"line":164,"column":10},"end":{"line":164,"column":53}},"87":{"start":{"line":166,"column":10},"end":{"line":170,"column":12}},"88":{"start":{"line":167,"column":12},"end":{"line":169,"column":13}},"89":{"start":{"line":168,"column":14},"end":{"line":168,"column":48}},"90":{"start":{"line":173,"column":8},"end":{"line":175,"column":9}},"91":{"start":{"line":174,"column":10},"end":{"line":174,"column":50}},"92":{"start":{"line":182,"column":8},"end":{"line":182,"column":28}},"93":{"start":{"line":186,"column":8},"end":{"line":190,"column":9}},"94":{"start":{"line":187,"column":10},"end":{"line":187,"column":28}},"95":{"start":{"line":188,"column":15},"end":{"line":190,"column":9}},"96":{"start":{"line":189,"column":10},"end":{"line":189,"column":29}},"97":{"start":{"line":195,"column":2},"end":{"line":198,"column":13}},"98":{"start":{"line":201,"column":0},"end":{"line":206,"column":2}},"99":{"start":{"line":208,"column":0},"end":{"line":208,"column":21}}},"branchMap":{"1":{"line":11,"type":"if","locations":[{"start":{"line":11,"column":2},"end":{"line":11,"column":2}},{"start":{"line":11,"column":2},"end":{"line":11,"column":2}}]},"2":{"line":13,"type":"if","locations":[{"start":{"line":13,"column":6},"end":{"line":13,"column":6}},{"start":{"line":13,"column":6},"end":{"line":13,"column":6}}]},"3":{"line":15,"type":"if","locations":[{"start":{"line":15,"column":10},"end":{"line":15,"column":10}},{"start":{"line":15,"column":10},"end":{"line":15,"column":10}}]},"4":{"line":16,"type":"if","locations":[{"start":{"line":16,"column":12},"end":{"line":16,"column":12}},{"start":{"line":16,"column":12},"end":{"line":16,"column":12}}]},"5":{"line":23,"type":"if","locations":[{"start":{"line":23,"column":13},"end":{"line":23,"column":13}},{"start":{"line":23,"column":13},"end":{"line":23,"column":13}}]},"6":{"line":35,"type":"if","locations":[{"start":{"line":35,"column":4},"end":{"line":35,"column":4}},{"start":{"line":35,"column":4},"end":{"line":35,"column":4}}]},"7":{"line":39,"type":"if","locations":[{"start":{"line":39,"column":11},"end":{"line":39,"column":11}},{"start":{"line":39,"column":11},"end":{"line":39,"column":11}}]},"8":{"line":42,"type":"if","locations":[{"start":{"line":42,"column":6},"end":{"line":42,"column":6}},{"start":{"line":42,"column":6},"end":{"line":42,"column":6}}]},"9":{"line":44,"type":"if","locations":[{"start":{"line":44,"column":13},"end":{"line":44,"column":13}},{"start":{"line":44,"column":13},"end":{"line":44,"column":13}}]},"10":{"line":75,"type":"if","locations":[{"start":{"line":75,"column":4},"end":{"line":75,"column":4}},{"start":{"line":75,"column":4},"end":{"line":75,"column":4}}]},"11":{"line":83,"type":"if","locations":[{"start":{"line":83,"column":6},"end":{"line":83,"column":6}},{"start":{"line":83,"column":6},"end":{"line":83,"column":6}}]},"12":{"line":85,"type":"if","locations":[{"start":{"line":85,"column":8},"end":{"line":85,"column":8}},{"start":{"line":85,"column":8},"end":{"line":85,"column":8}}]},"13":{"line":95,"type":"if","locations":[{"start":{"line":95,"column":4},"end":{"line":95,"column":4}},{"start":{"line":95,"column":4},"end":{"line":95,"column":4}}]},"14":{"line":101,"type":"if","locations":[{"start":{"line":101,"column":4},"end":{"line":101,"column":4}},{"start":{"line":101,"column":4},"end":{"line":101,"column":4}}]},"15":{"line":104,"type":"cond-expr","locations":[{"start":{"line":104,"column":41},"end":{"line":104,"column":48}},{"start":{"line":104,"column":51},"end":{"line":104,"column":64}}]},"16":{"line":107,"type":"if","locations":[{"start":{"line":107,"column":4},"end":{"line":107,"column":4}},{"start":{"line":107,"column":4},"end":{"line":107,"column":4}}]},"17":{"line":112,"type":"if","locations":[{"start":{"line":112,"column":6},"end":{"line":112,"column":6}},{"start":{"line":112,"column":6},"end":{"line":112,"column":6}}]},"18":{"line":139,"type":"if","locations":[{"start":{"line":139,"column":8},"end":{"line":139,"column":8}},{"start":{"line":139,"column":8},"end":{"line":139,"column":8}}]},"19":{"line":143,"type":"if","locations":[{"start":{"line":143,"column":8},"end":{"line":143,"column":8}},{"start":{"line":143,"column":8},"end":{"line":143,"column":8}}]},"20":{"line":148,"type":"cond-expr","locations":[{"start":{"line":148,"column":50},"end":{"line":148,"column":66}},{"start":{"line":148,"column":69},"end":{"line":148,"column":77}}]},"21":{"line":150,"type":"if","locations":[{"start":{"line":150,"column":8},"end":{"line":150,"column":8}},{"start":{"line":150,"column":8},"end":{"line":150,"column":8}}]},"22":{"line":154,"type":"if","locations":[{"start":{"line":154,"column":8},"end":{"line":154,"column":8}},{"start":{"line":154,"column":8},"end":{"line":154,"column":8}}]},"23":{"line":158,"type":"if","locations":[{"start":{"line":158,"column":8},"end":{"line":158,"column":8}},{"start":{"line":158,"column":8},"end":{"line":158,"column":8}}]},"24":{"line":158,"type":"binary-expr","locations":[{"start":{"line":158,"column":12},"end":{"line":158,"column":42}},{"start":{"line":158,"column":46},"end":{"line":158,"column":75}}]},"25":{"line":162,"type":"if","locations":[{"start":{"line":162,"column":8},"end":{"line":162,"column":8}},{"start":{"line":162,"column":8},"end":{"line":162,"column":8}}]},"26":{"line":167,"type":"if","locations":[{"start":{"line":167,"column":12},"end":{"line":167,"column":12}},{"start":{"line":167,"column":12},"end":{"line":167,"column":12}}]},"27":{"line":167,"type":"binary-expr","locations":[{"start":{"line":167,"column":16},"end":{"line":167,"column":30}},{"start":{"line":167,"column":34},"end":{"line":167,"column":59}}]},"28":{"line":173,"type":"if","locations":[{"start":{"line":173,"column":8},"end":{"line":173,"column":8}},{"start":{"line":173,"column":8},"end":{"line":173,"column":8}}]},"29":{"line":186,"type":"if","locations":[{"start":{"line":186,"column":8},"end":{"line":186,"column":8}},{"start":{"line":186,"column":8},"end":{"line":186,"column":8}}]},"30":{"line":188,"type":"if","locations":[{"start":{"line":188,"column":15},"end":{"line":188,"column":15}},{"start":{"line":188,"column":15},"end":{"line":188,"column":15}}]}}},"/Users/Chris/Workspace/koa/koa-jade/example/helpers/format-date.js":{"path":"/Users/Chris/Workspace/koa/koa-jade/example/helpers/format-date.js","s":{"1":1,"2":6},"b":{},"f":{"1":6},"fnMap":{"1":{"name":"(anonymous_1)","line":3,"loc":{"start":{"line":3,"column":14},"end":{"line":3,"column":31}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":6,"column":1}},"2":{"start":{"line":4,"column":4},"end":{"line":4,"column":83}}},"branchMap":{}}}

@@ -40,10 +40,10 @@ var pkg = require('./package.json')

} else if (stat.isFile()) {
module = require(fullPath)
var mod = require(fullPath)
if (_.isString(moduleName)) {
helpers[moduleName] = module
} else if (_.isString(module.moduleName)) {
helpers[module.moduleName] = module.moduleBody
helpers[moduleName] = mod
} else if (_.isString(mod.moduleName)) {
helpers[mod.moduleName] = mod.moduleBody
} else {
helpers[_.camelCase(path.basename(fullPath, path.extname(fullPath)))] = module
helpers[_.camelCase(path.basename(fullPath, path.extname(fullPath)))] = mod
}

@@ -65,2 +65,3 @@ }

var viewPath
var helpers = {}

@@ -119,3 +120,3 @@ /**

this.body = compiler(_.merge({}, defaultLocals, this.state, locals))
this.body = compiler(_.merge({}, helpers, defaultLocals, this.state, locals))
this.type = 'text/html'

@@ -146,6 +147,3 @@ return this

if (_.isEmpty(options)) {
defaultOptions = {
compileDebug: false,
pretty: false
}
defaultOptions = {}
return

@@ -165,3 +163,3 @@ }

if (_.isString(options.helperPath) || _.isArray(options.helperPath)) {
_.merge(defaultLocals, loadHelpers(options.helperPath))
_.merge(helpers, loadHelpers(options.helperPath))
}

@@ -193,7 +191,7 @@

set: function (val) {
if (!_.isPlainObject(val)) {
return
if (val == null) {
defaultLocals = {}
} else if (_.isPlainObject(val)) {
defaultLocals = val
}
defaultLocals = {}
}

@@ -200,0 +198,0 @@ }

{
"name": "koa-jade",
"version": "2.0.1",
"version": "2.0.2",
"description": "A Jade middleware for Koa",

@@ -38,3 +38,3 @@ "main": "index.js",

"cheerio": "^0.19.0",
"eslint": "^1.3.1",
"eslint": "^1.10.2",
"istanbul": "^0.3.19",

@@ -41,0 +41,0 @@ "jstransformer-markdown-it": "^0.1.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc