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

react-dropzone

Package Overview
Dependencies
Maintainers
2
Versions
189
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-dropzone - npm Package Compare versions

Comparing version 3.12.1 to 3.12.2

2

coverage/coverage-final.json
{"/home/travis/build/okonet/react-dropzone/testSetup.js": {"path":"/home/travis/build/okonet/react-dropzone/testSetup.js","statementMap":{"0":{"start":{"line":3,"column":0},"end":{"line":7,"column":2}},"1":{"start":{"line":5,"column":4},"end":{"line":5,"column":32}}},"fnMap":{"0":{"name":"createObjectURL","decl":{"start":{"line":4,"column":28},"end":{"line":4,"column":43}},"loc":{"start":{"line":4,"column":49},"end":{"line":6,"column":3}}}},"branchMap":{},"s":{"0":2,"1":50},"f":{"0":50},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"661c05d8c942d2cf57f883e0eb2d89121472daf8"}
,"/home/travis/build/okonet/react-dropzone/src/getDataTransferItems.js": {"path":"/home/travis/build/okonet/react-dropzone/src/getDataTransferItems.js","statementMap":{"0":{"start":{"line":2,"column":30},"end":{"line":2,"column":32}},"1":{"start":{"line":3,"column":2},"end":{"line":14,"column":3}},"2":{"start":{"line":4,"column":15},"end":{"line":4,"column":33}},"3":{"start":{"line":5,"column":4},"end":{"line":11,"column":5}},"4":{"start":{"line":6,"column":6},"end":{"line":6,"column":39}},"5":{"start":{"line":7,"column":11},"end":{"line":11,"column":5}},"6":{"start":{"line":10,"column":6},"end":{"line":10,"column":39}},"7":{"start":{"line":12,"column":9},"end":{"line":14,"column":3}},"8":{"start":{"line":13,"column":4},"end":{"line":13,"column":47}},"9":{"start":{"line":16,"column":2},"end":{"line":18,"column":3}},"10":{"start":{"line":17,"column":4},"end":{"line":17,"column":99}},"11":{"start":{"line":21,"column":2},"end":{"line":21,"column":59}}},"fnMap":{"0":{"name":"getDataTransferFiles","decl":{"start":{"line":1,"column":24},"end":{"line":1,"column":44}},"loc":{"start":{"line":1,"column":78},"end":{"line":22,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":1,"column":52},"end":{"line":1,"column":76}},"type":"default-arg","locations":[{"start":{"line":1,"column":72},"end":{"line":1,"column":76}}]},"1":{"loc":{"start":{"line":3,"column":2},"end":{"line":14,"column":3}},"type":"if","locations":[{"start":{"line":3,"column":2},"end":{"line":14,"column":3}},{"start":{"line":3,"column":2},"end":{"line":14,"column":3}}]},"2":{"loc":{"start":{"line":5,"column":4},"end":{"line":11,"column":5}},"type":"if","locations":[{"start":{"line":5,"column":4},"end":{"line":11,"column":5}},{"start":{"line":5,"column":4},"end":{"line":11,"column":5}}]},"3":{"loc":{"start":{"line":5,"column":8},"end":{"line":5,"column":35}},"type":"binary-expr","locations":[{"start":{"line":5,"column":8},"end":{"line":5,"column":16}},{"start":{"line":5,"column":20},"end":{"line":5,"column":35}}]},"4":{"loc":{"start":{"line":7,"column":11},"end":{"line":11,"column":5}},"type":"if","locations":[{"start":{"line":7,"column":11},"end":{"line":11,"column":5}},{"start":{"line":7,"column":11},"end":{"line":11,"column":5}}]},"5":{"loc":{"start":{"line":7,"column":15},"end":{"line":7,"column":42}},"type":"binary-expr","locations":[{"start":{"line":7,"column":15},"end":{"line":7,"column":23}},{"start":{"line":7,"column":27},"end":{"line":7,"column":42}}]},"6":{"loc":{"start":{"line":12,"column":9},"end":{"line":14,"column":3}},"type":"if","locations":[{"start":{"line":12,"column":9},"end":{"line":14,"column":3}},{"start":{"line":12,"column":9},"end":{"line":14,"column":3}}]},"7":{"loc":{"start":{"line":12,"column":13},"end":{"line":12,"column":47}},"type":"binary-expr","locations":[{"start":{"line":12,"column":13},"end":{"line":12,"column":25}},{"start":{"line":12,"column":29},"end":{"line":12,"column":47}}]},"8":{"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}}]},"9":{"loc":{"start":{"line":17,"column":28},"end":{"line":17,"column":98}},"type":"cond-expr","locations":[{"start":{"line":17,"column":48},"end":{"line":17,"column":69}},{"start":{"line":17,"column":72},"end":{"line":17,"column":98}}]}},"s":{"0":52,"1":52,"2":50,"3":50,"4":46,"5":4,"6":3,"7":2,"8":1,"9":52,"10":50,"11":52},"f":{"0":52},"b":{"0":[5],"1":[50,2],"2":[46,4],"3":[50,47],"4":[3,1],"5":[4,3],"6":[1,1],"7":[2,1],"8":[50,2],"9":[44,6]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"5b0f951714c0120330287dfa66cefefab8f112af"}
,"/home/travis/build/okonet/react-dropzone/src/index.js": {"path":"/home/travis/build/okonet/react-dropzone/src/index.js","statementMap":{"0":{"start":{"line":7,"column":24},"end":{"line":9,"column":6}},"1":{"start":{"line":14,"column":4},"end":{"line":14,"column":23}},"2":{"start":{"line":18,"column":4},"end":{"line":18,"column":26}},"3":{"start":{"line":19,"column":4},"end":{"line":19,"column":43}},"4":{"start":{"line":20,"column":4},"end":{"line":20,"column":57}},"5":{"start":{"line":21,"column":4},"end":{"line":21,"column":51}},"6":{"start":{"line":22,"column":4},"end":{"line":22,"column":51}},"7":{"start":{"line":23,"column":4},"end":{"line":23,"column":51}},"8":{"start":{"line":24,"column":4},"end":{"line":24,"column":49}},"9":{"start":{"line":25,"column":4},"end":{"line":25,"column":41}},"10":{"start":{"line":26,"column":4},"end":{"line":26,"column":65}},"11":{"start":{"line":27,"column":4},"end":{"line":27,"column":53}},"12":{"start":{"line":28,"column":4},"end":{"line":28,"column":41}},"13":{"start":{"line":29,"column":4},"end":{"line":29,"column":36}},"14":{"start":{"line":30,"column":4},"end":{"line":34,"column":6}},"15":{"start":{"line":38,"column":38},"end":{"line":38,"column":48}},"16":{"start":{"line":39,"column":4},"end":{"line":39,"column":26}},"17":{"start":{"line":41,"column":4},"end":{"line":44,"column":5}},"18":{"start":{"line":42,"column":6},"end":{"line":42,"column":80}},"19":{"start":{"line":43,"column":6},"end":{"line":43,"column":68}},"20":{"start":{"line":46,"column":4},"end":{"line":46,"column":52}},"21":{"start":{"line":50,"column":38},"end":{"line":50,"column":48}},"22":{"start":{"line":51,"column":4},"end":{"line":54,"column":5}},"23":{"start":{"line":52,"column":6},"end":{"line":52,"column":76}},"24":{"start":{"line":53,"column":6},"end":{"line":53,"column":64}},"25":{"start":{"line":56,"column":4},"end":{"line":56,"column":33}},"26":{"start":{"line":60,"column":4},"end":{"line":63,"column":5}},"27":{"start":{"line":62,"column":6},"end":{"line":62,"column":13}},"28":{"start":{"line":64,"column":4},"end":{"line":64,"column":23}},"29":{"start":{"line":65,"column":4},"end":{"line":65,"column":26}},"30":{"start":{"line":69,"column":4},"end":{"line":71,"column":5}},"31":{"start":{"line":70,"column":6},"end":{"line":70,"column":43}},"32":{"start":{"line":75,"column":4},"end":{"line":75,"column":23}},"33":{"start":{"line":78,"column":4},"end":{"line":80,"column":5}},"34":{"start":{"line":79,"column":6},"end":{"line":79,"column":38}},"35":{"start":{"line":82,"column":29},"end":{"line":82,"column":96}},"36":{"start":{"line":84,"column":4},"end":{"line":87,"column":7}},"37":{"start":{"line":89,"column":4},"end":{"line":91,"column":5}},"38":{"start":{"line":90,"column":6},"end":{"line":90,"column":43}},"39":{"start":{"line":95,"column":4},"end":{"line":95,"column":23}},"40":{"start":{"line":96,"column":4},"end":{"line":96,"column":24}},"41":{"start":{"line":97,"column":4},"end":{"line":101,"column":5}},"42":{"start":{"line":98,"column":6},"end":{"line":98,"column":41}},"43":{"start":{"line":103,"column":4},"end":{"line":105,"column":5}},"44":{"start":{"line":104,"column":6},"end":{"line":104,"column":42}},"45":{"start":{"line":106,"column":4},"end":{"line":106,"column":17}},"46":{"start":{"line":110,"column":4},"end":{"line":110,"column":23}},"47":{"start":{"line":113,"column":4},"end":{"line":113,"column":96}},"48":{"start":{"line":113,"column":53},"end":{"line":113,"column":94}},"49":{"start":{"line":114,"column":4},"end":{"line":116,"column":5}},"50":{"start":{"line":115,"column":6},"end":{"line":115,"column":13}},"51":{"start":{"line":118,"column":4},"end":{"line":121,"column":7}},"52":{"start":{"line":123,"column":4},"end":{"line":125,"column":5}},"53":{"start":{"line":124,"column":6},"end":{"line":124,"column":43}},"54":{"start":{"line":129,"column":81},"end":{"line":129,"column":91}},"55":{"start":{"line":130,"column":21},"end":{"line":130,"column":54}},"56":{"start":{"line":131,"column":26},"end":{"line":131,"column":28}},"57":{"start":{"line":132,"column":26},"end":{"line":132,"column":28}},"58":{"start":{"line":135,"column":4},"end":{"line":135,"column":23}},"59":{"start":{"line":138,"column":4},"end":{"line":138,"column":26}},"60":{"start":{"line":139,"column":4},"end":{"line":139,"column":36}},"61":{"start":{"line":141,"column":4},"end":{"line":151,"column":7}},"62":{"start":{"line":142,"column":6},"end":{"line":144,"column":7}},"63":{"start":{"line":143,"column":8},"end":{"line":143,"column":56}},"64":{"start":{"line":146,"column":6},"end":{"line":150,"column":7}},"65":{"start":{"line":147,"column":8},"end":{"line":147,"column":33}},"66":{"start":{"line":149,"column":8},"end":{"line":149,"column":33}},"67":{"start":{"line":153,"column":4},"end":{"line":155,"column":5}},"68":{"start":{"line":154,"column":6},"end":{"line":154,"column":57}},"69":{"start":{"line":157,"column":4},"end":{"line":159,"column":5}},"70":{"start":{"line":158,"column":6},"end":{"line":158,"column":50}},"71":{"start":{"line":161,"column":4},"end":{"line":163,"column":5}},"72":{"start":{"line":162,"column":6},"end":{"line":162,"column":50}},"73":{"start":{"line":166,"column":4},"end":{"line":171,"column":7}},"74":{"start":{"line":175,"column":38},"end":{"line":175,"column":48}},"75":{"start":{"line":176,"column":4},"end":{"line":182,"column":5}},"76":{"start":{"line":177,"column":6},"end":{"line":177,"column":26}},"77":{"start":{"line":178,"column":6},"end":{"line":178,"column":18}},"78":{"start":{"line":179,"column":6},"end":{"line":181,"column":7}},"79":{"start":{"line":180,"column":8},"end":{"line":180,"column":30}},"80":{"start":{"line":187,"column":35},"end":{"line":187,"column":45}},"81":{"start":{"line":188,"column":28},"end":{"line":188,"column":32}},"82":{"start":{"line":189,"column":33},"end":{"line":189,"column":37}},"83":{"start":{"line":192,"column":4},"end":{"line":201,"column":5}},"84":{"start":{"line":193,"column":6},"end":{"line":200,"column":14}},"85":{"start":{"line":195,"column":25},"end":{"line":195,"column":42}},"86":{"start":{"line":196,"column":8},"end":{"line":199,"column":9}},"87":{"start":{"line":197,"column":10},"end":{"line":197,"column":37}},"88":{"start":{"line":198,"column":10},"end":{"line":198,"column":31}},"89":{"start":{"line":205,"column":4},"end":{"line":205,"column":20}},"90":{"start":{"line":209,"column":4},"end":{"line":209,"column":86}},"91":{"start":{"line":213,"column":4},"end":{"line":213,"column":78}},"92":{"start":{"line":217,"column":4},"end":{"line":217,"column":42}},"93":{"start":{"line":221,"column":4},"end":{"line":221,"column":35}},"94":{"start":{"line":222,"column":4},"end":{"line":222,"column":34}},"95":{"start":{"line":223,"column":4},"end":{"line":223,"column":29}},"96":{"start":{"line":227,"column":4},"end":{"line":229,"column":5}},"97":{"start":{"line":228,"column":6},"end":{"line":228,"column":34}},"98":{"start":{"line":230,"column":4},"end":{"line":230,"column":20}},"99":{"start":{"line":243,"column":8},"end":{"line":243,"column":18}},"100":{"start":{"line":251,"column":8},"end":{"line":251,"column":12}},"101":{"start":{"line":253,"column":43},"end":{"line":253,"column":53}},"102":{"start":{"line":255,"column":4},"end":{"line":255,"column":32}},"103":{"start":{"line":257,"column":4},"end":{"line":259,"column":5}},"104":{"start":{"line":258,"column":6},"end":{"line":258,"column":41}},"105":{"start":{"line":260,"column":4},"end":{"line":262,"column":5}},"106":{"start":{"line":261,"column":6},"end":{"line":261,"column":41}},"107":{"start":{"line":264,"column":4},"end":{"line":281,"column":5}},"108":{"start":{"line":265,"column":6},"end":{"line":272,"column":8}},"109":{"start":{"line":273,"column":6},"end":{"line":276,"column":8}},"110":{"start":{"line":277,"column":6},"end":{"line":280,"column":8}},"111":{"start":{"line":284,"column":4},"end":{"line":298,"column":5}},"112":{"start":{"line":285,"column":6},"end":{"line":288,"column":8}},"113":{"start":{"line":289,"column":11},"end":{"line":298,"column":5}},"114":{"start":{"line":290,"column":6},"end":{"line":293,"column":8}},"115":{"start":{"line":295,"column":6},"end":{"line":297,"column":8}},"116":{"start":{"line":300,"column":28},"end":{"line":307,"column":5}},"117":{"start":{"line":305,"column":17},"end":{"line":305,"column":38}},"118":{"start":{"line":309,"column":4},"end":{"line":311,"column":5}},"119":{"start":{"line":310,"column":6},"end":{"line":310,"column":34}},"120":{"start":{"line":314,"column":24},"end":{"line":324,"column":5}},"121":{"start":{"line":325,"column":21},"end":{"line":325,"column":33}},"122":{"start":{"line":326,"column":4},"end":{"line":326,"column":55}},"123":{"start":{"line":326,"column":32},"end":{"line":326,"column":53}},"124":{"start":{"line":328,"column":4},"end":{"line":347,"column":6}},"125":{"start":{"line":351,"column":0},"end":{"line":358,"column":2}},"126":{"start":{"line":360,"column":0},"end":{"line":429,"column":2}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":12,"column":2},"end":{"line":12,"column":3}},"loc":{"start":{"line":12,"column":31},"end":{"line":15,"column":3}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":17,"column":2},"end":{"line":17,"column":3}},"loc":{"start":{"line":17,"column":30},"end":{"line":35,"column":3}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":37,"column":2},"end":{"line":37,"column":3}},"loc":{"start":{"line":37,"column":22},"end":{"line":47,"column":3}}},"3":{"name":"(anonymous_3)","decl":{"start":{"line":49,"column":2},"end":{"line":49,"column":3}},"loc":{"start":{"line":49,"column":25},"end":{"line":57,"column":3}}},"4":{"name":"(anonymous_4)","decl":{"start":{"line":59,"column":2},"end":{"line":59,"column":3}},"loc":{"start":{"line":59,"column":20},"end":{"line":66,"column":3}}},"5":{"name":"(anonymous_5)","decl":{"start":{"line":68,"column":2},"end":{"line":68,"column":3}},"loc":{"start":{"line":68,"column":17},"end":{"line":72,"column":3}}},"6":{"name":"(anonymous_6)","decl":{"start":{"line":74,"column":2},"end":{"line":74,"column":3}},"loc":{"start":{"line":74,"column":17},"end":{"line":92,"column":3}}},"7":{"name":"(anonymous_7)","decl":{"start":{"line":94,"column":2},"end":{"line":94,"column":3}},"loc":{"start":{"line":94,"column":16},"end":{"line":107,"column":3}}},"8":{"name":"(anonymous_8)","decl":{"start":{"line":109,"column":2},"end":{"line":109,"column":3}},"loc":{"start":{"line":109,"column":17},"end":{"line":126,"column":3}}},"9":{"name":"(anonymous_9)","decl":{"start":{"line":113,"column":47},"end":{"line":113,"column":48}},"loc":{"start":{"line":113,"column":53},"end":{"line":113,"column":94}}},"10":{"name":"(anonymous_10)","decl":{"start":{"line":128,"column":2},"end":{"line":128,"column":3}},"loc":{"start":{"line":128,"column":12},"end":{"line":172,"column":3}}},"11":{"name":"(anonymous_11)","decl":{"start":{"line":141,"column":21},"end":{"line":141,"column":22}},"loc":{"start":{"line":141,"column":31},"end":{"line":151,"column":5}}},"12":{"name":"(anonymous_12)","decl":{"start":{"line":174,"column":2},"end":{"line":174,"column":3}},"loc":{"start":{"line":174,"column":13},"end":{"line":183,"column":3}}},"13":{"name":"(anonymous_13)","decl":{"start":{"line":185,"column":2},"end":{"line":185,"column":3}},"loc":{"start":{"line":185,"column":23},"end":{"line":202,"column":3}}},"14":{"name":"(anonymous_14)","decl":{"start":{"line":193,"column":17},"end":{"line":193,"column":18}},"loc":{"start":{"line":193,"column":23},"end":{"line":200,"column":7}}},"15":{"name":"(anonymous_15)","decl":{"start":{"line":204,"column":2},"end":{"line":204,"column":3}},"loc":{"start":{"line":204,"column":14},"end":{"line":206,"column":3}}},"16":{"name":"(anonymous_16)","decl":{"start":{"line":208,"column":2},"end":{"line":208,"column":3}},"loc":{"start":{"line":208,"column":21},"end":{"line":210,"column":3}}},"17":{"name":"(anonymous_17)","decl":{"start":{"line":212,"column":2},"end":{"line":212,"column":3}},"loc":{"start":{"line":212,"column":22},"end":{"line":214,"column":3}}},"18":{"name":"(anonymous_18)","decl":{"start":{"line":216,"column":2},"end":{"line":216,"column":3}},"loc":{"start":{"line":216,"column":26},"end":{"line":218,"column":3}}},"19":{"name":"(anonymous_19)","decl":{"start":{"line":220,"column":2},"end":{"line":220,"column":3}},"loc":{"start":{"line":220,"column":9},"end":{"line":224,"column":3}}},"20":{"name":"(anonymous_20)","decl":{"start":{"line":226,"column":19},"end":{"line":226,"column":20}},"loc":{"start":{"line":226,"column":33},"end":{"line":231,"column":3}}},"21":{"name":"(anonymous_21)","decl":{"start":{"line":233,"column":2},"end":{"line":233,"column":3}},"loc":{"start":{"line":233,"column":11},"end":{"line":348,"column":3}}},"22":{"name":"(anonymous_22)","decl":{"start":{"line":305,"column":11},"end":{"line":305,"column":12}},"loc":{"start":{"line":305,"column":17},"end":{"line":305,"column":38}}},"23":{"name":"(anonymous_23)","decl":{"start":{"line":326,"column":24},"end":{"line":326,"column":25}},"loc":{"start":{"line":326,"column":32},"end":{"line":326,"column":53}}}},"branchMap":{"0":{"loc":{"start":{"line":7,"column":24},"end":{"line":9,"column":6}},"type":"cond-expr","locations":[{"start":{"line":8,"column":2},"end":{"line":8,"column":47}},{"start":{"line":9,"column":2},"end":{"line":9,"column":6}}]},"1":{"loc":{"start":{"line":7,"column":25},"end":{"line":7,"column":94}},"type":"binary-expr","locations":[{"start":{"line":7,"column":25},"end":{"line":7,"column":56}},{"start":{"line":7,"column":60},"end":{"line":7,"column":68}},{"start":{"line":7,"column":72},"end":{"line":7,"column":94}}]},"2":{"loc":{"start":{"line":41,"column":4},"end":{"line":44,"column":5}},"type":"if","locations":[{"start":{"line":41,"column":4},"end":{"line":44,"column":5}},{"start":{"line":41,"column":4},"end":{"line":44,"column":5}}]},"3":{"loc":{"start":{"line":51,"column":4},"end":{"line":54,"column":5}},"type":"if","locations":[{"start":{"line":51,"column":4},"end":{"line":54,"column":5}},{"start":{"line":51,"column":4},"end":{"line":54,"column":5}}]},"4":{"loc":{"start":{"line":60,"column":4},"end":{"line":63,"column":5}},"type":"if","locations":[{"start":{"line":60,"column":4},"end":{"line":63,"column":5}},{"start":{"line":60,"column":4},"end":{"line":63,"column":5}}]},"5":{"loc":{"start":{"line":69,"column":4},"end":{"line":71,"column":5}},"type":"if","locations":[{"start":{"line":69,"column":4},"end":{"line":71,"column":5}},{"start":{"line":69,"column":4},"end":{"line":71,"column":5}}]},"6":{"loc":{"start":{"line":78,"column":4},"end":{"line":80,"column":5}},"type":"if","locations":[{"start":{"line":78,"column":4},"end":{"line":80,"column":5}},{"start":{"line":78,"column":4},"end":{"line":80,"column":5}}]},"7":{"loc":{"start":{"line":89,"column":4},"end":{"line":91,"column":5}},"type":"if","locations":[{"start":{"line":89,"column":4},"end":{"line":91,"column":5}},{"start":{"line":89,"column":4},"end":{"line":91,"column":5}}]},"8":{"loc":{"start":{"line":103,"column":4},"end":{"line":105,"column":5}},"type":"if","locations":[{"start":{"line":103,"column":4},"end":{"line":105,"column":5}},{"start":{"line":103,"column":4},"end":{"line":105,"column":5}}]},"9":{"loc":{"start":{"line":113,"column":53},"end":{"line":113,"column":94}},"type":"binary-expr","locations":[{"start":{"line":113,"column":53},"end":{"line":113,"column":68}},{"start":{"line":113,"column":72},"end":{"line":113,"column":94}}]},"10":{"loc":{"start":{"line":114,"column":4},"end":{"line":116,"column":5}},"type":"if","locations":[{"start":{"line":114,"column":4},"end":{"line":116,"column":5}},{"start":{"line":114,"column":4},"end":{"line":116,"column":5}}]},"11":{"loc":{"start":{"line":123,"column":4},"end":{"line":125,"column":5}},"type":"if","locations":[{"start":{"line":123,"column":4},"end":{"line":125,"column":5}},{"start":{"line":123,"column":4},"end":{"line":125,"column":5}}]},"12":{"loc":{"start":{"line":142,"column":6},"end":{"line":144,"column":7}},"type":"if","locations":[{"start":{"line":142,"column":6},"end":{"line":144,"column":7}},{"start":{"line":142,"column":6},"end":{"line":144,"column":7}}]},"13":{"loc":{"start":{"line":146,"column":6},"end":{"line":150,"column":7}},"type":"if","locations":[{"start":{"line":146,"column":6},"end":{"line":150,"column":7}},{"start":{"line":146,"column":6},"end":{"line":150,"column":7}}]},"14":{"loc":{"start":{"line":146,"column":10},"end":{"line":146,"column":61}},"type":"binary-expr","locations":[{"start":{"line":146,"column":10},"end":{"line":146,"column":33}},{"start":{"line":146,"column":37},"end":{"line":146,"column":61}}]},"15":{"loc":{"start":{"line":153,"column":4},"end":{"line":155,"column":5}},"type":"if","locations":[{"start":{"line":153,"column":4},"end":{"line":155,"column":5}},{"start":{"line":153,"column":4},"end":{"line":155,"column":5}}]},"16":{"loc":{"start":{"line":157,"column":4},"end":{"line":159,"column":5}},"type":"if","locations":[{"start":{"line":157,"column":4},"end":{"line":159,"column":5}},{"start":{"line":157,"column":4},"end":{"line":159,"column":5}}]},"17":{"loc":{"start":{"line":157,"column":8},"end":{"line":157,"column":50}},"type":"binary-expr","locations":[{"start":{"line":157,"column":8},"end":{"line":157,"column":32}},{"start":{"line":157,"column":36},"end":{"line":157,"column":50}}]},"18":{"loc":{"start":{"line":161,"column":4},"end":{"line":163,"column":5}},"type":"if","locations":[{"start":{"line":161,"column":4},"end":{"line":163,"column":5}},{"start":{"line":161,"column":4},"end":{"line":163,"column":5}}]},"19":{"loc":{"start":{"line":161,"column":8},"end":{"line":161,"column":50}},"type":"binary-expr","locations":[{"start":{"line":161,"column":8},"end":{"line":161,"column":32}},{"start":{"line":161,"column":36},"end":{"line":161,"column":50}}]},"20":{"loc":{"start":{"line":176,"column":4},"end":{"line":182,"column":5}},"type":"if","locations":[{"start":{"line":176,"column":4},"end":{"line":182,"column":5}},{"start":{"line":176,"column":4},"end":{"line":182,"column":5}}]},"21":{"loc":{"start":{"line":179,"column":6},"end":{"line":181,"column":7}},"type":"if","locations":[{"start":{"line":179,"column":6},"end":{"line":181,"column":7}},{"start":{"line":179,"column":6},"end":{"line":181,"column":7}}]},"22":{"loc":{"start":{"line":192,"column":4},"end":{"line":201,"column":5}},"type":"if","locations":[{"start":{"line":192,"column":4},"end":{"line":201,"column":5}},{"start":{"line":192,"column":4},"end":{"line":201,"column":5}}]},"23":{"loc":{"start":{"line":192,"column":8},"end":{"line":192,"column":48}},"type":"binary-expr","locations":[{"start":{"line":192,"column":8},"end":{"line":192,"column":26}},{"start":{"line":192,"column":30},"end":{"line":192,"column":48}}]},"24":{"loc":{"start":{"line":196,"column":8},"end":{"line":199,"column":9}},"type":"if","locations":[{"start":{"line":196,"column":8},"end":{"line":199,"column":9}},{"start":{"line":196,"column":8},"end":{"line":199,"column":9}}]},"25":{"loc":{"start":{"line":209,"column":11},"end":{"line":209,"column":85}},"type":"binary-expr","locations":[{"start":{"line":209,"column":11},"end":{"line":209,"column":49}},{"start":{"line":209,"column":53},"end":{"line":209,"column":85}}]},"26":{"loc":{"start":{"line":213,"column":11},"end":{"line":213,"column":77}},"type":"binary-expr","locations":[{"start":{"line":213,"column":11},"end":{"line":213,"column":42}},{"start":{"line":213,"column":46},"end":{"line":213,"column":77}}]},"27":{"loc":{"start":{"line":227,"column":4},"end":{"line":229,"column":5}},"type":"if","locations":[{"start":{"line":227,"column":4},"end":{"line":229,"column":5}},{"start":{"line":227,"column":4},"end":{"line":229,"column":5}}]},"28":{"loc":{"start":{"line":255,"column":16},"end":{"line":255,"column":31}},"type":"binary-expr","locations":[{"start":{"line":255,"column":16},"end":{"line":255,"column":25}},{"start":{"line":255,"column":29},"end":{"line":255,"column":31}}]},"29":{"loc":{"start":{"line":257,"column":4},"end":{"line":259,"column":5}},"type":"if","locations":[{"start":{"line":257,"column":4},"end":{"line":259,"column":5}},{"start":{"line":257,"column":4},"end":{"line":259,"column":5}}]},"30":{"loc":{"start":{"line":257,"column":8},"end":{"line":257,"column":39}},"type":"binary-expr","locations":[{"start":{"line":257,"column":8},"end":{"line":257,"column":20}},{"start":{"line":257,"column":24},"end":{"line":257,"column":39}}]},"31":{"loc":{"start":{"line":260,"column":4},"end":{"line":262,"column":5}},"type":"if","locations":[{"start":{"line":260,"column":4},"end":{"line":262,"column":5}},{"start":{"line":260,"column":4},"end":{"line":262,"column":5}}]},"32":{"loc":{"start":{"line":260,"column":8},"end":{"line":260,"column":39}},"type":"binary-expr","locations":[{"start":{"line":260,"column":8},"end":{"line":260,"column":20}},{"start":{"line":260,"column":24},"end":{"line":260,"column":39}}]},"33":{"loc":{"start":{"line":264,"column":4},"end":{"line":281,"column":5}},"type":"if","locations":[{"start":{"line":264,"column":4},"end":{"line":281,"column":5}},{"start":{"line":264,"column":4},"end":{"line":281,"column":5}}]},"34":{"loc":{"start":{"line":264,"column":8},"end":{"line":264,"column":60}},"type":"binary-expr","locations":[{"start":{"line":264,"column":8},"end":{"line":264,"column":18}},{"start":{"line":264,"column":22},"end":{"line":264,"column":28}},{"start":{"line":264,"column":32},"end":{"line":264,"column":44}},{"start":{"line":264,"column":48},"end":{"line":264,"column":60}}]},"35":{"loc":{"start":{"line":284,"column":4},"end":{"line":298,"column":5}},"type":"if","locations":[{"start":{"line":284,"column":4},"end":{"line":298,"column":5}},{"start":{"line":284,"column":4},"end":{"line":298,"column":5}}]},"36":{"loc":{"start":{"line":284,"column":8},"end":{"line":284,"column":35}},"type":"binary-expr","locations":[{"start":{"line":284,"column":8},"end":{"line":284,"column":19}},{"start":{"line":284,"column":23},"end":{"line":284,"column":35}}]},"37":{"loc":{"start":{"line":289,"column":11},"end":{"line":298,"column":5}},"type":"if","locations":[{"start":{"line":289,"column":11},"end":{"line":298,"column":5}},{"start":{"line":289,"column":11},"end":{"line":298,"column":5}}]},"38":{"loc":{"start":{"line":289,"column":15},"end":{"line":289,"column":42}},"type":"binary-expr","locations":[{"start":{"line":289,"column":15},"end":{"line":289,"column":26}},{"start":{"line":289,"column":30},"end":{"line":289,"column":42}}]},"39":{"loc":{"start":{"line":304,"column":16},"end":{"line":304,"column":43}},"type":"binary-expr","locations":[{"start":{"line":304,"column":16},"end":{"line":304,"column":31}},{"start":{"line":304,"column":35},"end":{"line":304,"column":43}}]},"40":{"loc":{"start":{"line":309,"column":4},"end":{"line":311,"column":5}},"type":"if","locations":[{"start":{"line":309,"column":4},"end":{"line":311,"column":5}},{"start":{"line":309,"column":4},"end":{"line":311,"column":5}}]},"41":{"loc":{"start":{"line":309,"column":8},"end":{"line":309,"column":27}},"type":"binary-expr","locations":[{"start":{"line":309,"column":8},"end":{"line":309,"column":12}},{"start":{"line":309,"column":16},"end":{"line":309,"column":27}}]}},"s":{"0":1,"1":1,"2":51,"3":51,"4":51,"5":51,"6":51,"7":51,"8":51,"9":51,"10":51,"11":51,"12":51,"13":51,"14":51,"15":49,"16":49,"17":49,"18":48,"19":48,"20":49,"21":2,"22":2,"23":1,"24":1,"25":2,"26":2,"27":1,"28":1,"29":1,"30":2,"31":2,"32":14,"33":14,"34":12,"35":14,"36":14,"37":14,"38":2,"39":2,"40":2,"41":2,"42":2,"43":2,"44":1,"45":2,"46":3,"47":3,"48":4,"49":3,"50":0,"51":3,"52":3,"53":2,"54":31,"55":31,"56":31,"57":31,"58":31,"59":31,"60":31,"61":31,"62":53,"63":50,"64":53,"65":40,"66":13,"67":31,"68":27,"69":31,"70":11,"71":31,"72":15,"73":31,"74":9,"75":9,"76":7,"77":7,"78":7,"79":2,"80":2,"81":2,"82":2,"83":2,"84":1,"85":1,"86":1,"87":1,"88":1,"89":51,"90":70,"91":43,"92":14,"93":7,"94":7,"95":7,"96":99,"97":15,"98":84,"99":99,"100":99,"101":99,"102":99,"103":99,"104":0,"105":99,"106":0,"107":99,"108":96,"109":96,"110":96,"111":99,"112":11,"113":88,"114":3,"115":85,"116":99,"117":147,"118":99,"119":1,"120":99,"121":99,"122":99,"123":891,"124":99,"125":1,"126":1},"f":{"0":1,"1":51,"2":49,"3":2,"4":2,"5":2,"6":14,"7":2,"8":3,"9":4,"10":31,"11":53,"12":9,"13":2,"14":1,"15":51,"16":70,"17":43,"18":14,"19":7,"20":99,"21":99,"22":147,"23":891},"b":{"0":[1,0],"1":[1,1,1],"2":[48,1],"3":[1,1],"4":[1,1],"5":[2,0],"6":[12,2],"7":[2,12],"8":[1,1],"9":[4,1],"10":[0,3],"11":[2,1],"12":[50,3],"13":[40,13],"14":[53,43],"15":[27,4],"16":[11,20],"17":[31,12],"18":[15,16],"19":[31,23],"20":[7,2],"21":[2,5],"22":[1,1],"23":[2,2],"24":[1,0],"25":[70,69],"26":[43,41],"27":[15,84],"28":[99,96],"29":[0,99],"30":[99,11],"31":[0,99],"32":[99,3],"33":[96,3],"34":[99,96,96,96],"35":[11,88],"36":[99,96],"37":[3,85],"38":[88,85],"39":[99,99],"40":[1,98],"41":[99,1]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"1037b96c4ac1a6b068d1865498d4f5a94847211f"}
,"/home/travis/build/okonet/react-dropzone/src/index.js": {"path":"/home/travis/build/okonet/react-dropzone/src/index.js","statementMap":{"0":{"start":{"line":6,"column":24},"end":{"line":8,"column":6}},"1":{"start":{"line":13,"column":4},"end":{"line":13,"column":23}},"2":{"start":{"line":17,"column":4},"end":{"line":17,"column":26}},"3":{"start":{"line":18,"column":4},"end":{"line":18,"column":43}},"4":{"start":{"line":19,"column":4},"end":{"line":19,"column":57}},"5":{"start":{"line":20,"column":4},"end":{"line":20,"column":51}},"6":{"start":{"line":21,"column":4},"end":{"line":21,"column":51}},"7":{"start":{"line":22,"column":4},"end":{"line":22,"column":51}},"8":{"start":{"line":23,"column":4},"end":{"line":23,"column":49}},"9":{"start":{"line":24,"column":4},"end":{"line":24,"column":41}},"10":{"start":{"line":25,"column":4},"end":{"line":25,"column":65}},"11":{"start":{"line":26,"column":4},"end":{"line":26,"column":53}},"12":{"start":{"line":27,"column":4},"end":{"line":27,"column":41}},"13":{"start":{"line":28,"column":4},"end":{"line":28,"column":36}},"14":{"start":{"line":29,"column":4},"end":{"line":33,"column":6}},"15":{"start":{"line":37,"column":38},"end":{"line":37,"column":48}},"16":{"start":{"line":38,"column":4},"end":{"line":38,"column":26}},"17":{"start":{"line":40,"column":4},"end":{"line":43,"column":5}},"18":{"start":{"line":41,"column":6},"end":{"line":41,"column":80}},"19":{"start":{"line":42,"column":6},"end":{"line":42,"column":68}},"20":{"start":{"line":45,"column":4},"end":{"line":45,"column":52}},"21":{"start":{"line":49,"column":38},"end":{"line":49,"column":48}},"22":{"start":{"line":50,"column":4},"end":{"line":53,"column":5}},"23":{"start":{"line":51,"column":6},"end":{"line":51,"column":76}},"24":{"start":{"line":52,"column":6},"end":{"line":52,"column":64}},"25":{"start":{"line":55,"column":4},"end":{"line":55,"column":33}},"26":{"start":{"line":59,"column":4},"end":{"line":62,"column":5}},"27":{"start":{"line":61,"column":6},"end":{"line":61,"column":13}},"28":{"start":{"line":63,"column":4},"end":{"line":63,"column":23}},"29":{"start":{"line":64,"column":4},"end":{"line":64,"column":26}},"30":{"start":{"line":68,"column":4},"end":{"line":70,"column":5}},"31":{"start":{"line":69,"column":6},"end":{"line":69,"column":43}},"32":{"start":{"line":74,"column":4},"end":{"line":74,"column":23}},"33":{"start":{"line":77,"column":4},"end":{"line":79,"column":5}},"34":{"start":{"line":78,"column":6},"end":{"line":78,"column":38}},"35":{"start":{"line":81,"column":29},"end":{"line":81,"column":96}},"36":{"start":{"line":83,"column":4},"end":{"line":86,"column":7}},"37":{"start":{"line":88,"column":4},"end":{"line":90,"column":5}},"38":{"start":{"line":89,"column":6},"end":{"line":89,"column":43}},"39":{"start":{"line":94,"column":4},"end":{"line":94,"column":23}},"40":{"start":{"line":95,"column":4},"end":{"line":95,"column":24}},"41":{"start":{"line":96,"column":4},"end":{"line":100,"column":5}},"42":{"start":{"line":97,"column":6},"end":{"line":97,"column":41}},"43":{"start":{"line":102,"column":4},"end":{"line":104,"column":5}},"44":{"start":{"line":103,"column":6},"end":{"line":103,"column":42}},"45":{"start":{"line":105,"column":4},"end":{"line":105,"column":17}},"46":{"start":{"line":109,"column":4},"end":{"line":109,"column":23}},"47":{"start":{"line":112,"column":4},"end":{"line":112,"column":96}},"48":{"start":{"line":112,"column":53},"end":{"line":112,"column":94}},"49":{"start":{"line":113,"column":4},"end":{"line":115,"column":5}},"50":{"start":{"line":114,"column":6},"end":{"line":114,"column":13}},"51":{"start":{"line":117,"column":4},"end":{"line":120,"column":7}},"52":{"start":{"line":122,"column":4},"end":{"line":124,"column":5}},"53":{"start":{"line":123,"column":6},"end":{"line":123,"column":43}},"54":{"start":{"line":128,"column":81},"end":{"line":128,"column":91}},"55":{"start":{"line":129,"column":21},"end":{"line":129,"column":54}},"56":{"start":{"line":130,"column":26},"end":{"line":130,"column":28}},"57":{"start":{"line":131,"column":26},"end":{"line":131,"column":28}},"58":{"start":{"line":134,"column":4},"end":{"line":134,"column":23}},"59":{"start":{"line":137,"column":4},"end":{"line":137,"column":26}},"60":{"start":{"line":138,"column":4},"end":{"line":138,"column":36}},"61":{"start":{"line":140,"column":4},"end":{"line":150,"column":7}},"62":{"start":{"line":141,"column":6},"end":{"line":143,"column":7}},"63":{"start":{"line":142,"column":8},"end":{"line":142,"column":56}},"64":{"start":{"line":145,"column":6},"end":{"line":149,"column":7}},"65":{"start":{"line":146,"column":8},"end":{"line":146,"column":33}},"66":{"start":{"line":148,"column":8},"end":{"line":148,"column":33}},"67":{"start":{"line":152,"column":4},"end":{"line":154,"column":5}},"68":{"start":{"line":153,"column":6},"end":{"line":153,"column":57}},"69":{"start":{"line":156,"column":4},"end":{"line":158,"column":5}},"70":{"start":{"line":157,"column":6},"end":{"line":157,"column":50}},"71":{"start":{"line":160,"column":4},"end":{"line":162,"column":5}},"72":{"start":{"line":161,"column":6},"end":{"line":161,"column":50}},"73":{"start":{"line":165,"column":4},"end":{"line":170,"column":7}},"74":{"start":{"line":174,"column":38},"end":{"line":174,"column":48}},"75":{"start":{"line":175,"column":4},"end":{"line":181,"column":5}},"76":{"start":{"line":176,"column":6},"end":{"line":176,"column":26}},"77":{"start":{"line":177,"column":6},"end":{"line":177,"column":18}},"78":{"start":{"line":178,"column":6},"end":{"line":180,"column":7}},"79":{"start":{"line":179,"column":8},"end":{"line":179,"column":30}},"80":{"start":{"line":186,"column":35},"end":{"line":186,"column":45}},"81":{"start":{"line":187,"column":28},"end":{"line":187,"column":32}},"82":{"start":{"line":188,"column":33},"end":{"line":188,"column":37}},"83":{"start":{"line":191,"column":4},"end":{"line":200,"column":5}},"84":{"start":{"line":192,"column":6},"end":{"line":199,"column":14}},"85":{"start":{"line":194,"column":25},"end":{"line":194,"column":42}},"86":{"start":{"line":195,"column":8},"end":{"line":198,"column":9}},"87":{"start":{"line":196,"column":10},"end":{"line":196,"column":37}},"88":{"start":{"line":197,"column":10},"end":{"line":197,"column":31}},"89":{"start":{"line":204,"column":4},"end":{"line":204,"column":20}},"90":{"start":{"line":210,"column":4},"end":{"line":210,"column":86}},"91":{"start":{"line":214,"column":4},"end":{"line":214,"column":78}},"92":{"start":{"line":218,"column":4},"end":{"line":218,"column":42}},"93":{"start":{"line":222,"column":4},"end":{"line":222,"column":35}},"94":{"start":{"line":223,"column":4},"end":{"line":223,"column":34}},"95":{"start":{"line":224,"column":4},"end":{"line":224,"column":29}},"96":{"start":{"line":228,"column":4},"end":{"line":230,"column":5}},"97":{"start":{"line":229,"column":6},"end":{"line":229,"column":34}},"98":{"start":{"line":231,"column":4},"end":{"line":231,"column":20}},"99":{"start":{"line":244,"column":8},"end":{"line":244,"column":18}},"100":{"start":{"line":252,"column":8},"end":{"line":252,"column":12}},"101":{"start":{"line":254,"column":43},"end":{"line":254,"column":53}},"102":{"start":{"line":256,"column":4},"end":{"line":256,"column":32}},"103":{"start":{"line":258,"column":4},"end":{"line":260,"column":5}},"104":{"start":{"line":259,"column":6},"end":{"line":259,"column":41}},"105":{"start":{"line":261,"column":4},"end":{"line":263,"column":5}},"106":{"start":{"line":262,"column":6},"end":{"line":262,"column":41}},"107":{"start":{"line":265,"column":4},"end":{"line":282,"column":5}},"108":{"start":{"line":266,"column":6},"end":{"line":273,"column":8}},"109":{"start":{"line":274,"column":6},"end":{"line":277,"column":8}},"110":{"start":{"line":278,"column":6},"end":{"line":281,"column":8}},"111":{"start":{"line":285,"column":4},"end":{"line":299,"column":5}},"112":{"start":{"line":286,"column":6},"end":{"line":289,"column":8}},"113":{"start":{"line":290,"column":11},"end":{"line":299,"column":5}},"114":{"start":{"line":291,"column":6},"end":{"line":294,"column":8}},"115":{"start":{"line":296,"column":6},"end":{"line":298,"column":8}},"116":{"start":{"line":301,"column":28},"end":{"line":308,"column":5}},"117":{"start":{"line":306,"column":17},"end":{"line":306,"column":38}},"118":{"start":{"line":310,"column":4},"end":{"line":312,"column":5}},"119":{"start":{"line":311,"column":6},"end":{"line":311,"column":34}},"120":{"start":{"line":315,"column":24},"end":{"line":325,"column":5}},"121":{"start":{"line":326,"column":21},"end":{"line":326,"column":33}},"122":{"start":{"line":327,"column":4},"end":{"line":327,"column":55}},"123":{"start":{"line":327,"column":32},"end":{"line":327,"column":53}},"124":{"start":{"line":329,"column":4},"end":{"line":348,"column":6}},"125":{"start":{"line":352,"column":0},"end":{"line":359,"column":2}},"126":{"start":{"line":361,"column":0},"end":{"line":393,"column":2}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":11,"column":2},"end":{"line":11,"column":3}},"loc":{"start":{"line":11,"column":31},"end":{"line":14,"column":3}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":16,"column":2},"end":{"line":16,"column":3}},"loc":{"start":{"line":16,"column":30},"end":{"line":34,"column":3}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":36,"column":2},"end":{"line":36,"column":3}},"loc":{"start":{"line":36,"column":22},"end":{"line":46,"column":3}}},"3":{"name":"(anonymous_3)","decl":{"start":{"line":48,"column":2},"end":{"line":48,"column":3}},"loc":{"start":{"line":48,"column":25},"end":{"line":56,"column":3}}},"4":{"name":"(anonymous_4)","decl":{"start":{"line":58,"column":2},"end":{"line":58,"column":3}},"loc":{"start":{"line":58,"column":20},"end":{"line":65,"column":3}}},"5":{"name":"(anonymous_5)","decl":{"start":{"line":67,"column":2},"end":{"line":67,"column":3}},"loc":{"start":{"line":67,"column":17},"end":{"line":71,"column":3}}},"6":{"name":"(anonymous_6)","decl":{"start":{"line":73,"column":2},"end":{"line":73,"column":3}},"loc":{"start":{"line":73,"column":17},"end":{"line":91,"column":3}}},"7":{"name":"(anonymous_7)","decl":{"start":{"line":93,"column":2},"end":{"line":93,"column":3}},"loc":{"start":{"line":93,"column":16},"end":{"line":106,"column":3}}},"8":{"name":"(anonymous_8)","decl":{"start":{"line":108,"column":2},"end":{"line":108,"column":3}},"loc":{"start":{"line":108,"column":17},"end":{"line":125,"column":3}}},"9":{"name":"(anonymous_9)","decl":{"start":{"line":112,"column":47},"end":{"line":112,"column":48}},"loc":{"start":{"line":112,"column":53},"end":{"line":112,"column":94}}},"10":{"name":"(anonymous_10)","decl":{"start":{"line":127,"column":2},"end":{"line":127,"column":3}},"loc":{"start":{"line":127,"column":12},"end":{"line":171,"column":3}}},"11":{"name":"(anonymous_11)","decl":{"start":{"line":140,"column":21},"end":{"line":140,"column":22}},"loc":{"start":{"line":140,"column":31},"end":{"line":150,"column":5}}},"12":{"name":"(anonymous_12)","decl":{"start":{"line":173,"column":2},"end":{"line":173,"column":3}},"loc":{"start":{"line":173,"column":13},"end":{"line":182,"column":3}}},"13":{"name":"(anonymous_13)","decl":{"start":{"line":184,"column":2},"end":{"line":184,"column":3}},"loc":{"start":{"line":184,"column":23},"end":{"line":201,"column":3}}},"14":{"name":"(anonymous_14)","decl":{"start":{"line":192,"column":17},"end":{"line":192,"column":18}},"loc":{"start":{"line":192,"column":23},"end":{"line":199,"column":7}}},"15":{"name":"(anonymous_15)","decl":{"start":{"line":203,"column":2},"end":{"line":203,"column":3}},"loc":{"start":{"line":203,"column":14},"end":{"line":205,"column":3}}},"16":{"name":"(anonymous_16)","decl":{"start":{"line":207,"column":2},"end":{"line":207,"column":3}},"loc":{"start":{"line":207,"column":21},"end":{"line":211,"column":3}}},"17":{"name":"(anonymous_17)","decl":{"start":{"line":213,"column":2},"end":{"line":213,"column":3}},"loc":{"start":{"line":213,"column":22},"end":{"line":215,"column":3}}},"18":{"name":"(anonymous_18)","decl":{"start":{"line":217,"column":2},"end":{"line":217,"column":3}},"loc":{"start":{"line":217,"column":26},"end":{"line":219,"column":3}}},"19":{"name":"(anonymous_19)","decl":{"start":{"line":221,"column":2},"end":{"line":221,"column":3}},"loc":{"start":{"line":221,"column":9},"end":{"line":225,"column":3}}},"20":{"name":"(anonymous_20)","decl":{"start":{"line":227,"column":19},"end":{"line":227,"column":20}},"loc":{"start":{"line":227,"column":33},"end":{"line":232,"column":3}}},"21":{"name":"(anonymous_21)","decl":{"start":{"line":234,"column":2},"end":{"line":234,"column":3}},"loc":{"start":{"line":234,"column":11},"end":{"line":349,"column":3}}},"22":{"name":"(anonymous_22)","decl":{"start":{"line":306,"column":11},"end":{"line":306,"column":12}},"loc":{"start":{"line":306,"column":17},"end":{"line":306,"column":38}}},"23":{"name":"(anonymous_23)","decl":{"start":{"line":327,"column":24},"end":{"line":327,"column":25}},"loc":{"start":{"line":327,"column":32},"end":{"line":327,"column":53}}}},"branchMap":{"0":{"loc":{"start":{"line":6,"column":24},"end":{"line":8,"column":6}},"type":"cond-expr","locations":[{"start":{"line":7,"column":2},"end":{"line":7,"column":47}},{"start":{"line":8,"column":2},"end":{"line":8,"column":6}}]},"1":{"loc":{"start":{"line":6,"column":25},"end":{"line":6,"column":94}},"type":"binary-expr","locations":[{"start":{"line":6,"column":25},"end":{"line":6,"column":56}},{"start":{"line":6,"column":60},"end":{"line":6,"column":68}},{"start":{"line":6,"column":72},"end":{"line":6,"column":94}}]},"2":{"loc":{"start":{"line":40,"column":4},"end":{"line":43,"column":5}},"type":"if","locations":[{"start":{"line":40,"column":4},"end":{"line":43,"column":5}},{"start":{"line":40,"column":4},"end":{"line":43,"column":5}}]},"3":{"loc":{"start":{"line":50,"column":4},"end":{"line":53,"column":5}},"type":"if","locations":[{"start":{"line":50,"column":4},"end":{"line":53,"column":5}},{"start":{"line":50,"column":4},"end":{"line":53,"column":5}}]},"4":{"loc":{"start":{"line":59,"column":4},"end":{"line":62,"column":5}},"type":"if","locations":[{"start":{"line":59,"column":4},"end":{"line":62,"column":5}},{"start":{"line":59,"column":4},"end":{"line":62,"column":5}}]},"5":{"loc":{"start":{"line":68,"column":4},"end":{"line":70,"column":5}},"type":"if","locations":[{"start":{"line":68,"column":4},"end":{"line":70,"column":5}},{"start":{"line":68,"column":4},"end":{"line":70,"column":5}}]},"6":{"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}}]},"7":{"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}}]},"8":{"loc":{"start":{"line":102,"column":4},"end":{"line":104,"column":5}},"type":"if","locations":[{"start":{"line":102,"column":4},"end":{"line":104,"column":5}},{"start":{"line":102,"column":4},"end":{"line":104,"column":5}}]},"9":{"loc":{"start":{"line":112,"column":53},"end":{"line":112,"column":94}},"type":"binary-expr","locations":[{"start":{"line":112,"column":53},"end":{"line":112,"column":68}},{"start":{"line":112,"column":72},"end":{"line":112,"column":94}}]},"10":{"loc":{"start":{"line":113,"column":4},"end":{"line":115,"column":5}},"type":"if","locations":[{"start":{"line":113,"column":4},"end":{"line":115,"column":5}},{"start":{"line":113,"column":4},"end":{"line":115,"column":5}}]},"11":{"loc":{"start":{"line":122,"column":4},"end":{"line":124,"column":5}},"type":"if","locations":[{"start":{"line":122,"column":4},"end":{"line":124,"column":5}},{"start":{"line":122,"column":4},"end":{"line":124,"column":5}}]},"12":{"loc":{"start":{"line":141,"column":6},"end":{"line":143,"column":7}},"type":"if","locations":[{"start":{"line":141,"column":6},"end":{"line":143,"column":7}},{"start":{"line":141,"column":6},"end":{"line":143,"column":7}}]},"13":{"loc":{"start":{"line":145,"column":6},"end":{"line":149,"column":7}},"type":"if","locations":[{"start":{"line":145,"column":6},"end":{"line":149,"column":7}},{"start":{"line":145,"column":6},"end":{"line":149,"column":7}}]},"14":{"loc":{"start":{"line":145,"column":10},"end":{"line":145,"column":61}},"type":"binary-expr","locations":[{"start":{"line":145,"column":10},"end":{"line":145,"column":33}},{"start":{"line":145,"column":37},"end":{"line":145,"column":61}}]},"15":{"loc":{"start":{"line":152,"column":4},"end":{"line":154,"column":5}},"type":"if","locations":[{"start":{"line":152,"column":4},"end":{"line":154,"column":5}},{"start":{"line":152,"column":4},"end":{"line":154,"column":5}}]},"16":{"loc":{"start":{"line":156,"column":4},"end":{"line":158,"column":5}},"type":"if","locations":[{"start":{"line":156,"column":4},"end":{"line":158,"column":5}},{"start":{"line":156,"column":4},"end":{"line":158,"column":5}}]},"17":{"loc":{"start":{"line":156,"column":8},"end":{"line":156,"column":50}},"type":"binary-expr","locations":[{"start":{"line":156,"column":8},"end":{"line":156,"column":32}},{"start":{"line":156,"column":36},"end":{"line":156,"column":50}}]},"18":{"loc":{"start":{"line":160,"column":4},"end":{"line":162,"column":5}},"type":"if","locations":[{"start":{"line":160,"column":4},"end":{"line":162,"column":5}},{"start":{"line":160,"column":4},"end":{"line":162,"column":5}}]},"19":{"loc":{"start":{"line":160,"column":8},"end":{"line":160,"column":50}},"type":"binary-expr","locations":[{"start":{"line":160,"column":8},"end":{"line":160,"column":32}},{"start":{"line":160,"column":36},"end":{"line":160,"column":50}}]},"20":{"loc":{"start":{"line":175,"column":4},"end":{"line":181,"column":5}},"type":"if","locations":[{"start":{"line":175,"column":4},"end":{"line":181,"column":5}},{"start":{"line":175,"column":4},"end":{"line":181,"column":5}}]},"21":{"loc":{"start":{"line":178,"column":6},"end":{"line":180,"column":7}},"type":"if","locations":[{"start":{"line":178,"column":6},"end":{"line":180,"column":7}},{"start":{"line":178,"column":6},"end":{"line":180,"column":7}}]},"22":{"loc":{"start":{"line":191,"column":4},"end":{"line":200,"column":5}},"type":"if","locations":[{"start":{"line":191,"column":4},"end":{"line":200,"column":5}},{"start":{"line":191,"column":4},"end":{"line":200,"column":5}}]},"23":{"loc":{"start":{"line":191,"column":8},"end":{"line":191,"column":48}},"type":"binary-expr","locations":[{"start":{"line":191,"column":8},"end":{"line":191,"column":26}},{"start":{"line":191,"column":30},"end":{"line":191,"column":48}}]},"24":{"loc":{"start":{"line":195,"column":8},"end":{"line":198,"column":9}},"type":"if","locations":[{"start":{"line":195,"column":8},"end":{"line":198,"column":9}},{"start":{"line":195,"column":8},"end":{"line":198,"column":9}}]},"25":{"loc":{"start":{"line":210,"column":11},"end":{"line":210,"column":85}},"type":"binary-expr","locations":[{"start":{"line":210,"column":11},"end":{"line":210,"column":49}},{"start":{"line":210,"column":53},"end":{"line":210,"column":85}}]},"26":{"loc":{"start":{"line":214,"column":11},"end":{"line":214,"column":77}},"type":"binary-expr","locations":[{"start":{"line":214,"column":11},"end":{"line":214,"column":42}},{"start":{"line":214,"column":46},"end":{"line":214,"column":77}}]},"27":{"loc":{"start":{"line":228,"column":4},"end":{"line":230,"column":5}},"type":"if","locations":[{"start":{"line":228,"column":4},"end":{"line":230,"column":5}},{"start":{"line":228,"column":4},"end":{"line":230,"column":5}}]},"28":{"loc":{"start":{"line":256,"column":16},"end":{"line":256,"column":31}},"type":"binary-expr","locations":[{"start":{"line":256,"column":16},"end":{"line":256,"column":25}},{"start":{"line":256,"column":29},"end":{"line":256,"column":31}}]},"29":{"loc":{"start":{"line":258,"column":4},"end":{"line":260,"column":5}},"type":"if","locations":[{"start":{"line":258,"column":4},"end":{"line":260,"column":5}},{"start":{"line":258,"column":4},"end":{"line":260,"column":5}}]},"30":{"loc":{"start":{"line":258,"column":8},"end":{"line":258,"column":39}},"type":"binary-expr","locations":[{"start":{"line":258,"column":8},"end":{"line":258,"column":20}},{"start":{"line":258,"column":24},"end":{"line":258,"column":39}}]},"31":{"loc":{"start":{"line":261,"column":4},"end":{"line":263,"column":5}},"type":"if","locations":[{"start":{"line":261,"column":4},"end":{"line":263,"column":5}},{"start":{"line":261,"column":4},"end":{"line":263,"column":5}}]},"32":{"loc":{"start":{"line":261,"column":8},"end":{"line":261,"column":39}},"type":"binary-expr","locations":[{"start":{"line":261,"column":8},"end":{"line":261,"column":20}},{"start":{"line":261,"column":24},"end":{"line":261,"column":39}}]},"33":{"loc":{"start":{"line":265,"column":4},"end":{"line":282,"column":5}},"type":"if","locations":[{"start":{"line":265,"column":4},"end":{"line":282,"column":5}},{"start":{"line":265,"column":4},"end":{"line":282,"column":5}}]},"34":{"loc":{"start":{"line":265,"column":8},"end":{"line":265,"column":60}},"type":"binary-expr","locations":[{"start":{"line":265,"column":8},"end":{"line":265,"column":18}},{"start":{"line":265,"column":22},"end":{"line":265,"column":28}},{"start":{"line":265,"column":32},"end":{"line":265,"column":44}},{"start":{"line":265,"column":48},"end":{"line":265,"column":60}}]},"35":{"loc":{"start":{"line":285,"column":4},"end":{"line":299,"column":5}},"type":"if","locations":[{"start":{"line":285,"column":4},"end":{"line":299,"column":5}},{"start":{"line":285,"column":4},"end":{"line":299,"column":5}}]},"36":{"loc":{"start":{"line":285,"column":8},"end":{"line":285,"column":35}},"type":"binary-expr","locations":[{"start":{"line":285,"column":8},"end":{"line":285,"column":19}},{"start":{"line":285,"column":23},"end":{"line":285,"column":35}}]},"37":{"loc":{"start":{"line":290,"column":11},"end":{"line":299,"column":5}},"type":"if","locations":[{"start":{"line":290,"column":11},"end":{"line":299,"column":5}},{"start":{"line":290,"column":11},"end":{"line":299,"column":5}}]},"38":{"loc":{"start":{"line":290,"column":15},"end":{"line":290,"column":42}},"type":"binary-expr","locations":[{"start":{"line":290,"column":15},"end":{"line":290,"column":26}},{"start":{"line":290,"column":30},"end":{"line":290,"column":42}}]},"39":{"loc":{"start":{"line":305,"column":16},"end":{"line":305,"column":43}},"type":"binary-expr","locations":[{"start":{"line":305,"column":16},"end":{"line":305,"column":31}},{"start":{"line":305,"column":35},"end":{"line":305,"column":43}}]},"40":{"loc":{"start":{"line":310,"column":4},"end":{"line":312,"column":5}},"type":"if","locations":[{"start":{"line":310,"column":4},"end":{"line":312,"column":5}},{"start":{"line":310,"column":4},"end":{"line":312,"column":5}}]},"41":{"loc":{"start":{"line":310,"column":8},"end":{"line":310,"column":27}},"type":"binary-expr","locations":[{"start":{"line":310,"column":8},"end":{"line":310,"column":12}},{"start":{"line":310,"column":16},"end":{"line":310,"column":27}}]}},"s":{"0":1,"1":1,"2":51,"3":51,"4":51,"5":51,"6":51,"7":51,"8":51,"9":51,"10":51,"11":51,"12":51,"13":51,"14":51,"15":49,"16":49,"17":49,"18":48,"19":48,"20":49,"21":2,"22":2,"23":1,"24":1,"25":2,"26":2,"27":1,"28":1,"29":1,"30":2,"31":2,"32":14,"33":14,"34":12,"35":14,"36":14,"37":14,"38":2,"39":2,"40":2,"41":2,"42":2,"43":2,"44":1,"45":2,"46":3,"47":3,"48":4,"49":3,"50":0,"51":3,"52":3,"53":2,"54":31,"55":31,"56":31,"57":31,"58":31,"59":31,"60":31,"61":31,"62":53,"63":50,"64":53,"65":40,"66":13,"67":31,"68":27,"69":31,"70":11,"71":31,"72":15,"73":31,"74":9,"75":9,"76":7,"77":7,"78":7,"79":2,"80":2,"81":2,"82":2,"83":2,"84":1,"85":1,"86":1,"87":1,"88":1,"89":51,"90":70,"91":43,"92":14,"93":7,"94":7,"95":7,"96":99,"97":15,"98":84,"99":99,"100":99,"101":99,"102":99,"103":99,"104":0,"105":99,"106":0,"107":99,"108":96,"109":96,"110":96,"111":99,"112":11,"113":88,"114":3,"115":85,"116":99,"117":147,"118":99,"119":1,"120":99,"121":99,"122":99,"123":891,"124":99,"125":1,"126":1},"f":{"0":1,"1":51,"2":49,"3":2,"4":2,"5":2,"6":14,"7":2,"8":3,"9":4,"10":31,"11":53,"12":9,"13":2,"14":1,"15":51,"16":70,"17":43,"18":14,"19":7,"20":99,"21":99,"22":147,"23":891},"b":{"0":[1,0],"1":[1,1,1],"2":[48,1],"3":[1,1],"4":[1,1],"5":[2,0],"6":[12,2],"7":[2,12],"8":[1,1],"9":[4,1],"10":[0,3],"11":[2,1],"12":[50,3],"13":[40,13],"14":[53,43],"15":[27,4],"16":[11,20],"17":[31,12],"18":[15,16],"19":[31,23],"20":[7,2],"21":[2,5],"22":[1,1],"23":[2,2],"24":[1,0],"25":[70,69],"26":[43,41],"27":[15,84],"28":[99,96],"29":[0,99],"30":[99,11],"31":[0,99],"32":[99,3],"33":[96,3],"34":[99,96,96,96],"35":[11,88],"36":[99,96],"37":[3,85],"38":[88,85],"39":[99,99],"40":[1,98],"41":[99,1]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"d01480059dc3272be0ce6861b4a950573d4d63b9"}
}

@@ -75,6 +75,4 @@ (function webpackUniversalModuleDefinition(root, factory) {

var _reactIsDeprecated = __webpack_require__(3);
var _getDataTransferItems = __webpack_require__(3);
var _getDataTransferItems = __webpack_require__(4);
var _getDataTransferItems2 = _interopRequireDefault(_getDataTransferItems);

@@ -341,2 +339,4 @@

value: function fileAccepted(file) {
// Firefox versions prior to 53 return a bogus MIME type for every file drag, so dragovers with
// that MIME type will always be accepted
return file.type === 'application/x-moz-file' || (0, _attrAccept2.default)(file, this.props.accept);

@@ -488,23 +488,10 @@ }

// Contents of the dropzone
children: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.node, _react2.default.PropTypes.func]),
children: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.node, _react2.default.PropTypes.func]), // Contents of the dropzone
style: _react2.default.PropTypes.object, // CSS styles to apply
activeStyle: _react2.default.PropTypes.object, // CSS styles to apply when drop will be accepted
rejectStyle: _react2.default.PropTypes.object, // CSS styles to apply when drop will be rejected
className: _react2.default.PropTypes.string, // Optional className
activeClassName: _react2.default.PropTypes.string, // className for accepted state
rejectClassName: _react2.default.PropTypes.string, // className for rejected state
// CSS styles to apply
style: (0, _reactIsDeprecated.deprecate)(_react2.default.PropTypes.object, 'Prop style is deprecated. Use function as children to style dropzone and its contents.'),
// CSS styles to apply when drop will be accepted
activeStyle: (0, _reactIsDeprecated.deprecate)(_react2.default.PropTypes.object, 'Prop activeStyle is deprecated. Use function as children to style dropzone and its contents.'),
// CSS styles to apply when drop will be rejected
rejectStyle: (0, _reactIsDeprecated.deprecate)(_react2.default.PropTypes.object, 'Prop rejectStyle is deprecated. Use function as children to style dropzone and its contents.'),
// Optional className
className: (0, _reactIsDeprecated.deprecate)(_react2.default.PropTypes.string, 'Prop className is deprecated. Use function as children to style dropzone and its contents.'),
// className for accepted state
activeClassName: (0, _reactIsDeprecated.deprecate)(_react2.default.PropTypes.string, 'Prop activeClassName is deprecated. Use function as children to style dropzone and its contents.'),
// className for rejected state
rejectClassName: (0, _reactIsDeprecated.deprecate)(_react2.default.PropTypes.string, 'Prop rejectClassName is deprecated. Use function as children to style dropzone and its contents.'),
preventDropOnDocument: _react2.default.PropTypes.bool, // If false, allow dropped items to take over the current browser window

@@ -519,4 +506,4 @@ disablePreview: _react2.default.PropTypes.bool, // Enable/disable preview generation

name: _react2.default.PropTypes.string, // name attribute for the input tag
maxSize: (0, _reactIsDeprecated.deprecate)(_react2.default.PropTypes.number, 'Prop maxSize is deprecated and will be removed in the next major release'),
minSize: (0, _reactIsDeprecated.deprecate)(_react2.default.PropTypes.number, 'Prop minSize is deprecated and will be removed in the next major release')
maxSize: _react2.default.PropTypes.number,
minSize: _react2.default.PropTypes.number
};

@@ -548,65 +535,2 @@

});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
exports.deprecate = deprecate;
exports.addIsDeprecated = addIsDeprecated;
/**
* Wraps a singular React.PropTypes.[type] with
* a console.warn call that is only called if the
* prop is not undefined/null and is only called
* once.
* @param {Object} propType React.PropType type
* @param {String} message Deprecation message
* @return {Function} ReactPropTypes checkType
*/
function deprecate(propType, message) {
var warned = false;
return function () {
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
var props = args[0];
var propName = args[1];
var prop = props[propName];
if (prop !== undefined && prop !== null && !warned) {
warned = true;
console.warn(message);
}
return propType.call.apply(propType, [this].concat(args));
};
}
/**
* Returns a copy of `PropTypes` with an `isDeprecated`
* method available on all top-level propType options.
* @param {React.PropTypes} PropTypes
* @return {React.PropTypes} newPropTypes
*/
function addIsDeprecated(PropTypes) {
var newPropTypes = _extends({}, PropTypes);
for (var type in newPropTypes) {
if (newPropTypes.hasOwnProperty(type)) {
var propType = newPropTypes[type];
propType = propType.bind(newPropTypes);
propType.isDeprecated = deprecate.bind(newPropTypes, propType);
newPropTypes[type] = propType;
}
}
return newPropTypes;
}
/***/ },
/* 4 */
/***/ function(module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = getDataTransferFiles;

@@ -613,0 +537,0 @@ function getDataTransferFiles(event) {

@@ -48,2 +48,3 @@ {

"Andrey Okonetchnikov <andrey@okonet.ru> (http://okonet.ru)",
"Mike Olson <me@mwolson.org>",
"Param Aggarwal"

@@ -56,4 +57,3 @@ ],

"dependencies": {
"attr-accept": "^1.0.3",
"react-is-deprecated": "^0.1.2"
"attr-accept": "^1.0.3"
},

@@ -95,3 +95,3 @@ "devDependencies": {

},
"version": "3.12.1"
"version": "3.12.2"
}
/* eslint prefer-template: 0 */
import React from 'react';
import accepts from 'attr-accept';
import { deprecate } from 'react-is-deprecated';
import getDataTransferItems from './getDataTransferItems';

@@ -209,2 +208,4 @@

fileAccepted(file) {
// Firefox versions prior to 53 return a bogus MIME type for every file drag, so dragovers with
// that MIME type will always be accepted
return file.type === 'application/x-moz-file' || accepts(file, this.props.accept);

@@ -371,44 +372,13 @@ }

// Contents of the dropzone
children: React.PropTypes.oneOfType([
React.PropTypes.node,
React.PropTypes.func
]),
]), // Contents of the dropzone
style: React.PropTypes.object, // CSS styles to apply
activeStyle: React.PropTypes.object, // CSS styles to apply when drop will be accepted
rejectStyle: React.PropTypes.object, // CSS styles to apply when drop will be rejected
className: React.PropTypes.string, // Optional className
activeClassName: React.PropTypes.string, // className for accepted state
rejectClassName: React.PropTypes.string, // className for rejected state
// CSS styles to apply
style: deprecate(
React.PropTypes.object,
'Prop style is deprecated. Use function as children to style dropzone and its contents.'
),
// CSS styles to apply when drop will be accepted
activeStyle: deprecate(
React.PropTypes.object,
'Prop activeStyle is deprecated. Use function as children to style dropzone and its contents.'
),
// CSS styles to apply when drop will be rejected
rejectStyle: deprecate(
React.PropTypes.object,
'Prop rejectStyle is deprecated. Use function as children to style dropzone and its contents.'
),
// Optional className
className: deprecate(
React.PropTypes.string,
'Prop className is deprecated. Use function as children to style dropzone and its contents.'
),
// className for accepted state
activeClassName: deprecate(
React.PropTypes.string,
'Prop activeClassName is deprecated. Use function as children to style dropzone and its contents.'
),
// className for rejected state
rejectClassName: deprecate(
React.PropTypes.string,
'Prop rejectClassName is deprecated. Use function as children to style dropzone and its contents.'
),
preventDropOnDocument: React.PropTypes.bool, // If false, allow dropped items to take over the current browser window

@@ -423,12 +393,6 @@ disablePreview: React.PropTypes.bool, // Enable/disable preview generation

name: React.PropTypes.string, // name attribute for the input tag
maxSize: deprecate(
React.PropTypes.number,
'Prop maxSize is deprecated and will be removed in the next major release'
),
minSize: deprecate(
React.PropTypes.number,
'Prop minSize is deprecated and will be removed in the next major release'
)
maxSize: React.PropTypes.number,
minSize: React.PropTypes.number
};
export default Dropzone;

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