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

react-document-meta

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-document-meta - npm Package Compare versions

Comparing version 3.0.0-beta.3 to 3.0.0-beta.4

lib/__tests__/__snapshots__/server.basic.test.js.snap

8

coverage/coverage-final.json

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

{"/Users/danieljuhl/Projects/open-source/react-document-meta/lib/dom.js": {"path":"/Users/danieljuhl/Projects/open-source/react-document-meta/lib/dom.js","statementMap":{"0":{"start":{"line":3,"column":25},"end":{"line":7,"column":1}},"1":{"start":{"line":10,"column":2},"end":{"line":10,"column":36}},"2":{"start":{"line":14,"column":2},"end":{"line":14,"column":68}},"3":{"start":{"line":18,"column":31},"end":{"line":18,"column":36}},"4":{"start":{"line":20,"column":16},"end":{"line":20,"column":47}},"5":{"start":{"line":21,"column":2},"end":{"line":25,"column":3}},"6":{"start":{"line":22,"column":4},"end":{"line":24,"column":5}},"7":{"start":{"line":23,"column":6},"end":{"line":23,"column":46}},"8":{"start":{"line":26,"column":2},"end":{"line":26,"column":39}},"9":{"start":{"line":27,"column":2},"end":{"line":27,"column":64}},"10":{"start":{"line":31,"column":2},"end":{"line":31,"column":23}},"11":{"start":{"line":33,"column":2},"end":{"line":33,"column":41}}},"fnMap":{"0":{"name":"removeNode","decl":{"start":{"line":9,"column":9},"end":{"line":9,"column":19}},"loc":{"start":{"line":9,"column":26},"end":{"line":11,"column":1}},"line":9},"1":{"name":"removeDocumentMeta","decl":{"start":{"line":13,"column":16},"end":{"line":13,"column":34}},"loc":{"start":{"line":13,"column":37},"end":{"line":15,"column":1}},"line":13},"2":{"name":"insertDocumentMetaNode","decl":{"start":{"line":17,"column":9},"end":{"line":17,"column":31}},"loc":{"start":{"line":17,"column":39},"end":{"line":28,"column":1}},"line":17},"3":{"name":"insertDocumentMeta","decl":{"start":{"line":30,"column":16},"end":{"line":30,"column":34}},"loc":{"start":{"line":30,"column":42},"end":{"line":34,"column":1}},"line":30}},"branchMap":{"0":{"loc":{"start":{"line":4,"column":2},"end":{"line":6,"column":31}},"type":"binary-expr","locations":[{"start":{"line":4,"column":2},"end":{"line":4,"column":31}},{"start":{"line":5,"column":2},"end":{"line":5,"column":17}},{"start":{"line":6,"column":2},"end":{"line":6,"column":31}}],"line":4},"1":{"loc":{"start":{"line":22,"column":4},"end":{"line":24,"column":5}},"type":"if","locations":[{"start":{"line":22,"column":4},"end":{"line":24,"column":5}},{"start":{"line":22,"column":4},"end":{"line":24,"column":5}}],"line":22}},"s":{"0":4,"1":127,"2":54,"3":145,"4":145,"5":145,"6":263,"7":263,"8":145,"9":145,"10":35,"11":35},"f":{"0":127,"1":54,"2":145,"3":35},"b":{"0":[4,4,4],"1":[263,0]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"393bffa3646272531511d8bddfb13e2d4162e114"}
,"/Users/danieljuhl/Projects/open-source/react-document-meta/lib/index.js": {"path":"/Users/danieljuhl/Projects/open-source/react-document-meta/lib/index.js","statementMap":{"0":{"start":{"line":10,"column":16},"end":{"line":10,"column":18}},"1":{"start":{"line":11,"column":23},"end":{"line":15,"column":3}},"2":{"start":{"line":17,"column":15},"end":{"line":17,"column":19}},"3":{"start":{"line":18,"column":2},"end":{"line":34,"column":3}},"4":{"start":{"line":19,"column":4},"end":{"line":19,"column":51}},"5":{"start":{"line":21,"column":19},"end":{"line":21,"column":31}},"6":{"start":{"line":22,"column":20},"end":{"line":22,"column":39}},"7":{"start":{"line":23,"column":4},"end":{"line":31,"column":7}},"8":{"start":{"line":24,"column":6},"end":{"line":30,"column":7}},"9":{"start":{"line":25,"column":8},"end":{"line":29,"column":9}},"10":{"start":{"line":26,"column":10},"end":{"line":26,"column":61}},"11":{"start":{"line":27,"column":15},"end":{"line":29,"column":9}},"12":{"start":{"line":28,"column":10},"end":{"line":28,"column":42}},"13":{"start":{"line":33,"column":4},"end":{"line":33,"column":29}},"14":{"start":{"line":36,"column":2},"end":{"line":38,"column":3}},"15":{"start":{"line":37,"column":4},"end":{"line":37,"column":37}},"16":{"start":{"line":39,"column":2},"end":{"line":43,"column":3}},"17":{"start":{"line":40,"column":4},"end":{"line":42,"column":7}},"18":{"start":{"line":44,"column":2},"end":{"line":46,"column":3}},"19":{"start":{"line":45,"column":4},"end":{"line":45,"column":78}},"20":{"start":{"line":48,"column":2},"end":{"line":50,"column":3}},"21":{"start":{"line":49,"column":4},"end":{"line":49,"column":18}},"22":{"start":{"line":52,"column":2},"end":{"line":52,"column":15}},"23":{"start":{"line":56,"column":2},"end":{"line":61,"column":3}},"24":{"start":{"line":57,"column":4},"end":{"line":59,"column":5}},"25":{"start":{"line":58,"column":6},"end":{"line":58,"column":35}},"26":{"start":{"line":60,"column":4},"end":{"line":60,"column":39}},"27":{"start":{"line":65,"column":2},"end":{"line":67,"column":3}},"28":{"start":{"line":66,"column":4},"end":{"line":66,"column":16}},"29":{"start":{"line":68,"column":2},"end":{"line":70,"column":3}},"30":{"start":{"line":69,"column":4},"end":{"line":69,"column":25}},"31":{"start":{"line":72,"column":16},"end":{"line":72,"column":31}},"32":{"start":{"line":73,"column":2},"end":{"line":83,"column":3}},"33":{"start":{"line":74,"column":4},"end":{"line":76,"column":5}},"34":{"start":{"line":75,"column":6},"end":{"line":75,"column":34}},"35":{"start":{"line":77,"column":4},"end":{"line":79,"column":5}},"36":{"start":{"line":78,"column":6},"end":{"line":78,"column":46}},"37":{"start":{"line":80,"column":4},"end":{"line":82,"column":5}},"38":{"start":{"line":81,"column":6},"end":{"line":81,"column":36}},"39":{"start":{"line":84,"column":2},"end":{"line":84,"column":11}},"40":{"start":{"line":88,"column":15},"end":{"line":88,"column":17}},"41":{"start":{"line":89,"column":21},"end":{"line":89,"column":60}},"42":{"start":{"line":90,"column":2},"end":{"line":111,"column":5}},"43":{"start":{"line":91,"column":18},"end":{"line":91,"column":33}},"44":{"start":{"line":92,"column":4},"end":{"line":98,"column":5}},"45":{"start":{"line":93,"column":6},"end":{"line":96,"column":9}},"46":{"start":{"line":97,"column":6},"end":{"line":97,"column":13}},"47":{"start":{"line":99,"column":4},"end":{"line":110,"column":7}},"48":{"start":{"line":100,"column":21},"end":{"line":100,"column":74}},"49":{"start":{"line":101,"column":6},"end":{"line":109,"column":9}},"50":{"start":{"line":102,"column":8},"end":{"line":108,"column":9}},"51":{"start":{"line":103,"column":10},"end":{"line":107,"column":13}},"52":{"start":{"line":112,"column":2},"end":{"line":112,"column":14}},"53":{"start":{"line":116,"column":2},"end":{"line":120,"column":4}},"54":{"start":{"line":124,"column":10},"end":{"line":124,"column":11}},"55":{"start":{"line":125,"column":15},"end":{"line":125,"column":17}},"56":{"start":{"line":128,"column":33},"end":{"line":128,"column":38}},"57":{"start":{"line":130,"column":4},"end":{"line":132,"column":5}},"58":{"start":{"line":131,"column":6},"end":{"line":131,"column":51}},"59":{"start":{"line":133,"column":4},"end":{"line":135,"column":5}},"60":{"start":{"line":134,"column":6},"end":{"line":134,"column":51}},"61":{"start":{"line":136,"column":4},"end":{"line":136,"column":16}},"62":{"start":{"line":139,"column":2},"end":{"line":141,"column":3}},"63":{"start":{"line":140,"column":4},"end":{"line":140,"column":53}},"64":{"start":{"line":143,"column":2},"end":{"line":146,"column":11}},"65":{"start":{"line":144,"column":4},"end":{"line":144,"column":31}},"66":{"start":{"line":145,"column":4},"end":{"line":145,"column":15}},"67":{"start":{"line":178,"column":25},"end":{"line":178,"column":35}},"68":{"start":{"line":179,"column":18},"end":{"line":179,"column":48}},"69":{"start":{"line":180,"column":4},"end":{"line":184,"column":13}},"70":{"start":{"line":188,"column":35},"end":{"line":191,"column":15}},"71":{"start":{"line":193,"column":0},"end":{"line":195,"column":2}},"72":{"start":{"line":194,"column":2},"end":{"line":194,"column":53}}},"fnMap":{"0":{"name":"reducePropsTostate","decl":{"start":{"line":9,"column":9},"end":{"line":9,"column":27}},"loc":{"start":{"line":9,"column":39},"end":{"line":53,"column":1}},"line":9},"1":{"name":"(anonymous_1)","decl":{"start":{"line":23,"column":50},"end":{"line":23,"column":51}},"loc":{"start":{"line":23,"column":57},"end":{"line":31,"column":5}},"line":23},"2":{"name":"handleStateChangeOnClient","decl":{"start":{"line":55,"column":9},"end":{"line":55,"column":34}},"loc":{"start":{"line":55,"column":42},"end":{"line":62,"column":1}},"line":55},"3":{"name":"ograph","decl":{"start":{"line":64,"column":9},"end":{"line":64,"column":15}},"loc":{"start":{"line":64,"column":19},"end":{"line":85,"column":1}},"line":64},"4":{"name":"parseTags","decl":{"start":{"line":87,"column":9},"end":{"line":87,"column":18}},"loc":{"start":{"line":87,"column":40},"end":{"line":113,"column":1}},"line":87},"5":{"name":"(anonymous_5)","decl":{"start":{"line":90,"column":29},"end":{"line":90,"column":30}},"loc":{"start":{"line":90,"column":41},"end":{"line":111,"column":3}},"line":90},"6":{"name":"(anonymous_6)","decl":{"start":{"line":99,"column":31},"end":{"line":99,"column":32}},"loc":{"start":{"line":99,"column":38},"end":{"line":110,"column":5}},"line":99},"7":{"name":"(anonymous_7)","decl":{"start":{"line":101,"column":21},"end":{"line":101,"column":22}},"loc":{"start":{"line":101,"column":30},"end":{"line":109,"column":7}},"line":101},"8":{"name":"getTags","decl":{"start":{"line":115,"column":9},"end":{"line":115,"column":16}},"loc":{"start":{"line":115,"column":25},"end":{"line":121,"column":1}},"line":115},"9":{"name":"render","decl":{"start":{"line":123,"column":16},"end":{"line":123,"column":22}},"loc":{"start":{"line":123,"column":34},"end":{"line":147,"column":1}},"line":123},"10":{"name":"renderTag","decl":{"start":{"line":127,"column":11},"end":{"line":127,"column":20}},"loc":{"start":{"line":127,"column":28},"end":{"line":137,"column":3}},"line":127},"11":{"name":"(anonymous_11)","decl":{"start":{"line":143,"column":30},"end":{"line":143,"column":31}},"loc":{"start":{"line":143,"column":46},"end":{"line":146,"column":3}},"line":143},"12":{"name":"(anonymous_12)","decl":{"start":{"line":177,"column":2},"end":{"line":177,"column":3}},"loc":{"start":{"line":177,"column":11},"end":{"line":185,"column":3}},"line":177},"13":{"name":"rewindAsReact","decl":{"start":{"line":193,"column":52},"end":{"line":193,"column":65}},"loc":{"start":{"line":193,"column":68},"end":{"line":195,"column":1}},"line":193}},"branchMap":{"0":{"loc":{"start":{"line":18,"column":37},"end":{"line":18,"column":53}},"type":"binary-expr","locations":[{"start":{"line":18,"column":37},"end":{"line":18,"column":43}},{"start":{"line":18,"column":47},"end":{"line":18,"column":53}}],"line":18},"1":{"loc":{"start":{"line":24,"column":6},"end":{"line":30,"column":7}},"type":"if","locations":[{"start":{"line":24,"column":6},"end":{"line":30,"column":7}},{"start":{"line":24,"column":6},"end":{"line":30,"column":7}}],"line":24},"2":{"loc":{"start":{"line":25,"column":8},"end":{"line":29,"column":9}},"type":"if","locations":[{"start":{"line":25,"column":8},"end":{"line":29,"column":9}},{"start":{"line":25,"column":8},"end":{"line":29,"column":9}}],"line":25},"3":{"loc":{"start":{"line":27,"column":15},"end":{"line":29,"column":9}},"type":"if","locations":[{"start":{"line":27,"column":15},"end":{"line":29,"column":9}},{"start":{"line":27,"column":15},"end":{"line":29,"column":9}}],"line":27},"4":{"loc":{"start":{"line":36,"column":2},"end":{"line":38,"column":3}},"type":"if","locations":[{"start":{"line":36,"column":2},"end":{"line":38,"column":3}},{"start":{"line":36,"column":2},"end":{"line":38,"column":3}}],"line":36},"5":{"loc":{"start":{"line":39,"column":2},"end":{"line":43,"column":3}},"type":"if","locations":[{"start":{"line":39,"column":2},"end":{"line":43,"column":3}},{"start":{"line":39,"column":2},"end":{"line":43,"column":3}}],"line":39},"6":{"loc":{"start":{"line":44,"column":2},"end":{"line":46,"column":3}},"type":"if","locations":[{"start":{"line":44,"column":2},"end":{"line":46,"column":3}},{"start":{"line":44,"column":2},"end":{"line":46,"column":3}}],"line":44},"7":{"loc":{"start":{"line":48,"column":2},"end":{"line":50,"column":3}},"type":"if","locations":[{"start":{"line":48,"column":2},"end":{"line":50,"column":3}},{"start":{"line":48,"column":2},"end":{"line":50,"column":3}}],"line":48},"8":{"loc":{"start":{"line":48,"column":6},"end":{"line":48,"column":37}},"type":"binary-expr","locations":[{"start":{"line":48,"column":6},"end":{"line":48,"column":16}},{"start":{"line":48,"column":20},"end":{"line":48,"column":37}}],"line":48},"9":{"loc":{"start":{"line":56,"column":2},"end":{"line":61,"column":3}},"type":"if","locations":[{"start":{"line":56,"column":2},"end":{"line":61,"column":3}},{"start":{"line":56,"column":2},"end":{"line":61,"column":3}}],"line":56},"10":{"loc":{"start":{"line":57,"column":4},"end":{"line":59,"column":5}},"type":"if","locations":[{"start":{"line":57,"column":4},"end":{"line":59,"column":5}},{"start":{"line":57,"column":4},"end":{"line":59,"column":5}}],"line":57},"11":{"loc":{"start":{"line":65,"column":2},"end":{"line":67,"column":3}},"type":"if","locations":[{"start":{"line":65,"column":2},"end":{"line":67,"column":3}},{"start":{"line":65,"column":2},"end":{"line":67,"column":3}}],"line":65},"12":{"loc":{"start":{"line":68,"column":2},"end":{"line":70,"column":3}},"type":"if","locations":[{"start":{"line":68,"column":2},"end":{"line":70,"column":3}},{"start":{"line":68,"column":2},"end":{"line":70,"column":3}}],"line":68},"13":{"loc":{"start":{"line":73,"column":2},"end":{"line":83,"column":3}},"type":"if","locations":[{"start":{"line":73,"column":2},"end":{"line":83,"column":3}},{"start":{"line":73,"column":2},"end":{"line":83,"column":3}}],"line":73},"14":{"loc":{"start":{"line":74,"column":4},"end":{"line":76,"column":5}},"type":"if","locations":[{"start":{"line":74,"column":4},"end":{"line":76,"column":5}},{"start":{"line":74,"column":4},"end":{"line":76,"column":5}}],"line":74},"15":{"loc":{"start":{"line":74,"column":8},"end":{"line":74,"column":37}},"type":"binary-expr","locations":[{"start":{"line":74,"column":8},"end":{"line":74,"column":15}},{"start":{"line":74,"column":19},"end":{"line":74,"column":37}}],"line":74},"16":{"loc":{"start":{"line":77,"column":4},"end":{"line":79,"column":5}},"type":"if","locations":[{"start":{"line":77,"column":4},"end":{"line":79,"column":5}},{"start":{"line":77,"column":4},"end":{"line":79,"column":5}}],"line":77},"17":{"loc":{"start":{"line":77,"column":8},"end":{"line":77,"column":67}},"type":"binary-expr","locations":[{"start":{"line":77,"column":8},"end":{"line":77,"column":39}},{"start":{"line":77,"column":43},"end":{"line":77,"column":67}}],"line":77},"18":{"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},"19":{"loc":{"start":{"line":80,"column":8},"end":{"line":80,"column":57}},"type":"binary-expr","locations":[{"start":{"line":80,"column":8},"end":{"line":80,"column":37}},{"start":{"line":80,"column":41},"end":{"line":80,"column":57}}],"line":80},"20":{"loc":{"start":{"line":87,"column":28},"end":{"line":87,"column":38}},"type":"default-arg","locations":[{"start":{"line":87,"column":36},"end":{"line":87,"column":38}}],"line":87},"21":{"loc":{"start":{"line":89,"column":21},"end":{"line":89,"column":60}},"type":"cond-expr","locations":[{"start":{"line":89,"column":42},"end":{"line":89,"column":48}},{"start":{"line":89,"column":51},"end":{"line":89,"column":60}}],"line":89},"22":{"loc":{"start":{"line":92,"column":4},"end":{"line":98,"column":5}},"type":"if","locations":[{"start":{"line":92,"column":4},"end":{"line":98,"column":5}},{"start":{"line":92,"column":4},"end":{"line":98,"column":5}}],"line":92},"23":{"loc":{"start":{"line":100,"column":21},"end":{"line":100,"column":74}},"type":"cond-expr","locations":[{"start":{"line":100,"column":49},"end":{"line":100,"column":59}},{"start":{"line":100,"column":62},"end":{"line":100,"column":74}}],"line":100},"24":{"loc":{"start":{"line":102,"column":8},"end":{"line":108,"column":9}},"type":"if","locations":[{"start":{"line":102,"column":8},"end":{"line":108,"column":9}},{"start":{"line":102,"column":8},"end":{"line":108,"column":9}}],"line":102},"25":{"loc":{"start":{"line":117,"column":4},"end":{"line":117,"column":63}},"type":"cond-expr","locations":[{"start":{"line":117,"column":18},"end":{"line":117,"column":58}},{"start":{"line":117,"column":61},"end":{"line":117,"column":63}}],"line":117},"26":{"loc":{"start":{"line":123,"column":23},"end":{"line":123,"column":32}},"type":"default-arg","locations":[{"start":{"line":123,"column":30},"end":{"line":123,"column":32}}],"line":123},"27":{"loc":{"start":{"line":130,"column":4},"end":{"line":132,"column":5}},"type":"if","locations":[{"start":{"line":130,"column":4},"end":{"line":132,"column":5}},{"start":{"line":130,"column":4},"end":{"line":132,"column":5}}],"line":130},"28":{"loc":{"start":{"line":133,"column":4},"end":{"line":135,"column":5}},"type":"if","locations":[{"start":{"line":133,"column":4},"end":{"line":135,"column":5}},{"start":{"line":133,"column":4},"end":{"line":135,"column":5}}],"line":133},"29":{"loc":{"start":{"line":139,"column":2},"end":{"line":141,"column":3}},"type":"if","locations":[{"start":{"line":139,"column":2},"end":{"line":141,"column":3}},{"start":{"line":139,"column":2},"end":{"line":141,"column":3}}],"line":139},"30":{"loc":{"start":{"line":180,"column":11},"end":{"line":184,"column":12}},"type":"cond-expr","locations":[{"start":{"line":181,"column":6},"end":{"line":181,"column":35}},{"start":{"line":182,"column":8},"end":{"line":184,"column":12}}],"line":180},"31":{"loc":{"start":{"line":182,"column":8},"end":{"line":184,"column":12}},"type":"cond-expr","locations":[{"start":{"line":183,"column":6},"end":{"line":183,"column":38}},{"start":{"line":184,"column":8},"end":{"line":184,"column":12}}],"line":182}},"s":{"0":55,"1":55,"2":55,"3":55,"4":72,"5":72,"6":72,"7":72,"8":216,"9":153,"10":27,"11":126,"12":99,"13":72,"14":55,"15":50,"16":55,"17":20,"18":55,"19":29,"20":55,"21":1,"22":55,"23":35,"24":35,"25":30,"26":35,"27":1,"28":0,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":82,"41":82,"42":82,"43":80,"44":80,"45":20,"46":20,"47":60,"48":98,"49":98,"50":118,"51":118,"52":82,"53":41,"54":6,"55":6,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":6,"63":3,"64":6,"65":0,"66":0,"67":55,"68":55,"69":55,"70":4,"71":4,"72":2},"f":{"0":55,"1":216,"2":35,"3":1,"4":82,"5":80,"6":98,"7":118,"8":41,"9":6,"10":0,"11":0,"12":55,"13":2},"b":{"0":[127,72],"1":[153,63],"2":[27,126],"3":[99,27],"4":[50,5],"5":[20,35],"6":[29,26],"7":[1,54],"8":[55,1],"9":[35,0],"10":[30,5],"11":[0,1],"12":[1,0],"13":[1,0],"14":[1,0],"15":[1,1],"16":[1,0],"17":[1,1],"18":[1,0],"19":[1,1],"20":[23],"21":[41,41],"22":[20,60],"23":[20,78],"24":[118,0],"25":[7,34],"26":[3],"27":[0,0],"28":[0,0],"29":[3,3],"30":[22,33],"31":[1,32]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"d701a9cfd81e7fffa27e07b747f0ac076bffd94a"}
,"/Users/danieljuhl/Projects/open-source/react-document-meta/lib/server.js": {"path":"/Users/danieljuhl/Projects/open-source/react-document-meta/lib/server.js","statementMap":{"0":{"start":{"line":6,"column":15},"end":{"line":6,"column":44}},"1":{"start":{"line":8,"column":2},"end":{"line":10,"column":45}},"2":{"start":{"line":15,"column":0},"end":{"line":15,"column":57}},"3":{"start":{"line":16,"column":0},"end":{"line":16,"column":49}}},"fnMap":{"0":{"name":"rewindAsStaticMarkup","decl":{"start":{"line":5,"column":9},"end":{"line":5,"column":29}},"loc":{"start":{"line":5,"column":32},"end":{"line":11,"column":1}},"line":5}},"branchMap":{},"s":{"0":4,"1":4,"2":1,"3":1},"f":{"0":4},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"e9454cec16e7e50832089c7040c923d12e05bdb3"}
,"/Users/danieljuhl/Projects/open-source/react-document-meta/lib/utils.js": {"path":"/Users/danieljuhl/Projects/open-source/react-document-meta/lib/utils.js","statementMap":{"0":{"start":{"line":10,"column":2},"end":{"line":16,"column":3}},"1":{"start":{"line":11,"column":4},"end":{"line":13,"column":6}},"2":{"start":{"line":15,"column":4},"end":{"line":15,"column":14}},"3":{"start":{"line":20,"column":2},"end":{"line":32,"column":13}},"4":{"start":{"line":21,"column":4},"end":{"line":29,"column":5}},"5":{"start":{"line":22,"column":6},"end":{"line":22,"column":32}},"6":{"start":{"line":23,"column":11},"end":{"line":29,"column":5}},"7":{"start":{"line":28,"column":6},"end":{"line":28,"column":41}},"8":{"start":{"line":31,"column":4},"end":{"line":31,"column":18}},"9":{"start":{"line":38,"column":2},"end":{"line":40,"column":3}},"10":{"start":{"line":39,"column":4},"end":{"line":39,"column":50}}},"fnMap":{"0":{"name":"clone","decl":{"start":{"line":1,"column":16},"end":{"line":1,"column":21}},"loc":{"start":{"line":9,"column":3},"end":{"line":17,"column":1}},"line":9},"1":{"name":"defaults","decl":{"start":{"line":19,"column":16},"end":{"line":19,"column":24}},"loc":{"start":{"line":19,"column":41},"end":{"line":33,"column":1}},"line":19},"2":{"name":"(anonymous_2)","decl":{"start":{"line":20,"column":36},"end":{"line":20,"column":37}},"loc":{"start":{"line":20,"column":50},"end":{"line":32,"column":3}},"line":20},"3":{"name":"forEach","decl":{"start":{"line":37,"column":16},"end":{"line":37,"column":23}},"loc":{"start":{"line":37,"column":35},"end":{"line":41,"column":1}},"line":37}},"branchMap":{"0":{"loc":{"start":{"line":21,"column":4},"end":{"line":29,"column":5}},"type":"if","locations":[{"start":{"line":21,"column":4},"end":{"line":29,"column":5}},{"start":{"line":21,"column":4},"end":{"line":29,"column":5}}],"line":21},"1":{"loc":{"start":{"line":23,"column":11},"end":{"line":29,"column":5}},"type":"if","locations":[{"start":{"line":23,"column":11},"end":{"line":29,"column":5}},{"start":{"line":23,"column":11},"end":{"line":29,"column":5}}],"line":23},"2":{"loc":{"start":{"line":24,"column":6},"end":{"line":26,"column":17}},"type":"binary-expr","locations":[{"start":{"line":24,"column":6},"end":{"line":24,"column":37}},{"start":{"line":25,"column":6},"end":{"line":25,"column":33}},{"start":{"line":26,"column":6},"end":{"line":26,"column":17}}],"line":24},"3":{"loc":{"start":{"line":38,"column":2},"end":{"line":40,"column":3}},"type":"if","locations":[{"start":{"line":38,"column":2},"end":{"line":40,"column":3}},{"start":{"line":38,"column":2},"end":{"line":40,"column":3}}],"line":38},"4":{"loc":{"start":{"line":38,"column":6},"end":{"line":38,"column":27}},"type":"binary-expr","locations":[{"start":{"line":38,"column":6},"end":{"line":38,"column":11}},{"start":{"line":38,"column":15},"end":{"line":38,"column":27}}],"line":38}},"s":{"0":72,"1":72,"2":0,"3":217,"4":343,"5":214,"6":129,"7":96,"8":343,"9":89,"10":63},"f":{"0":72,"1":217,"2":343,"3":89},"b":{"0":[214,129],"1":[96,33],"2":[129,102,102],"3":[63,26],"4":[89,89]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"fe6954a2f31dddc777ae956beae2795936ebddc0"}
{"/Users/danieljuhl/Projects/open-source/react-document-meta/lib/dom.js": {"path":"/Users/danieljuhl/Projects/open-source/react-document-meta/lib/dom.js","statementMap":{"0":{"start":{"line":3,"column":25},"end":{"line":7,"column":1}},"1":{"start":{"line":10,"column":2},"end":{"line":10,"column":36}},"2":{"start":{"line":14,"column":2},"end":{"line":14,"column":68}},"3":{"start":{"line":18,"column":31},"end":{"line":18,"column":36}},"4":{"start":{"line":20,"column":16},"end":{"line":20,"column":47}},"5":{"start":{"line":21,"column":2},"end":{"line":25,"column":3}},"6":{"start":{"line":22,"column":4},"end":{"line":24,"column":5}},"7":{"start":{"line":23,"column":6},"end":{"line":23,"column":46}},"8":{"start":{"line":26,"column":2},"end":{"line":26,"column":39}},"9":{"start":{"line":27,"column":2},"end":{"line":27,"column":64}},"10":{"start":{"line":31,"column":2},"end":{"line":31,"column":23}},"11":{"start":{"line":33,"column":2},"end":{"line":33,"column":41}}},"fnMap":{"0":{"name":"removeNode","decl":{"start":{"line":9,"column":9},"end":{"line":9,"column":19}},"loc":{"start":{"line":9,"column":26},"end":{"line":11,"column":1}},"line":9},"1":{"name":"removeDocumentMeta","decl":{"start":{"line":13,"column":16},"end":{"line":13,"column":34}},"loc":{"start":{"line":13,"column":37},"end":{"line":15,"column":1}},"line":13},"2":{"name":"insertDocumentMetaNode","decl":{"start":{"line":17,"column":9},"end":{"line":17,"column":31}},"loc":{"start":{"line":17,"column":39},"end":{"line":28,"column":1}},"line":17},"3":{"name":"insertDocumentMeta","decl":{"start":{"line":30,"column":16},"end":{"line":30,"column":34}},"loc":{"start":{"line":30,"column":42},"end":{"line":34,"column":1}},"line":30}},"branchMap":{"0":{"loc":{"start":{"line":4,"column":2},"end":{"line":6,"column":31}},"type":"binary-expr","locations":[{"start":{"line":4,"column":2},"end":{"line":4,"column":31}},{"start":{"line":5,"column":2},"end":{"line":5,"column":17}},{"start":{"line":6,"column":2},"end":{"line":6,"column":31}}],"line":4},"1":{"loc":{"start":{"line":22,"column":4},"end":{"line":24,"column":5}},"type":"if","locations":[{"start":{"line":22,"column":4},"end":{"line":24,"column":5}},{"start":{"line":22,"column":4},"end":{"line":24,"column":5}}],"line":22}},"s":{"0":5,"1":127,"2":54,"3":145,"4":145,"5":145,"6":263,"7":263,"8":145,"9":145,"10":35,"11":35},"f":{"0":127,"1":54,"2":145,"3":35},"b":{"0":[5,5,5],"1":[263,0]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"393bffa3646272531511d8bddfb13e2d4162e114"}
,"/Users/danieljuhl/Projects/open-source/react-document-meta/lib/index.js": {"path":"/Users/danieljuhl/Projects/open-source/react-document-meta/lib/index.js","statementMap":{"0":{"start":{"line":10,"column":16},"end":{"line":10,"column":18}},"1":{"start":{"line":11,"column":23},"end":{"line":15,"column":3}},"2":{"start":{"line":17,"column":15},"end":{"line":17,"column":19}},"3":{"start":{"line":18,"column":2},"end":{"line":34,"column":3}},"4":{"start":{"line":19,"column":4},"end":{"line":19,"column":51}},"5":{"start":{"line":21,"column":19},"end":{"line":21,"column":31}},"6":{"start":{"line":22,"column":20},"end":{"line":22,"column":39}},"7":{"start":{"line":23,"column":4},"end":{"line":31,"column":7}},"8":{"start":{"line":24,"column":6},"end":{"line":30,"column":7}},"9":{"start":{"line":25,"column":8},"end":{"line":29,"column":9}},"10":{"start":{"line":26,"column":10},"end":{"line":26,"column":61}},"11":{"start":{"line":27,"column":15},"end":{"line":29,"column":9}},"12":{"start":{"line":28,"column":10},"end":{"line":28,"column":42}},"13":{"start":{"line":33,"column":4},"end":{"line":33,"column":29}},"14":{"start":{"line":36,"column":2},"end":{"line":38,"column":3}},"15":{"start":{"line":37,"column":4},"end":{"line":37,"column":37}},"16":{"start":{"line":39,"column":2},"end":{"line":43,"column":3}},"17":{"start":{"line":40,"column":4},"end":{"line":42,"column":7}},"18":{"start":{"line":44,"column":2},"end":{"line":46,"column":3}},"19":{"start":{"line":45,"column":4},"end":{"line":45,"column":78}},"20":{"start":{"line":48,"column":2},"end":{"line":50,"column":3}},"21":{"start":{"line":49,"column":4},"end":{"line":49,"column":18}},"22":{"start":{"line":52,"column":2},"end":{"line":58,"column":3}},"23":{"start":{"line":53,"column":33},"end":{"line":53,"column":43}},"24":{"start":{"line":54,"column":4},"end":{"line":57,"column":6}},"25":{"start":{"line":60,"column":2},"end":{"line":60,"column":15}},"26":{"start":{"line":64,"column":2},"end":{"line":69,"column":3}},"27":{"start":{"line":65,"column":4},"end":{"line":67,"column":5}},"28":{"start":{"line":66,"column":6},"end":{"line":66,"column":35}},"29":{"start":{"line":68,"column":4},"end":{"line":68,"column":39}},"30":{"start":{"line":73,"column":2},"end":{"line":75,"column":3}},"31":{"start":{"line":74,"column":4},"end":{"line":74,"column":16}},"32":{"start":{"line":76,"column":2},"end":{"line":78,"column":3}},"33":{"start":{"line":77,"column":4},"end":{"line":77,"column":25}},"34":{"start":{"line":80,"column":16},"end":{"line":80,"column":31}},"35":{"start":{"line":81,"column":2},"end":{"line":91,"column":3}},"36":{"start":{"line":82,"column":4},"end":{"line":84,"column":5}},"37":{"start":{"line":83,"column":6},"end":{"line":83,"column":34}},"38":{"start":{"line":85,"column":4},"end":{"line":87,"column":5}},"39":{"start":{"line":86,"column":6},"end":{"line":86,"column":46}},"40":{"start":{"line":88,"column":4},"end":{"line":90,"column":5}},"41":{"start":{"line":89,"column":6},"end":{"line":89,"column":36}},"42":{"start":{"line":92,"column":2},"end":{"line":92,"column":11}},"43":{"start":{"line":96,"column":15},"end":{"line":96,"column":17}},"44":{"start":{"line":97,"column":21},"end":{"line":97,"column":60}},"45":{"start":{"line":98,"column":2},"end":{"line":119,"column":5}},"46":{"start":{"line":99,"column":18},"end":{"line":99,"column":33}},"47":{"start":{"line":100,"column":4},"end":{"line":106,"column":5}},"48":{"start":{"line":101,"column":6},"end":{"line":104,"column":9}},"49":{"start":{"line":105,"column":6},"end":{"line":105,"column":13}},"50":{"start":{"line":107,"column":4},"end":{"line":118,"column":7}},"51":{"start":{"line":108,"column":21},"end":{"line":108,"column":74}},"52":{"start":{"line":109,"column":6},"end":{"line":117,"column":9}},"53":{"start":{"line":110,"column":8},"end":{"line":116,"column":9}},"54":{"start":{"line":111,"column":10},"end":{"line":115,"column":13}},"55":{"start":{"line":120,"column":2},"end":{"line":120,"column":14}},"56":{"start":{"line":124,"column":2},"end":{"line":128,"column":4}},"57":{"start":{"line":132,"column":10},"end":{"line":132,"column":11}},"58":{"start":{"line":133,"column":15},"end":{"line":133,"column":17}},"59":{"start":{"line":136,"column":33},"end":{"line":136,"column":38}},"60":{"start":{"line":138,"column":4},"end":{"line":144,"column":5}},"61":{"start":{"line":139,"column":6},"end":{"line":143,"column":9}},"62":{"start":{"line":145,"column":4},"end":{"line":145,"column":16}},"63":{"start":{"line":148,"column":2},"end":{"line":150,"column":3}},"64":{"start":{"line":149,"column":4},"end":{"line":149,"column":53}},"65":{"start":{"line":152,"column":2},"end":{"line":152,"column":51}},"66":{"start":{"line":184,"column":25},"end":{"line":184,"column":35}},"67":{"start":{"line":185,"column":18},"end":{"line":185,"column":48}},"68":{"start":{"line":186,"column":4},"end":{"line":190,"column":13}},"69":{"start":{"line":194,"column":35},"end":{"line":197,"column":15}},"70":{"start":{"line":199,"column":0},"end":{"line":201,"column":2}},"71":{"start":{"line":200,"column":2},"end":{"line":200,"column":53}}},"fnMap":{"0":{"name":"reducePropsTostate","decl":{"start":{"line":9,"column":9},"end":{"line":9,"column":27}},"loc":{"start":{"line":9,"column":39},"end":{"line":61,"column":1}},"line":9},"1":{"name":"(anonymous_1)","decl":{"start":{"line":23,"column":50},"end":{"line":23,"column":51}},"loc":{"start":{"line":23,"column":57},"end":{"line":31,"column":5}},"line":23},"2":{"name":"handleStateChangeOnClient","decl":{"start":{"line":63,"column":9},"end":{"line":63,"column":34}},"loc":{"start":{"line":63,"column":42},"end":{"line":70,"column":1}},"line":63},"3":{"name":"ograph","decl":{"start":{"line":72,"column":9},"end":{"line":72,"column":15}},"loc":{"start":{"line":72,"column":19},"end":{"line":93,"column":1}},"line":72},"4":{"name":"parseTags","decl":{"start":{"line":95,"column":9},"end":{"line":95,"column":18}},"loc":{"start":{"line":95,"column":40},"end":{"line":121,"column":1}},"line":95},"5":{"name":"(anonymous_5)","decl":{"start":{"line":98,"column":29},"end":{"line":98,"column":30}},"loc":{"start":{"line":98,"column":41},"end":{"line":119,"column":3}},"line":98},"6":{"name":"(anonymous_6)","decl":{"start":{"line":107,"column":31},"end":{"line":107,"column":32}},"loc":{"start":{"line":107,"column":38},"end":{"line":118,"column":5}},"line":107},"7":{"name":"(anonymous_7)","decl":{"start":{"line":109,"column":21},"end":{"line":109,"column":22}},"loc":{"start":{"line":109,"column":30},"end":{"line":117,"column":7}},"line":109},"8":{"name":"getTags","decl":{"start":{"line":123,"column":9},"end":{"line":123,"column":16}},"loc":{"start":{"line":123,"column":25},"end":{"line":129,"column":1}},"line":123},"9":{"name":"render","decl":{"start":{"line":131,"column":16},"end":{"line":131,"column":22}},"loc":{"start":{"line":131,"column":34},"end":{"line":153,"column":1}},"line":131},"10":{"name":"renderTag","decl":{"start":{"line":135,"column":11},"end":{"line":135,"column":20}},"loc":{"start":{"line":135,"column":28},"end":{"line":146,"column":3}},"line":135},"11":{"name":"(anonymous_11)","decl":{"start":{"line":183,"column":2},"end":{"line":183,"column":3}},"loc":{"start":{"line":183,"column":11},"end":{"line":191,"column":3}},"line":183},"12":{"name":"rewindAsReact","decl":{"start":{"line":199,"column":52},"end":{"line":199,"column":65}},"loc":{"start":{"line":199,"column":68},"end":{"line":201,"column":1}},"line":199}},"branchMap":{"0":{"loc":{"start":{"line":18,"column":37},"end":{"line":18,"column":53}},"type":"binary-expr","locations":[{"start":{"line":18,"column":37},"end":{"line":18,"column":43}},{"start":{"line":18,"column":47},"end":{"line":18,"column":53}}],"line":18},"1":{"loc":{"start":{"line":24,"column":6},"end":{"line":30,"column":7}},"type":"if","locations":[{"start":{"line":24,"column":6},"end":{"line":30,"column":7}},{"start":{"line":24,"column":6},"end":{"line":30,"column":7}}],"line":24},"2":{"loc":{"start":{"line":25,"column":8},"end":{"line":29,"column":9}},"type":"if","locations":[{"start":{"line":25,"column":8},"end":{"line":29,"column":9}},{"start":{"line":25,"column":8},"end":{"line":29,"column":9}}],"line":25},"3":{"loc":{"start":{"line":27,"column":15},"end":{"line":29,"column":9}},"type":"if","locations":[{"start":{"line":27,"column":15},"end":{"line":29,"column":9}},{"start":{"line":27,"column":15},"end":{"line":29,"column":9}}],"line":27},"4":{"loc":{"start":{"line":36,"column":2},"end":{"line":38,"column":3}},"type":"if","locations":[{"start":{"line":36,"column":2},"end":{"line":38,"column":3}},{"start":{"line":36,"column":2},"end":{"line":38,"column":3}}],"line":36},"5":{"loc":{"start":{"line":39,"column":2},"end":{"line":43,"column":3}},"type":"if","locations":[{"start":{"line":39,"column":2},"end":{"line":43,"column":3}},{"start":{"line":39,"column":2},"end":{"line":43,"column":3}}],"line":39},"6":{"loc":{"start":{"line":44,"column":2},"end":{"line":46,"column":3}},"type":"if","locations":[{"start":{"line":44,"column":2},"end":{"line":46,"column":3}},{"start":{"line":44,"column":2},"end":{"line":46,"column":3}}],"line":44},"7":{"loc":{"start":{"line":48,"column":2},"end":{"line":50,"column":3}},"type":"if","locations":[{"start":{"line":48,"column":2},"end":{"line":50,"column":3}},{"start":{"line":48,"column":2},"end":{"line":50,"column":3}}],"line":48},"8":{"loc":{"start":{"line":48,"column":6},"end":{"line":48,"column":37}},"type":"binary-expr","locations":[{"start":{"line":48,"column":6},"end":{"line":48,"column":16}},{"start":{"line":48,"column":20},"end":{"line":48,"column":37}}],"line":48},"9":{"loc":{"start":{"line":52,"column":2},"end":{"line":58,"column":3}},"type":"if","locations":[{"start":{"line":52,"column":2},"end":{"line":58,"column":3}},{"start":{"line":52,"column":2},"end":{"line":58,"column":3}}],"line":52},"10":{"loc":{"start":{"line":52,"column":6},"end":{"line":52,"column":61}},"type":"binary-expr","locations":[{"start":{"line":52,"column":6},"end":{"line":52,"column":16}},{"start":{"line":52,"column":20},"end":{"line":52,"column":38}},{"start":{"line":52,"column":42},"end":{"line":52,"column":61}}],"line":52},"11":{"loc":{"start":{"line":64,"column":2},"end":{"line":69,"column":3}},"type":"if","locations":[{"start":{"line":64,"column":2},"end":{"line":69,"column":3}},{"start":{"line":64,"column":2},"end":{"line":69,"column":3}}],"line":64},"12":{"loc":{"start":{"line":65,"column":4},"end":{"line":67,"column":5}},"type":"if","locations":[{"start":{"line":65,"column":4},"end":{"line":67,"column":5}},{"start":{"line":65,"column":4},"end":{"line":67,"column":5}}],"line":65},"13":{"loc":{"start":{"line":73,"column":2},"end":{"line":75,"column":3}},"type":"if","locations":[{"start":{"line":73,"column":2},"end":{"line":75,"column":3}},{"start":{"line":73,"column":2},"end":{"line":75,"column":3}}],"line":73},"14":{"loc":{"start":{"line":76,"column":2},"end":{"line":78,"column":3}},"type":"if","locations":[{"start":{"line":76,"column":2},"end":{"line":78,"column":3}},{"start":{"line":76,"column":2},"end":{"line":78,"column":3}}],"line":76},"15":{"loc":{"start":{"line":81,"column":2},"end":{"line":91,"column":3}},"type":"if","locations":[{"start":{"line":81,"column":2},"end":{"line":91,"column":3}},{"start":{"line":81,"column":2},"end":{"line":91,"column":3}}],"line":81},"16":{"loc":{"start":{"line":82,"column":4},"end":{"line":84,"column":5}},"type":"if","locations":[{"start":{"line":82,"column":4},"end":{"line":84,"column":5}},{"start":{"line":82,"column":4},"end":{"line":84,"column":5}}],"line":82},"17":{"loc":{"start":{"line":82,"column":8},"end":{"line":82,"column":37}},"type":"binary-expr","locations":[{"start":{"line":82,"column":8},"end":{"line":82,"column":15}},{"start":{"line":82,"column":19},"end":{"line":82,"column":37}}],"line":82},"18":{"loc":{"start":{"line":85,"column":4},"end":{"line":87,"column":5}},"type":"if","locations":[{"start":{"line":85,"column":4},"end":{"line":87,"column":5}},{"start":{"line":85,"column":4},"end":{"line":87,"column":5}}],"line":85},"19":{"loc":{"start":{"line":85,"column":8},"end":{"line":85,"column":67}},"type":"binary-expr","locations":[{"start":{"line":85,"column":8},"end":{"line":85,"column":39}},{"start":{"line":85,"column":43},"end":{"line":85,"column":67}}],"line":85},"20":{"loc":{"start":{"line":88,"column":4},"end":{"line":90,"column":5}},"type":"if","locations":[{"start":{"line":88,"column":4},"end":{"line":90,"column":5}},{"start":{"line":88,"column":4},"end":{"line":90,"column":5}}],"line":88},"21":{"loc":{"start":{"line":88,"column":8},"end":{"line":88,"column":57}},"type":"binary-expr","locations":[{"start":{"line":88,"column":8},"end":{"line":88,"column":37}},{"start":{"line":88,"column":41},"end":{"line":88,"column":57}}],"line":88},"22":{"loc":{"start":{"line":95,"column":28},"end":{"line":95,"column":38}},"type":"default-arg","locations":[{"start":{"line":95,"column":36},"end":{"line":95,"column":38}}],"line":95},"23":{"loc":{"start":{"line":97,"column":21},"end":{"line":97,"column":60}},"type":"cond-expr","locations":[{"start":{"line":97,"column":42},"end":{"line":97,"column":48}},{"start":{"line":97,"column":51},"end":{"line":97,"column":60}}],"line":97},"24":{"loc":{"start":{"line":100,"column":4},"end":{"line":106,"column":5}},"type":"if","locations":[{"start":{"line":100,"column":4},"end":{"line":106,"column":5}},{"start":{"line":100,"column":4},"end":{"line":106,"column":5}}],"line":100},"25":{"loc":{"start":{"line":108,"column":21},"end":{"line":108,"column":74}},"type":"cond-expr","locations":[{"start":{"line":108,"column":49},"end":{"line":108,"column":59}},{"start":{"line":108,"column":62},"end":{"line":108,"column":74}}],"line":108},"26":{"loc":{"start":{"line":110,"column":8},"end":{"line":116,"column":9}},"type":"if","locations":[{"start":{"line":110,"column":8},"end":{"line":116,"column":9}},{"start":{"line":110,"column":8},"end":{"line":116,"column":9}}],"line":110},"27":{"loc":{"start":{"line":125,"column":4},"end":{"line":125,"column":63}},"type":"cond-expr","locations":[{"start":{"line":125,"column":18},"end":{"line":125,"column":58}},{"start":{"line":125,"column":61},"end":{"line":125,"column":63}}],"line":125},"28":{"loc":{"start":{"line":131,"column":23},"end":{"line":131,"column":32}},"type":"default-arg","locations":[{"start":{"line":131,"column":30},"end":{"line":131,"column":32}}],"line":131},"29":{"loc":{"start":{"line":138,"column":4},"end":{"line":144,"column":5}},"type":"if","locations":[{"start":{"line":138,"column":4},"end":{"line":144,"column":5}},{"start":{"line":138,"column":4},"end":{"line":144,"column":5}}],"line":138},"30":{"loc":{"start":{"line":138,"column":8},"end":{"line":138,"column":70}},"type":"binary-expr","locations":[{"start":{"line":138,"column":8},"end":{"line":138,"column":26}},{"start":{"line":138,"column":30},"end":{"line":138,"column":48}},{"start":{"line":138,"column":52},"end":{"line":138,"column":70}}],"line":138},"31":{"loc":{"start":{"line":148,"column":2},"end":{"line":150,"column":3}},"type":"if","locations":[{"start":{"line":148,"column":2},"end":{"line":150,"column":3}},{"start":{"line":148,"column":2},"end":{"line":150,"column":3}}],"line":148},"32":{"loc":{"start":{"line":186,"column":11},"end":{"line":190,"column":12}},"type":"cond-expr","locations":[{"start":{"line":187,"column":6},"end":{"line":187,"column":35}},{"start":{"line":188,"column":8},"end":{"line":190,"column":12}}],"line":186},"33":{"loc":{"start":{"line":188,"column":8},"end":{"line":190,"column":12}},"type":"cond-expr","locations":[{"start":{"line":189,"column":6},"end":{"line":189,"column":38}},{"start":{"line":190,"column":8},"end":{"line":190,"column":12}}],"line":188}},"s":{"0":56,"1":56,"2":56,"3":56,"4":73,"5":73,"6":73,"7":73,"8":219,"9":156,"10":27,"11":129,"12":102,"13":73,"14":56,"15":51,"16":56,"17":21,"18":56,"19":30,"20":56,"21":1,"22":56,"23":21,"24":21,"25":56,"26":35,"27":35,"28":30,"29":35,"30":1,"31":0,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":84,"44":84,"45":84,"46":83,"47":83,"48":21,"49":21,"50":62,"51":102,"52":102,"53":123,"54":123,"55":84,"56":42,"57":7,"58":7,"59":7,"60":7,"61":7,"62":0,"63":7,"64":4,"65":7,"66":56,"67":56,"68":56,"69":5,"70":5,"71":2},"f":{"0":56,"1":219,"2":35,"3":1,"4":84,"5":83,"6":102,"7":123,"8":42,"9":7,"10":7,"11":56,"12":2},"b":{"0":[129,73],"1":[156,63],"2":[27,129],"3":[102,27],"4":[51,5],"5":[21,35],"6":[30,26],"7":[1,55],"8":[56,1],"9":[21,35],"10":[56,31,21],"11":[35,0],"12":[30,5],"13":[0,1],"14":[1,0],"15":[1,0],"16":[1,0],"17":[1,1],"18":[1,0],"19":[1,1],"20":[1,0],"21":[1,1],"22":[23],"23":[42,42],"24":[21,62],"25":[21,81],"26":[123,0],"27":[8,34],"28":[3],"29":[7,0],"30":[7,4,1],"31":[4,3],"32":[22,34],"33":[1,33]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"dd7627639a9d2ac15db655a76d843511b5d8c793"}
,"/Users/danieljuhl/Projects/open-source/react-document-meta/lib/server.js": {"path":"/Users/danieljuhl/Projects/open-source/react-document-meta/lib/server.js","statementMap":{"0":{"start":{"line":6,"column":15},"end":{"line":6,"column":44}},"1":{"start":{"line":8,"column":2},"end":{"line":10,"column":45}},"2":{"start":{"line":15,"column":0},"end":{"line":15,"column":57}},"3":{"start":{"line":16,"column":0},"end":{"line":16,"column":49}}},"fnMap":{"0":{"name":"rewindAsStaticMarkup","decl":{"start":{"line":5,"column":9},"end":{"line":5,"column":29}},"loc":{"start":{"line":5,"column":32},"end":{"line":11,"column":1}},"line":5}},"branchMap":{},"s":{"0":5,"1":5,"2":2,"3":2},"f":{"0":5},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"e9454cec16e7e50832089c7040c923d12e05bdb3"}
,"/Users/danieljuhl/Projects/open-source/react-document-meta/lib/utils.js": {"path":"/Users/danieljuhl/Projects/open-source/react-document-meta/lib/utils.js","statementMap":{"0":{"start":{"line":10,"column":2},"end":{"line":16,"column":3}},"1":{"start":{"line":11,"column":4},"end":{"line":13,"column":6}},"2":{"start":{"line":15,"column":4},"end":{"line":15,"column":14}},"3":{"start":{"line":20,"column":2},"end":{"line":32,"column":13}},"4":{"start":{"line":21,"column":4},"end":{"line":29,"column":5}},"5":{"start":{"line":22,"column":6},"end":{"line":22,"column":32}},"6":{"start":{"line":23,"column":11},"end":{"line":29,"column":5}},"7":{"start":{"line":28,"column":6},"end":{"line":28,"column":41}},"8":{"start":{"line":31,"column":4},"end":{"line":31,"column":18}},"9":{"start":{"line":38,"column":2},"end":{"line":40,"column":3}},"10":{"start":{"line":39,"column":4},"end":{"line":39,"column":50}}},"fnMap":{"0":{"name":"clone","decl":{"start":{"line":1,"column":16},"end":{"line":1,"column":21}},"loc":{"start":{"line":9,"column":3},"end":{"line":17,"column":1}},"line":9},"1":{"name":"defaults","decl":{"start":{"line":19,"column":16},"end":{"line":19,"column":24}},"loc":{"start":{"line":19,"column":41},"end":{"line":33,"column":1}},"line":19},"2":{"name":"(anonymous_2)","decl":{"start":{"line":20,"column":36},"end":{"line":20,"column":37}},"loc":{"start":{"line":20,"column":50},"end":{"line":32,"column":3}},"line":20},"3":{"name":"forEach","decl":{"start":{"line":37,"column":16},"end":{"line":37,"column":23}},"loc":{"start":{"line":37,"column":35},"end":{"line":41,"column":1}},"line":37}},"branchMap":{"0":{"loc":{"start":{"line":21,"column":4},"end":{"line":29,"column":5}},"type":"if","locations":[{"start":{"line":21,"column":4},"end":{"line":29,"column":5}},{"start":{"line":21,"column":4},"end":{"line":29,"column":5}}],"line":21},"1":{"loc":{"start":{"line":23,"column":11},"end":{"line":29,"column":5}},"type":"if","locations":[{"start":{"line":23,"column":11},"end":{"line":29,"column":5}},{"start":{"line":23,"column":11},"end":{"line":29,"column":5}}],"line":23},"2":{"loc":{"start":{"line":24,"column":6},"end":{"line":26,"column":17}},"type":"binary-expr","locations":[{"start":{"line":24,"column":6},"end":{"line":24,"column":37}},{"start":{"line":25,"column":6},"end":{"line":25,"column":33}},{"start":{"line":26,"column":6},"end":{"line":26,"column":17}}],"line":24},"3":{"loc":{"start":{"line":38,"column":2},"end":{"line":40,"column":3}},"type":"if","locations":[{"start":{"line":38,"column":2},"end":{"line":40,"column":3}},{"start":{"line":38,"column":2},"end":{"line":40,"column":3}}],"line":38},"4":{"loc":{"start":{"line":38,"column":6},"end":{"line":38,"column":27}},"type":"binary-expr","locations":[{"start":{"line":38,"column":6},"end":{"line":38,"column":11}},{"start":{"line":38,"column":15},"end":{"line":38,"column":27}}],"line":38}},"s":{"0":73,"1":73,"2":0,"3":224,"4":355,"5":222,"6":133,"7":100,"8":355,"9":89,"10":63},"f":{"0":73,"1":224,"2":355,"3":89},"b":{"0":[222,133],"1":[100,33],"2":[133,106,106],"3":[63,26],"4":[89,89]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"fe6954a2f31dddc777ae956beae2795936ebddc0"}
}

@@ -52,2 +52,10 @@ import React, { Component } from 'react';

if (props.meta && props.meta.charset && !props.meta.charSet) {
const { charset, ...meta } = props.meta;
props.meta = {
charSet: charset,
...meta
};
}
return props;

@@ -131,8 +139,9 @@ }

if (tagName === 'meta') {
return <meta {...attr} key={i++} data-rdm />;
if (tagName === 'meta' || tagName === 'link' || tagName === 'base') {
return React.createElement(tagName, {
...attr,
key: i++,
'data-rdm': true
});
}
if (tagName === 'link') {
return <link {...attr} key={i++} data-rdm />;
}
return null;

@@ -145,6 +154,3 @@ }

return getTags(meta).reduce((acc, entry) => {
acc.push(renderTag(entry));
return acc;
}, tags);
return tags.concat(getTags(meta).map(renderTag));
}

@@ -151,0 +157,0 @@

{
"name": "react-document-meta",
"version": "3.0.0-beta.3",
"version": "3.0.0-beta.4",
"description": "Declarative, nested and stateful HTML document meta tags for React",

@@ -39,3 +39,3 @@ "main": "./dist/index",

"express": "^4.15.2",
"jest": "^22.0.4",
"jest": "^22.4.2",
"jsdom": "^9.12.0",

@@ -53,4 +53,4 @@ "react": "^15.5.4",

"dependencies": {
"prop-types": "^15.5.8",
"react-side-effect": "^1.1.0"
"prop-types": "^15.6.1",
"react-side-effect": "^1.1.5"
},

@@ -57,0 +57,0 @@ "repository": "kodyl/react-document-meta",

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