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

kremling

Package Overview
Dependencies
Maintainers
4
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kremling - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

coverage/chrome/coverage.txt
{
"/Users/tonylefler/projects/kremling/src/classname-helpers.js":{"path":"/Users/tonylefler/projects/kremling/src/classname-helpers.js","statementMap":{"0":{"start":{"line":5,"column":2},"end":{"line":5,"column":40}},"1":{"start":{"line":9,"column":2},"end":{"line":11,"column":3}},"2":{"start":{"line":10,"column":4},"end":{"line":10,"column":104}},"3":{"start":{"line":12,"column":2},"end":{"line":12,"column":50}},"4":{"start":{"line":16,"column":2},"end":{"line":18,"column":3}},"5":{"start":{"line":17,"column":4},"end":{"line":17,"column":106}},"6":{"start":{"line":19,"column":2},"end":{"line":19,"column":59}},"7":{"start":{"line":23,"column":19},"end":{"line":23,"column":84}},"8":{"start":{"line":24,"column":14},"end":{"line":24,"column":64}},"9":{"start":{"line":25,"column":2},"end":{"line":25,"column":26}},"10":{"start":{"line":26,"column":2},"end":{"line":26,"column":18}},"11":{"start":{"line":27,"column":2},"end":{"line":27,"column":32}},"12":{"start":{"line":28,"column":2},"end":{"line":28,"column":21}},"13":{"start":{"line":29,"column":2},"end":{"line":29,"column":30}},"14":{"start":{"line":30,"column":2},"end":{"line":30,"column":20}},"15":{"start":{"line":31,"column":2},"end":{"line":31,"column":32}},"16":{"start":{"line":32,"column":2},"end":{"line":32,"column":21}},"17":{"start":{"line":33,"column":2},"end":{"line":33,"column":13}}},"fnMap":{"0":{"name":"css","decl":{"start":{"line":1,"column":16},"end":{"line":1,"column":19}},"loc":{"start":{"line":1,"column":29},"end":{"line":2,"column":1}},"line":1},"1":{"name":"always","decl":{"start":{"line":4,"column":16},"end":{"line":4,"column":22}},"loc":{"start":{"line":4,"column":32},"end":{"line":6,"column":1}},"line":4},"2":{"name":"maybe","decl":{"start":{"line":8,"column":16},"end":{"line":8,"column":21}},"loc":{"start":{"line":8,"column":42},"end":{"line":13,"column":1}},"line":8},"3":{"name":"toggle","decl":{"start":{"line":15,"column":16},"end":{"line":15,"column":22}},"loc":{"start":{"line":15,"column":56},"end":{"line":20,"column":1}},"line":15},"4":{"name":"chainify","decl":{"start":{"line":22,"column":9},"end":{"line":22,"column":17}},"loc":{"start":{"line":22,"column":45},"end":{"line":34,"column":1}},"line":22}},"branchMap":{"0":{"loc":{"start":{"line":9,"column":2},"end":{"line":11,"column":3}},"type":"if","locations":[{"start":{"line":9,"column":2},"end":{"line":11,"column":3}},{"start":{"line":9,"column":2},"end":{"line":11,"column":3}}],"line":9},"1":{"loc":{"start":{"line":12,"column":24},"end":{"line":12,"column":48}},"type":"cond-expr","locations":[{"start":{"line":12,"column":34},"end":{"line":12,"column":43}},{"start":{"line":12,"column":46},"end":{"line":12,"column":48}}],"line":12},"2":{"loc":{"start":{"line":16,"column":2},"end":{"line":18,"column":3}},"type":"if","locations":[{"start":{"line":16,"column":2},"end":{"line":18,"column":3}},{"start":{"line":16,"column":2},"end":{"line":18,"column":3}}],"line":16},"3":{"loc":{"start":{"line":16,"column":6},"end":{"line":16,"column":70}},"type":"binary-expr","locations":[{"start":{"line":16,"column":6},"end":{"line":16,"column":36}},{"start":{"line":16,"column":40},"end":{"line":16,"column":70}}],"line":16},"4":{"loc":{"start":{"line":19,"column":24},"end":{"line":19,"column":57}},"type":"cond-expr","locations":[{"start":{"line":19,"column":34},"end":{"line":19,"column":44}},{"start":{"line":19,"column":47},"end":{"line":19,"column":57}}],"line":19},"5":{"loc":{"start":{"line":23,"column":19},"end":{"line":23,"column":84}},"type":"cond-expr","locations":[{"start":{"line":23,"column":54},"end":{"line":23,"column":79}},{"start":{"line":23,"column":82},"end":{"line":23,"column":84}}],"line":23}},"s":{"0":13,"1":16,"2":2,"3":14,"4":14,"5":2,"6":12,"7":39,"8":39,"9":39,"10":39,"11":39,"12":39,"13":39,"14":39,"15":39,"16":39,"17":39},"f":{"0":0,"1":13,"2":16,"3":14,"4":39},"b":{"0":[2,14],"1":[9,5],"2":[2,12],"3":[14,14],"4":[6,6],"5":[24,15]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"54c89cc627836d5ce6555ca56d94803157620c2c","l":{"5":13,"9":16,"10":2,"12":14,"16":14,"17":2,"19":12,"23":39,"24":39,"25":39,"26":39,"27":39,"28":39,"29":39,"30":39,"31":39,"32":39,"33":39}},
"/Users/tonylefler/projects/kremling/src/scoped.component.js":{"path":"/Users/tonylefler/projects/kremling/src/scoped.component.js","statementMap":{"0":{"start":{"line":5,"column":18},"end":{"line":5,"column":20}},"1":{"start":{"line":6,"column":14},"end":{"line":6,"column":15}},"2":{"start":{"line":8,"column":37},"end":{"line":8,"column":60}},"3":{"start":{"line":20,"column":4},"end":{"line":20,"column":17}},"4":{"start":{"line":21,"column":4},"end":{"line":21,"column":20}},"5":{"start":{"line":22,"column":4},"end":{"line":22,"column":131}},"6":{"start":{"line":22,"column":38},"end":{"line":22,"column":131}},"7":{"start":{"line":23,"column":4},"end":{"line":23,"column":146}},"8":{"start":{"line":23,"column":36},"end":{"line":23,"column":146}},"9":{"start":{"line":24,"column":4},"end":{"line":24,"column":244}},"10":{"start":{"line":24,"column":90},"end":{"line":24,"column":244}},"11":{"start":{"line":25,"column":4},"end":{"line":29,"column":5}},"12":{"start":{"line":26,"column":6},"end":{"line":26,"column":43}},"13":{"start":{"line":28,"column":6},"end":{"line":28,"column":47}},"14":{"start":{"line":33,"column":29},"end":{"line":39,"column":6}},"15":{"start":{"line":34,"column":6},"end":{"line":38,"column":7}},"16":{"start":{"line":35,"column":8},"end":{"line":35,"column":104}},"17":{"start":{"line":37,"column":8},"end":{"line":37,"column":21}},"18":{"start":{"line":41,"column":4},"end":{"line":52,"column":5}},"19":{"start":{"line":42,"column":6},"end":{"line":42,"column":30}},"20":{"start":{"line":45,"column":6},"end":{"line":51,"column":7}},"21":{"start":{"line":46,"column":8},"end":{"line":46,"column":126}},"22":{"start":{"line":47,"column":13},"end":{"line":51,"column":7}},"23":{"start":{"line":48,"column":8},"end":{"line":48,"column":35}},"24":{"start":{"line":50,"column":8},"end":{"line":50,"column":20}},"25":{"start":{"line":56,"column":4},"end":{"line":68,"column":5}},"26":{"start":{"line":57,"column":6},"end":{"line":60,"column":7}},"27":{"start":{"line":58,"column":8},"end":{"line":58,"column":27}},"28":{"start":{"line":59,"column":8},"end":{"line":59,"column":51}},"29":{"start":{"line":62,"column":6},"end":{"line":67,"column":7}},"30":{"start":{"line":65,"column":8},"end":{"line":65,"column":31}},"31":{"start":{"line":66,"column":8},"end":{"line":66,"column":56}},"32":{"start":{"line":72,"column":4},"end":{"line":76,"column":5}},"33":{"start":{"line":73,"column":6},"end":{"line":73,"column":25}},"34":{"start":{"line":75,"column":6},"end":{"line":75,"column":29}},"35":{"start":{"line":80,"column":4},"end":{"line":82,"column":5}},"36":{"start":{"line":81,"column":6},"end":{"line":81,"column":13}},"37":{"start":{"line":84,"column":4},"end":{"line":86,"column":5}},"38":{"start":{"line":85,"column":6},"end":{"line":85,"column":122}},"39":{"start":{"line":89,"column":26},"end":{"line":89,"column":46}},"40":{"start":{"line":91,"column":4},"end":{"line":136,"column":5}},"41":{"start":{"line":92,"column":6},"end":{"line":92,"column":31}},"42":{"start":{"line":93,"column":6},"end":{"line":93,"column":32}},"43":{"start":{"line":94,"column":6},"end":{"line":94,"column":47}},"44":{"start":{"line":95,"column":6},"end":{"line":95,"column":49}},"45":{"start":{"line":98,"column":6},"end":{"line":98,"column":78}},"46":{"start":{"line":99,"column":6},"end":{"line":99,"column":36}},"47":{"start":{"line":102,"column":31},"end":{"line":102,"column":77}},"48":{"start":{"line":103,"column":29},"end":{"line":124,"column":8}},"49":{"start":{"line":104,"column":8},"end":{"line":123,"column":29}},"50":{"start":{"line":107,"column":12},"end":{"line":107,"column":39}},"51":{"start":{"line":110,"column":12},"end":{"line":110,"column":86}},"52":{"start":{"line":110,"column":46},"end":{"line":110,"column":86}},"53":{"start":{"line":112,"column":12},"end":{"line":112,"column":67}},"54":{"start":{"line":114,"column":26},"end":{"line":114,"column":31}},"55":{"start":{"line":115,"column":12},"end":{"line":117,"column":13}},"56":{"start":{"line":116,"column":14},"end":{"line":116,"column":29}},"57":{"start":{"line":119,"column":12},"end":{"line":121,"column":82}},"58":{"start":{"line":127,"column":17},"end":{"line":127,"column":48}},"59":{"start":{"line":128,"column":6},"end":{"line":128,"column":42}},"60":{"start":{"line":129,"column":6},"end":{"line":129,"column":38}},"61":{"start":{"line":130,"column":6},"end":{"line":130,"column":23}},"62":{"start":{"line":131,"column":6},"end":{"line":131,"column":41}},"63":{"start":{"line":132,"column":6},"end":{"line":132,"column":43}},"64":{"start":{"line":133,"column":6},"end":{"line":133,"column":36}},"65":{"start":{"line":134,"column":6},"end":{"line":134,"column":32}},"66":{"start":{"line":135,"column":6},"end":{"line":135,"column":20}},"67":{"start":{"line":138,"column":4},"end":{"line":143,"column":6}},"68":{"start":{"line":147,"column":4},"end":{"line":150,"column":5}},"69":{"start":{"line":148,"column":6},"end":{"line":148,"column":70}},"70":{"start":{"line":149,"column":6},"end":{"line":149,"column":39}},"71":{"start":{"line":154,"column":4},"end":{"line":154,"column":37}},"72":{"start":{"line":155,"column":4},"end":{"line":157,"column":5}},"73":{"start":{"line":156,"column":6},"end":{"line":156,"column":70}},"74":{"start":{"line":161,"column":29},"end":{"line":161,"column":71}},"75":{"start":{"line":162,"column":30},"end":{"line":162,"column":46}},"76":{"start":{"line":163,"column":19},"end":{"line":163,"column":117}},"77":{"start":{"line":164,"column":4},"end":{"line":170,"column":5}},"78":{"start":{"line":165,"column":6},"end":{"line":165,"column":49}},"79":{"start":{"line":166,"column":6},"end":{"line":166,"column":48}},"80":{"start":{"line":167,"column":6},"end":{"line":167,"column":27}},"81":{"start":{"line":169,"column":6},"end":{"line":169,"column":28}},"82":{"start":{"line":171,"column":4},"end":{"line":171,"column":63}},"83":{"start":{"line":172,"column":4},"end":{"line":172,"column":46}},"84":{"start":{"line":173,"column":4},"end":{"line":173,"column":40}},"85":{"start":{"line":174,"column":4},"end":{"line":178,"column":5}},"86":{"start":{"line":185,"column":2},"end":{"line":185,"column":14}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":19,"column":2},"end":{"line":19,"column":3}},"loc":{"start":{"line":19,"column":21},"end":{"line":30,"column":3}},"line":19},"1":{"name":"(anonymous_1)","decl":{"start":{"line":32,"column":2},"end":{"line":32,"column":3}},"loc":{"start":{"line":32,"column":11},"end":{"line":53,"column":3}},"line":32},"2":{"name":"(anonymous_2)","decl":{"start":{"line":33,"column":69},"end":{"line":33,"column":70}},"loc":{"start":{"line":33,"column":78},"end":{"line":39,"column":5}},"line":33},"3":{"name":"(anonymous_3)","decl":{"start":{"line":55,"column":2},"end":{"line":55,"column":3}},"loc":{"start":{"line":55,"column":32},"end":{"line":69,"column":3}},"line":55},"4":{"name":"(anonymous_4)","decl":{"start":{"line":71,"column":2},"end":{"line":71,"column":3}},"loc":{"start":{"line":71,"column":25},"end":{"line":77,"column":3}},"line":71},"5":{"name":"(anonymous_5)","decl":{"start":{"line":79,"column":2},"end":{"line":79,"column":3}},"loc":{"start":{"line":79,"column":21},"end":{"line":144,"column":3}},"line":79},"6":{"name":"(anonymous_6)","decl":{"start":{"line":103,"column":63},"end":{"line":103,"column":64}},"loc":{"start":{"line":103,"column":83},"end":{"line":124,"column":7}},"line":103},"7":{"name":"(anonymous_7)","decl":{"start":{"line":106,"column":15},"end":{"line":106,"column":16}},"loc":{"start":{"line":106,"column":27},"end":{"line":122,"column":11}},"line":106},"8":{"name":"(anonymous_8)","decl":{"start":{"line":146,"column":16},"end":{"line":146,"column":17}},"loc":{"start":{"line":146,"column":22},"end":{"line":151,"column":3}},"line":146},"9":{"name":"(anonymous_9)","decl":{"start":{"line":153,"column":20},"end":{"line":153,"column":21}},"loc":{"start":{"line":153,"column":26},"end":{"line":158,"column":3}},"line":153},"10":{"name":"(anonymous_10)","decl":{"start":{"line":160,"column":20},"end":{"line":160,"column":21}},"loc":{"start":{"line":160,"column":31},"end":{"line":179,"column":3}},"line":160},"11":{"name":"resetCounter","decl":{"start":{"line":184,"column":16},"end":{"line":184,"column":28}},"loc":{"start":{"line":184,"column":31},"end":{"line":186,"column":1}},"line":184}},"branchMap":{"0":{"loc":{"start":{"line":22,"column":4},"end":{"line":22,"column":131}},"type":"if","locations":[{"start":{"line":22,"column":4},"end":{"line":22,"column":131}},{"start":{"line":22,"column":4},"end":{"line":22,"column":131}}],"line":22},"1":{"loc":{"start":{"line":22,"column":8},"end":{"line":22,"column":36}},"type":"binary-expr","locations":[{"start":{"line":22,"column":8},"end":{"line":22,"column":18}},{"start":{"line":22,"column":22},"end":{"line":22,"column":36}}],"line":22},"2":{"loc":{"start":{"line":23,"column":4},"end":{"line":23,"column":146}},"type":"if","locations":[{"start":{"line":23,"column":4},"end":{"line":23,"column":146}},{"start":{"line":23,"column":4},"end":{"line":23,"column":146}}],"line":23},"3":{"loc":{"start":{"line":23,"column":8},"end":{"line":23,"column":34}},"type":"binary-expr","locations":[{"start":{"line":23,"column":8},"end":{"line":23,"column":17}},{"start":{"line":23,"column":21},"end":{"line":23,"column":34}}],"line":23},"4":{"loc":{"start":{"line":24,"column":4},"end":{"line":24,"column":244}},"type":"if","locations":[{"start":{"line":24,"column":4},"end":{"line":24,"column":244}},{"start":{"line":24,"column":4},"end":{"line":24,"column":244}}],"line":24},"5":{"loc":{"start":{"line":24,"column":8},"end":{"line":24,"column":88}},"type":"binary-expr","locations":[{"start":{"line":24,"column":8},"end":{"line":24,"column":21}},{"start":{"line":24,"column":25},"end":{"line":24,"column":88}}],"line":24},"6":{"loc":{"start":{"line":24,"column":27},"end":{"line":24,"column":87}},"type":"binary-expr","locations":[{"start":{"line":24,"column":27},"end":{"line":24,"column":67}},{"start":{"line":24,"column":71},"end":{"line":24,"column":87}}],"line":24},"7":{"loc":{"start":{"line":25,"column":4},"end":{"line":29,"column":5}},"type":"if","locations":[{"start":{"line":25,"column":4},"end":{"line":29,"column":5}},{"start":{"line":25,"column":4},"end":{"line":29,"column":5}}],"line":25},"8":{"loc":{"start":{"line":34,"column":6},"end":{"line":38,"column":7}},"type":"if","locations":[{"start":{"line":34,"column":6},"end":{"line":38,"column":7}},{"start":{"line":34,"column":6},"end":{"line":38,"column":7}}],"line":34},"9":{"loc":{"start":{"line":41,"column":4},"end":{"line":52,"column":5}},"type":"if","locations":[{"start":{"line":41,"column":4},"end":{"line":52,"column":5}},{"start":{"line":41,"column":4},"end":{"line":52,"column":5}}],"line":41},"10":{"loc":{"start":{"line":45,"column":6},"end":{"line":51,"column":7}},"type":"if","locations":[{"start":{"line":45,"column":6},"end":{"line":51,"column":7}},{"start":{"line":45,"column":6},"end":{"line":51,"column":7}}],"line":45},"11":{"loc":{"start":{"line":47,"column":13},"end":{"line":51,"column":7}},"type":"if","locations":[{"start":{"line":47,"column":13},"end":{"line":51,"column":7}},{"start":{"line":47,"column":13},"end":{"line":51,"column":7}}],"line":47},"12":{"loc":{"start":{"line":56,"column":4},"end":{"line":68,"column":5}},"type":"if","locations":[{"start":{"line":56,"column":4},"end":{"line":68,"column":5}},{"start":{"line":56,"column":4},"end":{"line":68,"column":5}}],"line":56},"13":{"loc":{"start":{"line":57,"column":6},"end":{"line":60,"column":7}},"type":"if","locations":[{"start":{"line":57,"column":6},"end":{"line":60,"column":7}},{"start":{"line":57,"column":6},"end":{"line":60,"column":7}}],"line":57},"14":{"loc":{"start":{"line":62,"column":6},"end":{"line":67,"column":7}},"type":"if","locations":[{"start":{"line":62,"column":6},"end":{"line":67,"column":7}},{"start":{"line":62,"column":6},"end":{"line":67,"column":7}}],"line":62},"15":{"loc":{"start":{"line":62,"column":10},"end":{"line":64,"column":71}},"type":"binary-expr","locations":[{"start":{"line":62,"column":10},"end":{"line":62,"column":56}},{"start":{"line":63,"column":11},"end":{"line":63,"column":65}},{"start":{"line":64,"column":11},"end":{"line":64,"column":71}}],"line":62},"16":{"loc":{"start":{"line":72,"column":4},"end":{"line":76,"column":5}},"type":"if","locations":[{"start":{"line":72,"column":4},"end":{"line":76,"column":5}},{"start":{"line":72,"column":4},"end":{"line":76,"column":5}}],"line":72},"17":{"loc":{"start":{"line":80,"column":4},"end":{"line":82,"column":5}},"type":"if","locations":[{"start":{"line":80,"column":4},"end":{"line":82,"column":5}},{"start":{"line":80,"column":4},"end":{"line":82,"column":5}}],"line":80},"18":{"loc":{"start":{"line":84,"column":4},"end":{"line":86,"column":5}},"type":"if","locations":[{"start":{"line":84,"column":4},"end":{"line":86,"column":5}},{"start":{"line":84,"column":4},"end":{"line":86,"column":5}}],"line":84},"19":{"loc":{"start":{"line":84,"column":8},"end":{"line":84,"column":65}},"type":"binary-expr","locations":[{"start":{"line":84,"column":8},"end":{"line":84,"column":34}},{"start":{"line":84,"column":38},"end":{"line":84,"column":65}}],"line":84},"20":{"loc":{"start":{"line":91,"column":4},"end":{"line":136,"column":5}},"type":"if","locations":[{"start":{"line":91,"column":4},"end":{"line":136,"column":5}},{"start":{"line":91,"column":4},"end":{"line":136,"column":5}}],"line":91},"21":{"loc":{"start":{"line":98,"column":33},"end":{"line":98,"column":75}},"type":"binary-expr","locations":[{"start":{"line":98,"column":33},"end":{"line":98,"column":48}},{"start":{"line":98,"column":52},"end":{"line":98,"column":75}}],"line":98},"22":{"loc":{"start":{"line":110,"column":12},"end":{"line":110,"column":86}},"type":"if","locations":[{"start":{"line":110,"column":12},"end":{"line":110,"column":86}},{"start":{"line":110,"column":12},"end":{"line":110,"column":86}}],"line":110},"23":{"loc":{"start":{"line":115,"column":12},"end":{"line":117,"column":13}},"type":"if","locations":[{"start":{"line":115,"column":12},"end":{"line":117,"column":13}},{"start":{"line":115,"column":12},"end":{"line":117,"column":13}}],"line":115},"24":{"loc":{"start":{"line":119,"column":19},"end":{"line":121,"column":81}},"type":"cond-expr","locations":[{"start":{"line":120,"column":16},"end":{"line":120,"column":81}},{"start":{"line":121,"column":16},"end":{"line":121,"column":81}}],"line":119},"25":{"loc":{"start":{"line":147,"column":4},"end":{"line":150,"column":5}},"type":"if","locations":[{"start":{"line":147,"column":4},"end":{"line":150,"column":5}},{"start":{"line":147,"column":4},"end":{"line":150,"column":5}}],"line":147},"26":{"loc":{"start":{"line":147,"column":8},"end":{"line":147,"column":68}},"type":"binary-expr","locations":[{"start":{"line":147,"column":8},"end":{"line":147,"column":27}},{"start":{"line":147,"column":31},"end":{"line":147,"column":68}}],"line":147},"27":{"loc":{"start":{"line":155,"column":4},"end":{"line":157,"column":5}},"type":"if","locations":[{"start":{"line":155,"column":4},"end":{"line":157,"column":5}},{"start":{"line":155,"column":4},"end":{"line":157,"column":5}}],"line":155},"28":{"loc":{"start":{"line":161,"column":29},"end":{"line":161,"column":71}},"type":"binary-expr","locations":[{"start":{"line":161,"column":29},"end":{"line":161,"column":52}},{"start":{"line":161,"column":56},"end":{"line":161,"column":71}}],"line":161},"29":{"loc":{"start":{"line":163,"column":19},"end":{"line":163,"column":117}},"type":"binary-expr","locations":[{"start":{"line":163,"column":19},"end":{"line":163,"column":38}},{"start":{"line":163,"column":42},"end":{"line":163,"column":117}}],"line":163},"30":{"loc":{"start":{"line":164,"column":4},"end":{"line":170,"column":5}},"type":"if","locations":[{"start":{"line":164,"column":4},"end":{"line":170,"column":5}},{"start":{"line":164,"column":4},"end":{"line":170,"column":5}}],"line":164}},"s":{"0":2,"1":2,"2":2,"3":20,"4":20,"5":20,"6":0,"7":20,"8":0,"9":20,"10":0,"11":20,"12":13,"13":7,"14":24,"15":24,"16":23,"17":1,"18":24,"19":24,"20":0,"21":0,"22":0,"23":0,"24":0,"25":4,"26":0,"27":0,"28":0,"29":4,"30":2,"31":2,"32":16,"33":13,"34":3,"35":13,"36":0,"37":13,"38":1,"39":13,"40":13,"41":1,"42":1,"43":1,"44":1,"45":12,"46":12,"47":12,"48":12,"49":12,"50":17,"51":17,"52":1,"53":16,"54":16,"55":16,"56":1,"57":16,"58":12,"59":12,"60":12,"61":12,"62":12,"63":12,"64":12,"65":12,"66":12,"67":13,"68":13,"69":12,"70":12,"71":5,"72":5,"73":4,"74":9,"75":9,"76":9,"77":9,"78":6,"79":6,"80":6,"81":3,"82":9,"83":9,"84":9,"85":9,"86":12},"f":{"0":20,"1":24,"2":24,"3":4,"4":16,"5":13,"6":12,"7":17,"8":13,"9":5,"10":9,"11":12},"b":{"0":[0,20],"1":[20,7],"2":[0,20],"3":[20,13],"4":[0,20],"5":[20,7],"6":[7,7],"7":[13,7],"8":[23,1],"9":[24,0],"10":[0,0],"11":[0,0],"12":[0,4],"13":[0,0],"14":[2,2],"15":[4,2,2],"16":[13,3],"17":[0,13],"18":[1,12],"19":[13,1],"20":[1,12],"21":[12,10],"22":[1,16],"23":[1,15],"24":[15,1],"25":[12,1],"26":[13,13],"27":[4,1],"28":[9,9],"29":[9,7],"30":[6,3]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"f94b12d5644aaf33976f97aa2e1d1243e1c5bb94","l":{"5":2,"6":2,"8":2,"20":20,"21":20,"22":20,"23":20,"24":20,"25":20,"26":13,"28":7,"33":24,"34":24,"35":23,"37":1,"41":24,"42":24,"45":0,"46":0,"47":0,"48":0,"50":0,"56":4,"57":0,"58":0,"59":0,"62":4,"65":2,"66":2,"72":16,"73":13,"75":3,"80":13,"81":0,"84":13,"85":1,"89":13,"91":13,"92":1,"93":1,"94":1,"95":1,"98":12,"99":12,"102":12,"103":12,"104":12,"107":17,"110":17,"112":16,"114":16,"115":16,"116":1,"119":16,"127":12,"128":12,"129":12,"130":12,"131":12,"132":12,"133":12,"134":12,"135":12,"138":13,"147":13,"148":12,"149":12,"154":5,"155":5,"156":4,"161":9,"162":9,"163":9,"164":9,"165":6,"166":6,"167":6,"169":3,"171":9,"172":9,"173":9,"174":9,"185":12}}}
"/home/blittle/dev/kremling/src/classname-helpers.js":{"path":"/home/blittle/dev/kremling/src/classname-helpers.js","statementMap":{"0":{"start":{"line":5,"column":2},"end":{"line":5,"column":40}},"1":{"start":{"line":9,"column":2},"end":{"line":11,"column":3}},"2":{"start":{"line":10,"column":4},"end":{"line":10,"column":104}},"3":{"start":{"line":12,"column":2},"end":{"line":12,"column":50}},"4":{"start":{"line":16,"column":2},"end":{"line":18,"column":3}},"5":{"start":{"line":17,"column":4},"end":{"line":17,"column":106}},"6":{"start":{"line":19,"column":2},"end":{"line":19,"column":59}},"7":{"start":{"line":23,"column":19},"end":{"line":23,"column":84}},"8":{"start":{"line":24,"column":14},"end":{"line":24,"column":64}},"9":{"start":{"line":25,"column":2},"end":{"line":25,"column":26}},"10":{"start":{"line":26,"column":2},"end":{"line":26,"column":18}},"11":{"start":{"line":27,"column":2},"end":{"line":27,"column":32}},"12":{"start":{"line":28,"column":2},"end":{"line":28,"column":21}},"13":{"start":{"line":29,"column":2},"end":{"line":29,"column":30}},"14":{"start":{"line":30,"column":2},"end":{"line":30,"column":20}},"15":{"start":{"line":31,"column":2},"end":{"line":31,"column":32}},"16":{"start":{"line":32,"column":2},"end":{"line":32,"column":21}},"17":{"start":{"line":33,"column":2},"end":{"line":33,"column":13}}},"fnMap":{"0":{"name":"css","decl":{"start":{"line":1,"column":16},"end":{"line":1,"column":19}},"loc":{"start":{"line":1,"column":29},"end":{"line":2,"column":1}},"line":1},"1":{"name":"always","decl":{"start":{"line":4,"column":16},"end":{"line":4,"column":22}},"loc":{"start":{"line":4,"column":32},"end":{"line":6,"column":1}},"line":4},"2":{"name":"maybe","decl":{"start":{"line":8,"column":16},"end":{"line":8,"column":21}},"loc":{"start":{"line":8,"column":42},"end":{"line":13,"column":1}},"line":8},"3":{"name":"toggle","decl":{"start":{"line":15,"column":16},"end":{"line":15,"column":22}},"loc":{"start":{"line":15,"column":56},"end":{"line":20,"column":1}},"line":15},"4":{"name":"chainify","decl":{"start":{"line":22,"column":9},"end":{"line":22,"column":17}},"loc":{"start":{"line":22,"column":45},"end":{"line":34,"column":1}},"line":22}},"branchMap":{"0":{"loc":{"start":{"line":9,"column":2},"end":{"line":11,"column":3}},"type":"if","locations":[{"start":{"line":9,"column":2},"end":{"line":11,"column":3}},{"start":{"line":9,"column":2},"end":{"line":11,"column":3}}],"line":9},"1":{"loc":{"start":{"line":12,"column":24},"end":{"line":12,"column":48}},"type":"cond-expr","locations":[{"start":{"line":12,"column":34},"end":{"line":12,"column":43}},{"start":{"line":12,"column":46},"end":{"line":12,"column":48}}],"line":12},"2":{"loc":{"start":{"line":16,"column":2},"end":{"line":18,"column":3}},"type":"if","locations":[{"start":{"line":16,"column":2},"end":{"line":18,"column":3}},{"start":{"line":16,"column":2},"end":{"line":18,"column":3}}],"line":16},"3":{"loc":{"start":{"line":16,"column":6},"end":{"line":16,"column":70}},"type":"binary-expr","locations":[{"start":{"line":16,"column":6},"end":{"line":16,"column":36}},{"start":{"line":16,"column":40},"end":{"line":16,"column":70}}],"line":16},"4":{"loc":{"start":{"line":19,"column":24},"end":{"line":19,"column":57}},"type":"cond-expr","locations":[{"start":{"line":19,"column":34},"end":{"line":19,"column":44}},{"start":{"line":19,"column":47},"end":{"line":19,"column":57}}],"line":19},"5":{"loc":{"start":{"line":23,"column":19},"end":{"line":23,"column":84}},"type":"cond-expr","locations":[{"start":{"line":23,"column":54},"end":{"line":23,"column":79}},{"start":{"line":23,"column":82},"end":{"line":23,"column":84}}],"line":23}},"s":{"0":13,"1":16,"2":2,"3":14,"4":14,"5":2,"6":12,"7":39,"8":39,"9":39,"10":39,"11":39,"12":39,"13":39,"14":39,"15":39,"16":39,"17":39},"f":{"0":0,"1":13,"2":16,"3":14,"4":39},"b":{"0":[2,14],"1":[9,5],"2":[2,12],"3":[14,14],"4":[6,6],"5":[24,15]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"0367fc0fae6d2aacd5b9946b8476ff0b68775e80","l":{"5":13,"9":16,"10":2,"12":14,"16":14,"17":2,"19":12,"23":39,"24":39,"25":39,"26":39,"27":39,"28":39,"29":39,"30":39,"31":39,"32":39,"33":39}},
"/home/blittle/dev/kremling/src/scoped.component.js":{"path":"/home/blittle/dev/kremling/src/scoped.component.js","statementMap":{"0":{"start":{"line":5,"column":18},"end":{"line":5,"column":20}},"1":{"start":{"line":6,"column":14},"end":{"line":6,"column":15}},"2":{"start":{"line":8,"column":37},"end":{"line":8,"column":60}},"3":{"start":{"line":19,"column":4},"end":{"line":19,"column":17}},"4":{"start":{"line":20,"column":4},"end":{"line":20,"column":41}},"5":{"start":{"line":24,"column":29},"end":{"line":30,"column":6}},"6":{"start":{"line":25,"column":6},"end":{"line":29,"column":7}},"7":{"start":{"line":26,"column":8},"end":{"line":26,"column":104}},"8":{"start":{"line":28,"column":8},"end":{"line":28,"column":21}},"9":{"start":{"line":32,"column":4},"end":{"line":43,"column":5}},"10":{"start":{"line":33,"column":6},"end":{"line":33,"column":30}},"11":{"start":{"line":36,"column":6},"end":{"line":42,"column":7}},"12":{"start":{"line":37,"column":8},"end":{"line":37,"column":126}},"13":{"start":{"line":38,"column":13},"end":{"line":42,"column":7}},"14":{"start":{"line":39,"column":8},"end":{"line":39,"column":35}},"15":{"start":{"line":41,"column":8},"end":{"line":41,"column":20}},"16":{"start":{"line":47,"column":4},"end":{"line":50,"column":5}},"17":{"start":{"line":48,"column":6},"end":{"line":48,"column":25}},"18":{"start":{"line":49,"column":6},"end":{"line":49,"column":49}},"19":{"start":{"line":54,"column":4},"end":{"line":54,"column":23}},"20":{"start":{"line":58,"column":4},"end":{"line":60,"column":5}},"21":{"start":{"line":59,"column":6},"end":{"line":59,"column":13}},"22":{"start":{"line":62,"column":4},"end":{"line":64,"column":5}},"23":{"start":{"line":63,"column":6},"end":{"line":63,"column":122}},"24":{"start":{"line":67,"column":26},"end":{"line":67,"column":46}},"25":{"start":{"line":69,"column":4},"end":{"line":114,"column":5}},"26":{"start":{"line":70,"column":6},"end":{"line":70,"column":31}},"27":{"start":{"line":71,"column":6},"end":{"line":71,"column":32}},"28":{"start":{"line":72,"column":6},"end":{"line":72,"column":47}},"29":{"start":{"line":73,"column":6},"end":{"line":73,"column":49}},"30":{"start":{"line":76,"column":6},"end":{"line":76,"column":78}},"31":{"start":{"line":77,"column":6},"end":{"line":77,"column":36}},"32":{"start":{"line":80,"column":31},"end":{"line":80,"column":77}},"33":{"start":{"line":81,"column":29},"end":{"line":102,"column":8}},"34":{"start":{"line":82,"column":8},"end":{"line":101,"column":29}},"35":{"start":{"line":85,"column":12},"end":{"line":85,"column":39}},"36":{"start":{"line":88,"column":12},"end":{"line":88,"column":86}},"37":{"start":{"line":88,"column":46},"end":{"line":88,"column":86}},"38":{"start":{"line":90,"column":12},"end":{"line":90,"column":67}},"39":{"start":{"line":92,"column":26},"end":{"line":92,"column":31}},"40":{"start":{"line":93,"column":12},"end":{"line":95,"column":13}},"41":{"start":{"line":94,"column":14},"end":{"line":94,"column":29}},"42":{"start":{"line":97,"column":12},"end":{"line":99,"column":82}},"43":{"start":{"line":105,"column":17},"end":{"line":105,"column":48}},"44":{"start":{"line":106,"column":6},"end":{"line":106,"column":42}},"45":{"start":{"line":107,"column":6},"end":{"line":107,"column":38}},"46":{"start":{"line":108,"column":6},"end":{"line":108,"column":23}},"47":{"start":{"line":109,"column":6},"end":{"line":109,"column":41}},"48":{"start":{"line":110,"column":6},"end":{"line":110,"column":43}},"49":{"start":{"line":111,"column":6},"end":{"line":111,"column":36}},"50":{"start":{"line":112,"column":6},"end":{"line":112,"column":32}},"51":{"start":{"line":113,"column":6},"end":{"line":113,"column":20}},"52":{"start":{"line":116,"column":4},"end":{"line":121,"column":6}},"53":{"start":{"line":125,"column":4},"end":{"line":128,"column":5}},"54":{"start":{"line":126,"column":6},"end":{"line":126,"column":70}},"55":{"start":{"line":127,"column":6},"end":{"line":127,"column":39}},"56":{"start":{"line":134,"column":2},"end":{"line":134,"column":14}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":18,"column":2},"end":{"line":18,"column":3}},"loc":{"start":{"line":18,"column":21},"end":{"line":21,"column":3}},"line":18},"1":{"name":"(anonymous_1)","decl":{"start":{"line":23,"column":2},"end":{"line":23,"column":3}},"loc":{"start":{"line":23,"column":11},"end":{"line":44,"column":3}},"line":23},"2":{"name":"(anonymous_2)","decl":{"start":{"line":24,"column":69},"end":{"line":24,"column":70}},"loc":{"start":{"line":24,"column":78},"end":{"line":30,"column":5}},"line":24},"3":{"name":"(anonymous_3)","decl":{"start":{"line":46,"column":2},"end":{"line":46,"column":3}},"loc":{"start":{"line":46,"column":23},"end":{"line":51,"column":3}},"line":46},"4":{"name":"(anonymous_4)","decl":{"start":{"line":53,"column":2},"end":{"line":53,"column":3}},"loc":{"start":{"line":53,"column":25},"end":{"line":55,"column":3}},"line":53},"5":{"name":"(anonymous_5)","decl":{"start":{"line":57,"column":2},"end":{"line":57,"column":3}},"loc":{"start":{"line":57,"column":21},"end":{"line":122,"column":3}},"line":57},"6":{"name":"(anonymous_6)","decl":{"start":{"line":81,"column":63},"end":{"line":81,"column":64}},"loc":{"start":{"line":81,"column":83},"end":{"line":102,"column":7}},"line":81},"7":{"name":"(anonymous_7)","decl":{"start":{"line":84,"column":15},"end":{"line":84,"column":16}},"loc":{"start":{"line":84,"column":27},"end":{"line":100,"column":11}},"line":84},"8":{"name":"(anonymous_8)","decl":{"start":{"line":124,"column":16},"end":{"line":124,"column":17}},"loc":{"start":{"line":124,"column":22},"end":{"line":129,"column":3}},"line":124},"9":{"name":"resetCounter","decl":{"start":{"line":133,"column":16},"end":{"line":133,"column":28}},"loc":{"start":{"line":133,"column":31},"end":{"line":135,"column":1}},"line":133}},"branchMap":{"0":{"loc":{"start":{"line":25,"column":6},"end":{"line":29,"column":7}},"type":"if","locations":[{"start":{"line":25,"column":6},"end":{"line":29,"column":7}},{"start":{"line":25,"column":6},"end":{"line":29,"column":7}}],"line":25},"1":{"loc":{"start":{"line":32,"column":4},"end":{"line":43,"column":5}},"type":"if","locations":[{"start":{"line":32,"column":4},"end":{"line":43,"column":5}},{"start":{"line":32,"column":4},"end":{"line":43,"column":5}}],"line":32},"2":{"loc":{"start":{"line":36,"column":6},"end":{"line":42,"column":7}},"type":"if","locations":[{"start":{"line":36,"column":6},"end":{"line":42,"column":7}},{"start":{"line":36,"column":6},"end":{"line":42,"column":7}}],"line":36},"3":{"loc":{"start":{"line":38,"column":13},"end":{"line":42,"column":7}},"type":"if","locations":[{"start":{"line":38,"column":13},"end":{"line":42,"column":7}},{"start":{"line":38,"column":13},"end":{"line":42,"column":7}}],"line":38},"4":{"loc":{"start":{"line":47,"column":4},"end":{"line":50,"column":5}},"type":"if","locations":[{"start":{"line":47,"column":4},"end":{"line":50,"column":5}},{"start":{"line":47,"column":4},"end":{"line":50,"column":5}}],"line":47},"5":{"loc":{"start":{"line":58,"column":4},"end":{"line":60,"column":5}},"type":"if","locations":[{"start":{"line":58,"column":4},"end":{"line":60,"column":5}},{"start":{"line":58,"column":4},"end":{"line":60,"column":5}}],"line":58},"6":{"loc":{"start":{"line":62,"column":4},"end":{"line":64,"column":5}},"type":"if","locations":[{"start":{"line":62,"column":4},"end":{"line":64,"column":5}},{"start":{"line":62,"column":4},"end":{"line":64,"column":5}}],"line":62},"7":{"loc":{"start":{"line":69,"column":4},"end":{"line":114,"column":5}},"type":"if","locations":[{"start":{"line":69,"column":4},"end":{"line":114,"column":5}},{"start":{"line":69,"column":4},"end":{"line":114,"column":5}}],"line":69},"8":{"loc":{"start":{"line":76,"column":33},"end":{"line":76,"column":75}},"type":"binary-expr","locations":[{"start":{"line":76,"column":33},"end":{"line":76,"column":48}},{"start":{"line":76,"column":52},"end":{"line":76,"column":75}}],"line":76},"9":{"loc":{"start":{"line":88,"column":12},"end":{"line":88,"column":86}},"type":"if","locations":[{"start":{"line":88,"column":12},"end":{"line":88,"column":86}},{"start":{"line":88,"column":12},"end":{"line":88,"column":86}}],"line":88},"10":{"loc":{"start":{"line":93,"column":12},"end":{"line":95,"column":13}},"type":"if","locations":[{"start":{"line":93,"column":12},"end":{"line":95,"column":13}},{"start":{"line":93,"column":12},"end":{"line":95,"column":13}}],"line":93},"11":{"loc":{"start":{"line":97,"column":19},"end":{"line":99,"column":81}},"type":"cond-expr","locations":[{"start":{"line":98,"column":16},"end":{"line":98,"column":81}},{"start":{"line":99,"column":16},"end":{"line":99,"column":81}}],"line":97},"12":{"loc":{"start":{"line":125,"column":4},"end":{"line":128,"column":5}},"type":"if","locations":[{"start":{"line":125,"column":4},"end":{"line":128,"column":5}},{"start":{"line":125,"column":4},"end":{"line":128,"column":5}}],"line":125},"13":{"loc":{"start":{"line":125,"column":8},"end":{"line":125,"column":68}},"type":"binary-expr","locations":[{"start":{"line":125,"column":8},"end":{"line":125,"column":27}},{"start":{"line":125,"column":31},"end":{"line":125,"column":68}}],"line":125}},"s":{"0":1,"1":1,"2":1,"3":13,"4":13,"5":13,"6":13,"7":12,"8":1,"9":13,"10":13,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":13,"20":13,"21":0,"22":13,"23":1,"24":13,"25":13,"26":1,"27":1,"28":1,"29":1,"30":12,"31":12,"32":12,"33":12,"34":12,"35":17,"36":17,"37":1,"38":16,"39":16,"40":16,"41":1,"42":16,"43":12,"44":12,"45":12,"46":12,"47":12,"48":12,"49":12,"50":12,"51":12,"52":13,"53":13,"54":12,"55":12,"56":12},"f":{"0":13,"1":13,"2":13,"3":0,"4":13,"5":13,"6":12,"7":17,"8":13,"9":12},"b":{"0":[12,1],"1":[13,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,13],"6":[1,12],"7":[1,12],"8":[12,10],"9":[1,16],"10":[1,15],"11":[15,1],"12":[12,1],"13":[13,13]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"8d930223b655f51d536ce4baa87bf7f66c19b624","l":{"5":1,"6":1,"8":1,"19":13,"20":13,"24":13,"25":13,"26":12,"28":1,"32":13,"33":13,"36":0,"37":0,"38":0,"39":0,"41":0,"47":0,"48":0,"49":0,"54":13,"58":13,"59":0,"62":13,"63":1,"67":13,"69":13,"70":1,"71":1,"72":1,"73":1,"76":12,"77":12,"80":12,"81":12,"82":12,"85":17,"88":17,"90":16,"92":16,"93":16,"94":1,"97":16,"105":12,"106":12,"107":12,"108":12,"109":12,"110":12,"111":12,"112":12,"113":12,"116":13,"125":13,"126":12,"127":12,"134":12}}}

@@ -118,4 +118,5 @@ 'use strict';

if (props.css.indexOf('&') < 0 && props.css.trim().length > 0) {
console.warn('Kremling\'s <Scoped css="..."> css prop should have the \'&\' character in it to scope the css classes');
if (props.css.indexOf("&") < 0 && props.css.trim().length > 0) {
var firstRule = props.css.substring(0, props.css.indexOf("{")).trim();
console.warn('Kremling\'s <Scoped css="..."> css prop should have the \'&\' character in it to scope the css classes: ' + firstRule);
}

@@ -122,0 +123,0 @@

{
"name": "kremling",
"version": "1.0.1",
"version": "1.0.2",
"description": "Embarrassingly simple css for React",

@@ -5,0 +5,0 @@ "main": "lib/kremling.js",

@@ -84,4 +84,7 @@ import React from 'react';

if (props.css.indexOf('&') < 0 && props.css.trim().length > 0) {
console.warn(`Kremling's <Scoped css="..."> css prop should have the '&' character in it to scope the css classes`);
if (props.css.indexOf("&") < 0 && props.css.trim().length > 0) {
const firstRule = props.css.substring(0, props.css.indexOf("{")).trim();
console.warn(
`Kremling's <Scoped css="..."> css prop should have the '&' character in it to scope the css classes: ${firstRule}`
);
}

@@ -88,0 +91,0 @@

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