New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gulp-i18n-leverage

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-i18n-leverage - npm Package Compare versions

Comparing version 0.0.20 to 0.0.21

test/expected/error-element.json

2

coverage/coverage.json

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

{"/home/fedora/WebComponents/components/gulp-i18n-leverage/index.js":{"path":"/home/fedora/WebComponents/components/gulp-i18n-leverage/index.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":12,"11":18,"12":18,"13":18,"14":18,"15":18,"16":18,"17":0,"18":1,"19":118,"20":118,"21":604,"22":604,"23":504,"24":504,"25":100,"26":36,"27":36,"28":64,"29":64,"30":100,"31":0,"32":0,"33":1,"34":18,"35":18,"36":18,"37":18,"38":0,"39":0,"40":18,"41":1,"42":18,"43":18,"44":18,"45":18,"46":18,"47":18,"48":18,"49":18,"50":18,"51":18,"52":18,"53":18,"54":18,"55":18,"56":18,"57":18,"58":18,"59":18,"60":18,"61":18,"62":0,"63":0,"64":18,"65":18,"66":18,"67":1,"68":0,"69":0,"70":0,"71":0,"72":0,"73":1,"74":96,"75":96,"76":96,"77":96,"78":96,"79":1,"80":54,"81":54,"82":54,"83":54,"84":18,"85":12,"86":36,"87":6,"88":0,"89":18,"90":36,"91":36,"92":36,"93":36,"94":54,"95":1,"96":336,"97":336,"98":306,"99":18,"100":36,"101":36,"102":288,"103":306,"104":30,"105":0,"106":0,"107":0,"108":30,"109":30,"110":0,"111":0,"112":336,"113":1,"114":18,"115":18,"116":336,"117":18,"118":1,"119":36,"120":36,"121":36,"122":36,"123":36,"124":36,"125":36,"126":552,"127":552,"128":96,"129":552,"130":552,"131":552,"132":36,"133":408,"134":60,"135":60,"136":0,"137":0,"138":60,"139":60,"140":60,"141":60,"142":60,"143":60,"144":60,"145":36,"146":552,"147":552,"148":492,"149":492,"150":60,"151":36,"152":1,"153":18,"154":18,"155":18,"156":18,"157":18,"158":18,"159":18,"160":18,"161":18,"162":18,"163":18,"164":18,"165":18,"166":354,"167":306,"168":4224,"169":30,"170":30,"171":306,"172":306,"173":18,"174":108,"175":6,"176":102,"177":0,"178":18,"179":30,"180":180,"181":0,"182":180,"183":0,"184":30,"185":0,"186":18,"187":342,"188":36,"189":18,"190":18,"191":1,"192":18,"193":18,"194":18,"195":18,"196":18,"197":18,"198":18,"199":18,"200":18,"201":18,"202":18,"203":0,"204":0,"205":0,"206":18,"207":18,"208":0,"209":0,"210":0,"211":18,"212":0,"213":0,"214":0,"215":18,"216":18,"217":4,"218":0,"219":4,"220":18,"221":18,"222":18,"223":18,"224":0,"225":0,"226":18,"227":18,"228":156,"229":0,"230":18,"231":18,"232":0,"233":0,"234":0,"235":18,"236":504,"237":18,"238":18,"239":2,"240":2,"241":2,"242":18,"243":18,"244":18,"245":18,"246":18,"247":1,"248":18,"249":0,"250":0,"251":18,"252":0,"253":0,"254":18,"255":18,"256":18,"257":18,"258":18,"259":18,"260":18,"261":0,"262":18},"b":{"1":[18,0],"2":[18,18],"3":[18,0],"4":[18,18],"5":[18,0],"6":[18,18],"7":[18,0],"8":[18,18],"9":[18,0],"10":[18,18],"11":[0,18],"12":[504,504,504,100,0],"13":[36,64],"14":[36,12],"15":[64,36],"16":[18,0],"17":[18,18],"18":[0,18],"19":[0,18],"20":[0,0],"21":[0,0],"22":[18,36,36,36,36,36,36,36],"23":[12,6],"24":[198,216,306,30,30,0,0],"25":[18,288],"26":[0,30],"27":[96,456],"28":[552,408],"29":[60,348],"30":[0,60],"31":[60,0],"32":[60,60],"33":[216,252,432,492,492,0,60],"34":[18,2],"35":[18,6],"36":[216,306,18,30,0,0,0],"37":[30,4194],"38":[6,102],"39":[0,102],"40":[0,180],"41":[0,180],"42":[36,306],"43":[0,0],"44":[0,0],"45":[0,0],"46":[0,0],"47":[0,4],"48":[4,4],"49":[0,0],"50":[0,156],"51":[0,0],"52":[2,16],"53":[2,0],"54":[2,2,2],"55":[18,5],"56":[18,5],"57":[0,18],"58":[0,18],"59":[18,0],"60":[18,0]},"f":{"1":12,"2":18,"3":118,"4":18,"5":18,"6":0,"7":96,"8":54,"9":336,"10":36,"11":0,"12":18,"13":36,"14":18,"15":18,"16":0,"17":504,"18":18},"fnMap":{"1":{"name":"(anonymous_1)","line":21,"loc":{"start":{"line":21,"column":17},"end":{"line":21,"column":35}}},"2":{"name":"(anonymous_2)","line":22,"loc":{"start":{"line":22,"column":21},"end":{"line":22,"column":52}}},"3":{"name":"deepMap","line":33,"loc":{"start":{"line":33,"column":4},"end":{"line":33,"column":42}}},"4":{"name":"getNextFallbackLanguage","line":61,"loc":{"start":{"line":61,"column":4},"end":{"line":61,"column":43}}},"5":{"name":"parsePath","line":73,"loc":{"start":{"line":73,"column":4},"end":{"line":73,"column":25}}},"6":{"name":"findPatch","line":102,"loc":{"start":{"line":102,"column":4},"end":{"line":102,"column":40}}},"7":{"name":"findValue","line":112,"loc":{"start":{"line":112,"column":4},"end":{"line":112,"column":34}}},"8":{"name":"fragmentObject","line":121,"loc":{"start":{"line":121,"column":4},"end":{"line":121,"column":39}}},"9":{"name":"fragmentOperation","line":153,"loc":{"start":{"line":153,"column":4},"end":{"line":153,"column":38}}},"10":{"name":"(anonymous_10)","line":160,"loc":{"start":{"line":160,"column":58},"end":{"line":160,"column":72}}},"11":{"name":"(anonymous_11)","line":173,"loc":{"start":{"line":173,"column":50},"end":{"line":173,"column":64}}},"12":{"name":"fragmentPatch","line":191,"loc":{"start":{"line":191,"column":4},"end":{"line":191,"column":34}}},"13":{"name":"minimizePatch","line":199,"loc":{"start":{"line":199,"column":4},"end":{"line":199,"column":49}}},"14":{"name":"updateMetaTodo","line":259,"loc":{"start":{"line":259,"column":4},"end":{"line":260,"column":4}}},"15":{"name":"update","line":323,"loc":{"start":{"line":323,"column":4},"end":{"line":323,"column":37}}},"16":{"name":"(anonymous_16)","line":395,"loc":{"start":{"line":395,"column":54},"end":{"line":395,"column":71}}},"17":{"name":"(anonymous_17)","line":399,"loc":{"start":{"line":399,"column":47},"end":{"line":399,"column":64}}},"18":{"name":"doLeverage","line":421,"loc":{"start":{"line":421,"column":4},"end":{"line":421,"column":26}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":7,"column":27}},"2":{"start":{"line":8,"column":0},"end":{"line":8,"column":23}},"3":{"start":{"line":9,"column":0},"end":{"line":9,"column":51}},"4":{"start":{"line":10,"column":0},"end":{"line":10,"column":36}},"5":{"start":{"line":11,"column":0},"end":{"line":11,"column":33}},"6":{"start":{"line":12,"column":0},"end":{"line":12,"column":35}},"7":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"8":{"start":{"line":14,"column":0},"end":{"line":14,"column":34}},"9":{"start":{"line":21,"column":0},"end":{"line":448,"column":2}},"10":{"start":{"line":22,"column":2},"end":{"line":447,"column":5}},"11":{"start":{"line":23,"column":4},"end":{"line":23,"column":89}},"12":{"start":{"line":24,"column":4},"end":{"line":24,"column":87}},"13":{"start":{"line":25,"column":4},"end":{"line":25,"column":91}},"14":{"start":{"line":26,"column":4},"end":{"line":26,"column":90}},"15":{"start":{"line":27,"column":4},"end":{"line":27,"column":68}},"16":{"start":{"line":29,"column":4},"end":{"line":31,"column":5}},"17":{"start":{"line":30,"column":6},"end":{"line":30,"column":34}},"18":{"start":{"line":33,"column":4},"end":{"line":59,"column":5}},"19":{"start":{"line":34,"column":6},"end":{"line":34,"column":16}},"20":{"start":{"line":35,"column":6},"end":{"line":58,"column":7}},"21":{"start":{"line":36,"column":8},"end":{"line":36,"column":29}},"22":{"start":{"line":37,"column":8},"end":{"line":57,"column":9}},"23":{"start":{"line":41,"column":10},"end":{"line":41,"column":42}},"24":{"start":{"line":42,"column":10},"end":{"line":42,"column":16}},"25":{"start":{"line":44,"column":10},"end":{"line":52,"column":11}},"26":{"start":{"line":46,"column":12},"end":{"line":46,"column":46}},"27":{"start":{"line":47,"column":12},"end":{"line":47,"column":46}},"28":{"start":{"line":50,"column":12},"end":{"line":50,"column":46}},"29":{"start":{"line":51,"column":12},"end":{"line":51,"column":46}},"30":{"start":{"line":53,"column":10},"end":{"line":53,"column":16}},"31":{"start":{"line":55,"column":10},"end":{"line":55,"column":31}},"32":{"start":{"line":56,"column":10},"end":{"line":56,"column":16}},"33":{"start":{"line":61,"column":4},"end":{"line":71,"column":5}},"34":{"start":{"line":62,"column":6},"end":{"line":62,"column":38}},"35":{"start":{"line":63,"column":6},"end":{"line":69,"column":7}},"36":{"start":{"line":64,"column":8},"end":{"line":64,"column":39}},"37":{"start":{"line":65,"column":8},"end":{"line":68,"column":9}},"38":{"start":{"line":66,"column":10},"end":{"line":66,"column":22}},"39":{"start":{"line":67,"column":10},"end":{"line":67,"column":49}},"40":{"start":{"line":70,"column":6},"end":{"line":70,"column":34}},"41":{"start":{"line":73,"column":4},"end":{"line":100,"column":5}},"42":{"start":{"line":74,"column":6},"end":{"line":74,"column":17}},"43":{"start":{"line":75,"column":6},"end":{"line":75,"column":39}},"44":{"start":{"line":76,"column":6},"end":{"line":76,"column":39}},"45":{"start":{"line":77,"column":6},"end":{"line":77,"column":83}},"46":{"start":{"line":78,"column":6},"end":{"line":78,"column":54}},"47":{"start":{"line":79,"column":6},"end":{"line":79,"column":85}},"48":{"start":{"line":80,"column":6},"end":{"line":80,"column":50}},"49":{"start":{"line":81,"column":6},"end":{"line":81,"column":71}},"50":{"start":{"line":82,"column":6},"end":{"line":82,"column":37}},"51":{"start":{"line":83,"column":6},"end":{"line":83,"column":62}},"52":{"start":{"line":84,"column":6},"end":{"line":84,"column":32}},"53":{"start":{"line":85,"column":6},"end":{"line":85,"column":43}},"54":{"start":{"line":86,"column":6},"end":{"line":86,"column":88}},"55":{"start":{"line":87,"column":6},"end":{"line":87,"column":54}},"56":{"start":{"line":88,"column":6},"end":{"line":88,"column":35}},"57":{"start":{"line":89,"column":6},"end":{"line":89,"column":98}},"58":{"start":{"line":90,"column":6},"end":{"line":90,"column":74}},"59":{"start":{"line":91,"column":6},"end":{"line":91,"column":30}},"60":{"start":{"line":92,"column":6},"end":{"line":92,"column":49}},"61":{"start":{"line":93,"column":6},"end":{"line":96,"column":7}},"62":{"start":{"line":94,"column":8},"end":{"line":94,"column":109}},"63":{"start":{"line":95,"column":8},"end":{"line":95,"column":45}},"64":{"start":{"line":97,"column":6},"end":{"line":97,"column":51}},"65":{"start":{"line":98,"column":6},"end":{"line":98,"column":53}},"66":{"start":{"line":99,"column":6},"end":{"line":99,"column":15}},"67":{"start":{"line":102,"column":4},"end":{"line":110,"column":5}},"68":{"start":{"line":103,"column":6},"end":{"line":108,"column":7}},"69":{"start":{"line":104,"column":8},"end":{"line":104,"column":28}},"70":{"start":{"line":105,"column":8},"end":{"line":107,"column":9}},"71":{"start":{"line":106,"column":10},"end":{"line":106,"column":22}},"72":{"start":{"line":109,"column":6},"end":{"line":109,"column":18}},"73":{"start":{"line":112,"column":4},"end":{"line":119,"column":5}},"74":{"start":{"line":113,"column":6},"end":{"line":113,"column":38}},"75":{"start":{"line":114,"column":6},"end":{"line":114,"column":22}},"76":{"start":{"line":115,"column":6},"end":{"line":117,"column":7}},"77":{"start":{"line":116,"column":8},"end":{"line":116,"column":36}},"78":{"start":{"line":118,"column":6},"end":{"line":118,"column":19}},"79":{"start":{"line":121,"column":4},"end":{"line":151,"column":5}},"80":{"start":{"line":122,"column":6},"end":{"line":122,"column":25}},"81":{"start":{"line":123,"column":6},"end":{"line":123,"column":13}},"82":{"start":{"line":124,"column":6},"end":{"line":124,"column":12}},"83":{"start":{"line":125,"column":6},"end":{"line":149,"column":7}},"84":{"start":{"line":127,"column":8},"end":{"line":136,"column":9}},"85":{"start":{"line":128,"column":10},"end":{"line":130,"column":11}},"86":{"start":{"line":129,"column":12},"end":{"line":129,"column":81}},"87":{"start":{"line":133,"column":10},"end":{"line":135,"column":11}},"88":{"start":{"line":134,"column":12},"end":{"line":134,"column":81}},"89":{"start":{"line":137,"column":8},"end":{"line":137,"column":14}},"90":{"start":{"line":145,"column":8},"end":{"line":145,"column":16}},"91":{"start":{"line":146,"column":8},"end":{"line":146,"column":23}},"92":{"start":{"line":147,"column":8},"end":{"line":147,"column":27}},"93":{"start":{"line":148,"column":8},"end":{"line":148,"column":14}},"94":{"start":{"line":150,"column":6},"end":{"line":150,"column":23}},"95":{"start":{"line":153,"column":4},"end":{"line":189,"column":5}},"96":{"start":{"line":154,"column":6},"end":{"line":154,"column":26}},"97":{"start":{"line":155,"column":6},"end":{"line":187,"column":7}},"98":{"start":{"line":159,"column":8},"end":{"line":168,"column":9}},"99":{"start":{"line":160,"column":10},"end":{"line":164,"column":13}},"100":{"start":{"line":161,"column":12},"end":{"line":163,"column":13}},"101":{"start":{"line":162,"column":14},"end":{"line":162,"column":71}},"102":{"start":{"line":167,"column":10},"end":{"line":167,"column":33}},"103":{"start":{"line":169,"column":8},"end":{"line":169,"column":14}},"104":{"start":{"line":172,"column":8},"end":{"line":181,"column":9}},"105":{"start":{"line":173,"column":10},"end":{"line":177,"column":13}},"106":{"start":{"line":174,"column":12},"end":{"line":176,"column":13}},"107":{"start":{"line":175,"column":14},"end":{"line":175,"column":92}},"108":{"start":{"line":180,"column":10},"end":{"line":180,"column":33}},"109":{"start":{"line":182,"column":8},"end":{"line":182,"column":14}},"110":{"start":{"line":185,"column":8},"end":{"line":185,"column":31}},"111":{"start":{"line":186,"column":8},"end":{"line":186,"column":14}},"112":{"start":{"line":188,"column":6},"end":{"line":188,"column":24}},"113":{"start":{"line":191,"column":4},"end":{"line":197,"column":5}},"114":{"start":{"line":192,"column":6},"end":{"line":192,"column":26}},"115":{"start":{"line":193,"column":6},"end":{"line":195,"column":7}},"116":{"start":{"line":194,"column":8},"end":{"line":194,"column":68}},"117":{"start":{"line":196,"column":6},"end":{"line":196,"column":24}},"118":{"start":{"line":199,"column":4},"end":{"line":257,"column":5}},"119":{"start":{"line":200,"column":6},"end":{"line":200,"column":25}},"120":{"start":{"line":201,"column":6},"end":{"line":201,"column":26}},"121":{"start":{"line":202,"column":6},"end":{"line":202,"column":21}},"122":{"start":{"line":203,"column":6},"end":{"line":203,"column":12}},"123":{"start":{"line":204,"column":6},"end":{"line":204,"column":22}},"124":{"start":{"line":205,"column":6},"end":{"line":205,"column":18}},"125":{"start":{"line":208,"column":6},"end":{"line":216,"column":7}},"126":{"start":{"line":209,"column":8},"end":{"line":209,"column":24}},"127":{"start":{"line":210,"column":8},"end":{"line":212,"column":9}},"128":{"start":{"line":211,"column":10},"end":{"line":211,"column":50}},"129":{"start":{"line":213,"column":8},"end":{"line":213,"column":47}},"130":{"start":{"line":214,"column":8},"end":{"line":214,"column":62}},"131":{"start":{"line":215,"column":8},"end":{"line":215,"column":39}},"132":{"start":{"line":219,"column":6},"end":{"line":238,"column":7}},"133":{"start":{"line":220,"column":8},"end":{"line":237,"column":9}},"134":{"start":{"line":221,"column":10},"end":{"line":221,"column":41}},"135":{"start":{"line":222,"column":10},"end":{"line":228,"column":11}},"136":{"start":{"line":223,"column":12},"end":{"line":223,"column":25}},"137":{"start":{"line":224,"column":12},"end":{"line":224,"column":43}},"138":{"start":{"line":227,"column":12},"end":{"line":227,"column":44}},"139":{"start":{"line":229,"column":10},"end":{"line":236,"column":11}},"140":{"start":{"line":231,"column":12},"end":{"line":231,"column":29}},"141":{"start":{"line":232,"column":12},"end":{"line":232,"column":34}},"142":{"start":{"line":233,"column":12},"end":{"line":233,"column":35}},"143":{"start":{"line":234,"column":12},"end":{"line":234,"column":30}},"144":{"start":{"line":235,"column":12},"end":{"line":235,"column":30}},"145":{"start":{"line":241,"column":6},"end":{"line":255,"column":7}},"146":{"start":{"line":242,"column":8},"end":{"line":242,"column":24}},"147":{"start":{"line":243,"column":8},"end":{"line":254,"column":9}},"148":{"start":{"line":249,"column":10},"end":{"line":249,"column":31}},"149":{"start":{"line":250,"column":10},"end":{"line":250,"column":16}},"150":{"start":{"line":253,"column":10},"end":{"line":253,"column":16}},"151":{"start":{"line":256,"column":6},"end":{"line":256,"column":23}},"152":{"start":{"line":259,"column":4},"end":{"line":321,"column":5}},"153":{"start":{"line":261,"column":6},"end":{"line":261,"column":33}},"154":{"start":{"line":262,"column":6},"end":{"line":262,"column":37}},"155":{"start":{"line":263,"column":6},"end":{"line":263,"column":43}},"156":{"start":{"line":264,"column":6},"end":{"line":264,"column":16}},"157":{"start":{"line":265,"column":6},"end":{"line":265,"column":15}},"158":{"start":{"line":266,"column":6},"end":{"line":266,"column":28}},"159":{"start":{"line":267,"column":6},"end":{"line":267,"column":31}},"160":{"start":{"line":268,"column":6},"end":{"line":268,"column":29}},"161":{"start":{"line":269,"column":6},"end":{"line":269,"column":59}},"162":{"start":{"line":270,"column":6},"end":{"line":270,"column":60}},"163":{"start":{"line":273,"column":6},"end":{"line":273,"column":35}},"164":{"start":{"line":275,"column":6},"end":{"line":275,"column":34}},"165":{"start":{"line":276,"column":6},"end":{"line":313,"column":7}},"166":{"start":{"line":277,"column":8},"end":{"line":312,"column":9}},"167":{"start":{"line":280,"column":10},"end":{"line":285,"column":11}},"168":{"start":{"line":281,"column":12},"end":{"line":284,"column":13}},"169":{"start":{"line":282,"column":14},"end":{"line":282,"column":39}},"170":{"start":{"line":283,"column":14},"end":{"line":283,"column":20}},"171":{"start":{"line":286,"column":10},"end":{"line":286,"column":35}},"172":{"start":{"line":287,"column":10},"end":{"line":287,"column":16}},"173":{"start":{"line":289,"column":10},"end":{"line":296,"column":11}},"174":{"start":{"line":290,"column":12},"end":{"line":295,"column":13}},"175":{"start":{"line":291,"column":14},"end":{"line":291,"column":39}},"176":{"start":{"line":293,"column":17},"end":{"line":295,"column":13}},"177":{"start":{"line":294,"column":14},"end":{"line":294,"column":39}},"178":{"start":{"line":297,"column":10},"end":{"line":297,"column":16}},"179":{"start":{"line":299,"column":10},"end":{"line":306,"column":11}},"180":{"start":{"line":300,"column":12},"end":{"line":305,"column":13}},"181":{"start":{"line":301,"column":14},"end":{"line":301,"column":48}},"182":{"start":{"line":303,"column":17},"end":{"line":305,"column":13}},"183":{"start":{"line":304,"column":14},"end":{"line":304,"column":97}},"184":{"start":{"line":307,"column":10},"end":{"line":307,"column":16}},"185":{"start":{"line":311,"column":10},"end":{"line":311,"column":16}},"186":{"start":{"line":314,"column":6},"end":{"line":318,"column":7}},"187":{"start":{"line":315,"column":8},"end":{"line":317,"column":9}},"188":{"start":{"line":316,"column":10},"end":{"line":316,"column":33}},"189":{"start":{"line":319,"column":6},"end":{"line":319,"column":26}},"190":{"start":{"line":320,"column":6},"end":{"line":320,"column":21}},"191":{"start":{"line":323,"column":4},"end":{"line":419,"column":5}},"192":{"start":{"line":324,"column":6},"end":{"line":324,"column":22}},"193":{"start":{"line":325,"column":6},"end":{"line":325,"column":25}},"194":{"start":{"line":326,"column":6},"end":{"line":326,"column":24}},"195":{"start":{"line":327,"column":6},"end":{"line":327,"column":32}},"196":{"start":{"line":328,"column":6},"end":{"line":328,"column":27}},"197":{"start":{"line":329,"column":6},"end":{"line":329,"column":29}},"198":{"start":{"line":330,"column":6},"end":{"line":330,"column":22}},"199":{"start":{"line":331,"column":6},"end":{"line":331,"column":12}},"200":{"start":{"line":332,"column":6},"end":{"line":332,"column":22}},"201":{"start":{"line":333,"column":6},"end":{"line":342,"column":7}},"202":{"start":{"line":334,"column":8},"end":{"line":334,"column":104}},"203":{"start":{"line":337,"column":8},"end":{"line":340,"column":9}},"204":{"start":{"line":338,"column":10},"end":{"line":339,"column":55}},"205":{"start":{"line":341,"column":8},"end":{"line":341,"column":35}},"206":{"start":{"line":343,"column":6},"end":{"line":352,"column":7}},"207":{"start":{"line":344,"column":8},"end":{"line":344,"column":108}},"208":{"start":{"line":347,"column":8},"end":{"line":350,"column":9}},"209":{"start":{"line":348,"column":10},"end":{"line":349,"column":55}},"210":{"start":{"line":351,"column":8},"end":{"line":351,"column":38}},"211":{"start":{"line":353,"column":6},"end":{"line":360,"column":7}},"212":{"start":{"line":354,"column":8},"end":{"line":359,"column":9}},"213":{"start":{"line":355,"column":10},"end":{"line":355,"column":116}},"214":{"start":{"line":358,"column":10},"end":{"line":358,"column":34}},"215":{"start":{"line":362,"column":6},"end":{"line":371,"column":7}},"216":{"start":{"line":363,"column":8},"end":{"line":363,"column":55}},"217":{"start":{"line":366,"column":8},"end":{"line":369,"column":9}},"218":{"start":{"line":367,"column":10},"end":{"line":368,"column":55}},"219":{"start":{"line":370,"column":8},"end":{"line":370,"column":37}},"220":{"start":{"line":372,"column":6},"end":{"line":372,"column":54}},"221":{"start":{"line":374,"column":6},"end":{"line":374,"column":67}},"222":{"start":{"line":375,"column":6},"end":{"line":375,"column":64}},"223":{"start":{"line":377,"column":6},"end":{"line":381,"column":7}},"224":{"start":{"line":378,"column":8},"end":{"line":380,"column":9}},"225":{"start":{"line":379,"column":10},"end":{"line":379,"column":54}},"226":{"start":{"line":383,"column":6},"end":{"line":383,"column":61}},"227":{"start":{"line":384,"column":6},"end":{"line":389,"column":7}},"228":{"start":{"line":385,"column":8},"end":{"line":388,"column":9}},"229":{"start":{"line":386,"column":10},"end":{"line":387,"column":69}},"230":{"start":{"line":391,"column":6},"end":{"line":391,"column":50}},"231":{"start":{"line":393,"column":6},"end":{"line":397,"column":7}},"232":{"start":{"line":394,"column":8},"end":{"line":396,"column":9}},"233":{"start":{"line":395,"column":10},"end":{"line":395,"column":90}},"234":{"start":{"line":395,"column":73},"end":{"line":395,"column":86}},"235":{"start":{"line":399,"column":6},"end":{"line":399,"column":83}},"236":{"start":{"line":399,"column":66},"end":{"line":399,"column":79}},"237":{"start":{"line":401,"column":6},"end":{"line":401,"column":62}},"238":{"start":{"line":402,"column":6},"end":{"line":411,"column":7}},"239":{"start":{"line":403,"column":8},"end":{"line":409,"column":9}},"240":{"start":{"line":406,"column":10},"end":{"line":408,"column":98}},"241":{"start":{"line":410,"column":8},"end":{"line":410,"column":35}},"242":{"start":{"line":414,"column":6},"end":{"line":414,"column":54}},"243":{"start":{"line":415,"column":6},"end":{"line":415,"column":71}},"244":{"start":{"line":416,"column":6},"end":{"line":416,"column":38}},"245":{"start":{"line":417,"column":6},"end":{"line":417,"column":61}},"246":{"start":{"line":418,"column":6},"end":{"line":418,"column":62}},"247":{"start":{"line":421,"column":4},"end":{"line":444,"column":5}},"248":{"start":{"line":422,"column":6},"end":{"line":425,"column":7}},"249":{"start":{"line":423,"column":8},"end":{"line":423,"column":29}},"250":{"start":{"line":424,"column":8},"end":{"line":424,"column":15}},"251":{"start":{"line":427,"column":6},"end":{"line":430,"column":7}},"252":{"start":{"line":428,"column":8},"end":{"line":428,"column":79}},"253":{"start":{"line":429,"column":8},"end":{"line":429,"column":15}},"254":{"start":{"line":432,"column":6},"end":{"line":441,"column":7}},"255":{"start":{"line":433,"column":8},"end":{"line":433,"column":45}},"256":{"start":{"line":434,"column":8},"end":{"line":434,"column":32}},"257":{"start":{"line":436,"column":8},"end":{"line":436,"column":45}},"258":{"start":{"line":437,"column":8},"end":{"line":440,"column":9}},"259":{"start":{"line":438,"column":10},"end":{"line":438,"column":45}},"260":{"start":{"line":439,"column":10},"end":{"line":439,"column":38}},"261":{"start":{"line":443,"column":6},"end":{"line":443,"column":27}},"262":{"start":{"line":446,"column":4},"end":{"line":446,"column":17}}},"branchMap":{"1":{"line":23,"type":"cond-expr","locations":[{"start":{"line":23,"column":67},"end":{"line":23,"column":84}},{"start":{"line":23,"column":87},"end":{"line":23,"column":88}}]},"2":{"line":23,"type":"binary-expr","locations":[{"start":{"line":23,"column":21},"end":{"line":23,"column":28}},{"start":{"line":23,"column":32},"end":{"line":23,"column":63}}]},"3":{"line":24,"type":"cond-expr","locations":[{"start":{"line":24,"column":63},"end":{"line":24,"column":78}},{"start":{"line":24,"column":81},"end":{"line":24,"column":86}}]},"4":{"line":24,"type":"binary-expr","locations":[{"start":{"line":24,"column":19},"end":{"line":24,"column":26}},{"start":{"line":24,"column":30},"end":{"line":24,"column":59}}]},"5":{"line":25,"type":"cond-expr","locations":[{"start":{"line":25,"column":65},"end":{"line":25,"column":81}},{"start":{"line":25,"column":84},"end":{"line":25,"column":90}}]},"6":{"line":25,"type":"binary-expr","locations":[{"start":{"line":25,"column":20},"end":{"line":25,"column":27}},{"start":{"line":25,"column":31},"end":{"line":25,"column":61}}]},"7":{"line":26,"type":"cond-expr","locations":[{"start":{"line":26,"column":65},"end":{"line":26,"column":81}},{"start":{"line":26,"column":84},"end":{"line":26,"column":89}}]},"8":{"line":26,"type":"binary-expr","locations":[{"start":{"line":26,"column":20},"end":{"line":26,"column":27}},{"start":{"line":26,"column":31},"end":{"line":26,"column":61}}]},"9":{"line":27,"type":"cond-expr","locations":[{"start":{"line":27,"column":47},"end":{"line":27,"column":62}},{"start":{"line":27,"column":65},"end":{"line":27,"column":67}}]},"10":{"line":27,"type":"binary-expr","locations":[{"start":{"line":27,"column":18},"end":{"line":27,"column":25}},{"start":{"line":27,"column":29},"end":{"line":27,"column":44}}]},"11":{"line":29,"type":"if","locations":[{"start":{"line":29,"column":4},"end":{"line":29,"column":4}},{"start":{"line":29,"column":4},"end":{"line":29,"column":4}}]},"12":{"line":37,"type":"switch","locations":[{"start":{"line":38,"column":8},"end":{"line":38,"column":22}},{"start":{"line":39,"column":8},"end":{"line":39,"column":22}},{"start":{"line":40,"column":8},"end":{"line":42,"column":16}},{"start":{"line":43,"column":8},"end":{"line":53,"column":16}},{"start":{"line":54,"column":8},"end":{"line":56,"column":16}}]},"13":{"line":44,"type":"if","locations":[{"start":{"line":44,"column":10},"end":{"line":44,"column":10}},{"start":{"line":44,"column":10},"end":{"line":44,"column":10}}]},"14":{"line":46,"type":"binary-expr","locations":[{"start":{"line":46,"column":27},"end":{"line":46,"column":39}},{"start":{"line":46,"column":43},"end":{"line":46,"column":45}}]},"15":{"line":50,"type":"binary-expr","locations":[{"start":{"line":50,"column":27},"end":{"line":50,"column":39}},{"start":{"line":50,"column":43},"end":{"line":50,"column":45}}]},"16":{"line":63,"type":"if","locations":[{"start":{"line":63,"column":6},"end":{"line":63,"column":6}},{"start":{"line":63,"column":6},"end":{"line":63,"column":6}}]},"17":{"line":63,"type":"binary-expr","locations":[{"start":{"line":63,"column":10},"end":{"line":63,"column":14}},{"start":{"line":63,"column":18},"end":{"line":63,"column":33}}]},"18":{"line":65,"type":"if","locations":[{"start":{"line":65,"column":8},"end":{"line":65,"column":8}},{"start":{"line":65,"column":8},"end":{"line":65,"column":8}}]},"19":{"line":77,"type":"cond-expr","locations":[{"start":{"line":77,"column":56},"end":{"line":77,"column":62}},{"start":{"line":77,"column":65},"end":{"line":77,"column":82}}]},"20":{"line":105,"type":"if","locations":[{"start":{"line":105,"column":8},"end":{"line":105,"column":8}},{"start":{"line":105,"column":8},"end":{"line":105,"column":8}}]},"21":{"line":105,"type":"binary-expr","locations":[{"start":{"line":105,"column":12},"end":{"line":105,"column":26}},{"start":{"line":105,"column":30},"end":{"line":105,"column":48}}]},"22":{"line":125,"type":"switch","locations":[{"start":{"line":126,"column":6},"end":{"line":137,"column":14}},{"start":{"line":138,"column":6},"end":{"line":138,"column":20}},{"start":{"line":139,"column":6},"end":{"line":139,"column":20}},{"start":{"line":140,"column":6},"end":{"line":140,"column":21}},{"start":{"line":141,"column":6},"end":{"line":141,"column":22}},{"start":{"line":142,"column":6},"end":{"line":142,"column":20}},{"start":{"line":143,"column":6},"end":{"line":143,"column":23}},{"start":{"line":144,"column":6},"end":{"line":148,"column":14}}]},"23":{"line":127,"type":"if","locations":[{"start":{"line":127,"column":8},"end":{"line":127,"column":8}},{"start":{"line":127,"column":8},"end":{"line":127,"column":8}}]},"24":{"line":155,"type":"switch","locations":[{"start":{"line":156,"column":6},"end":{"line":156,"column":17}},{"start":{"line":157,"column":6},"end":{"line":157,"column":20}},{"start":{"line":158,"column":6},"end":{"line":169,"column":14}},{"start":{"line":170,"column":6},"end":{"line":170,"column":18}},{"start":{"line":171,"column":6},"end":{"line":182,"column":14}},{"start":{"line":183,"column":6},"end":{"line":183,"column":18}},{"start":{"line":184,"column":6},"end":{"line":186,"column":14}}]},"25":{"line":159,"type":"if","locations":[{"start":{"line":159,"column":8},"end":{"line":159,"column":8}},{"start":{"line":159,"column":8},"end":{"line":159,"column":8}}]},"26":{"line":172,"type":"if","locations":[{"start":{"line":172,"column":8},"end":{"line":172,"column":8}},{"start":{"line":172,"column":8},"end":{"line":172,"column":8}}]},"27":{"line":210,"type":"if","locations":[{"start":{"line":210,"column":8},"end":{"line":210,"column":8}},{"start":{"line":210,"column":8},"end":{"line":210,"column":8}}]},"28":{"line":214,"type":"binary-expr","locations":[{"start":{"line":214,"column":33},"end":{"line":214,"column":55}},{"start":{"line":214,"column":59},"end":{"line":214,"column":61}}]},"29":{"line":220,"type":"if","locations":[{"start":{"line":220,"column":8},"end":{"line":220,"column":8}},{"start":{"line":220,"column":8},"end":{"line":220,"column":8}}]},"30":{"line":222,"type":"if","locations":[{"start":{"line":222,"column":10},"end":{"line":222,"column":10}},{"start":{"line":222,"column":10},"end":{"line":222,"column":10}}]},"31":{"line":229,"type":"if","locations":[{"start":{"line":229,"column":10},"end":{"line":229,"column":10}},{"start":{"line":229,"column":10},"end":{"line":229,"column":10}}]},"32":{"line":229,"type":"binary-expr","locations":[{"start":{"line":229,"column":14},"end":{"line":229,"column":34}},{"start":{"line":229,"column":38},"end":{"line":229,"column":56}}]},"33":{"line":243,"type":"switch","locations":[{"start":{"line":244,"column":8},"end":{"line":244,"column":19}},{"start":{"line":245,"column":8},"end":{"line":245,"column":22}},{"start":{"line":246,"column":8},"end":{"line":246,"column":23}},{"start":{"line":247,"column":8},"end":{"line":247,"column":20}},{"start":{"line":248,"column":8},"end":{"line":250,"column":16}},{"start":{"line":251,"column":8},"end":{"line":251,"column":20}},{"start":{"line":252,"column":8},"end":{"line":253,"column":16}}]},"34":{"line":261,"type":"binary-expr","locations":[{"start":{"line":261,"column":17},"end":{"line":261,"column":26}},{"start":{"line":261,"column":30},"end":{"line":261,"column":32}}]},"35":{"line":275,"type":"binary-expr","locations":[{"start":{"line":275,"column":18},"end":{"line":275,"column":27}},{"start":{"line":275,"column":31},"end":{"line":275,"column":33}}]},"36":{"line":277,"type":"switch","locations":[{"start":{"line":278,"column":8},"end":{"line":278,"column":19}},{"start":{"line":279,"column":8},"end":{"line":287,"column":16}},{"start":{"line":288,"column":8},"end":{"line":297,"column":16}},{"start":{"line":298,"column":8},"end":{"line":307,"column":16}},{"start":{"line":308,"column":8},"end":{"line":308,"column":20}},{"start":{"line":309,"column":8},"end":{"line":309,"column":20}},{"start":{"line":310,"column":8},"end":{"line":311,"column":16}}]},"37":{"line":281,"type":"if","locations":[{"start":{"line":281,"column":12},"end":{"line":281,"column":12}},{"start":{"line":281,"column":12},"end":{"line":281,"column":12}}]},"38":{"line":290,"type":"if","locations":[{"start":{"line":290,"column":12},"end":{"line":290,"column":12}},{"start":{"line":290,"column":12},"end":{"line":290,"column":12}}]},"39":{"line":293,"type":"if","locations":[{"start":{"line":293,"column":17},"end":{"line":293,"column":17}},{"start":{"line":293,"column":17},"end":{"line":293,"column":17}}]},"40":{"line":300,"type":"if","locations":[{"start":{"line":300,"column":12},"end":{"line":300,"column":12}},{"start":{"line":300,"column":12},"end":{"line":300,"column":12}}]},"41":{"line":303,"type":"if","locations":[{"start":{"line":303,"column":17},"end":{"line":303,"column":17}},{"start":{"line":303,"column":17},"end":{"line":303,"column":17}}]},"42":{"line":315,"type":"if","locations":[{"start":{"line":315,"column":8},"end":{"line":315,"column":8}},{"start":{"line":315,"column":8},"end":{"line":315,"column":8}}]},"43":{"line":337,"type":"if","locations":[{"start":{"line":337,"column":8},"end":{"line":337,"column":8}},{"start":{"line":337,"column":8},"end":{"line":337,"column":8}}]},"44":{"line":337,"type":"binary-expr","locations":[{"start":{"line":337,"column":12},"end":{"line":337,"column":46}},{"start":{"line":337,"column":50},"end":{"line":337,"column":61}}]},"45":{"line":347,"type":"if","locations":[{"start":{"line":347,"column":8},"end":{"line":347,"column":8}},{"start":{"line":347,"column":8},"end":{"line":347,"column":8}}]},"46":{"line":347,"type":"binary-expr","locations":[{"start":{"line":347,"column":12},"end":{"line":347,"column":46}},{"start":{"line":347,"column":50},"end":{"line":347,"column":61}}]},"47":{"line":366,"type":"if","locations":[{"start":{"line":366,"column":8},"end":{"line":366,"column":8}},{"start":{"line":366,"column":8},"end":{"line":366,"column":8}}]},"48":{"line":366,"type":"binary-expr","locations":[{"start":{"line":366,"column":12},"end":{"line":366,"column":46}},{"start":{"line":366,"column":50},"end":{"line":366,"column":58}}]},"49":{"line":378,"type":"if","locations":[{"start":{"line":378,"column":8},"end":{"line":378,"column":8}},{"start":{"line":378,"column":8},"end":{"line":378,"column":8}}]},"50":{"line":385,"type":"if","locations":[{"start":{"line":385,"column":8},"end":{"line":385,"column":8}},{"start":{"line":385,"column":8},"end":{"line":385,"column":8}}]},"51":{"line":394,"type":"if","locations":[{"start":{"line":394,"column":8},"end":{"line":394,"column":8}},{"start":{"line":394,"column":8},"end":{"line":394,"column":8}}]},"52":{"line":402,"type":"if","locations":[{"start":{"line":402,"column":6},"end":{"line":402,"column":6}},{"start":{"line":402,"column":6},"end":{"line":402,"column":6}}]},"53":{"line":403,"type":"if","locations":[{"start":{"line":403,"column":8},"end":{"line":403,"column":8}},{"start":{"line":403,"column":8},"end":{"line":403,"column":8}}]},"54":{"line":403,"type":"binary-expr","locations":[{"start":{"line":403,"column":12},"end":{"line":403,"column":33}},{"start":{"line":404,"column":12},"end":{"line":404,"column":38}},{"start":{"line":405,"column":12},"end":{"line":405,"column":49}}]},"55":{"line":414,"type":"binary-expr","locations":[{"start":{"line":414,"column":28},"end":{"line":414,"column":47}},{"start":{"line":414,"column":51},"end":{"line":414,"column":53}}]},"56":{"line":416,"type":"binary-expr","locations":[{"start":{"line":416,"column":20},"end":{"line":416,"column":31}},{"start":{"line":416,"column":35},"end":{"line":416,"column":37}}]},"57":{"line":422,"type":"if","locations":[{"start":{"line":422,"column":6},"end":{"line":422,"column":6}},{"start":{"line":422,"column":6},"end":{"line":422,"column":6}}]},"58":{"line":427,"type":"if","locations":[{"start":{"line":427,"column":6},"end":{"line":427,"column":6}},{"start":{"line":427,"column":6},"end":{"line":427,"column":6}}]},"59":{"line":432,"type":"if","locations":[{"start":{"line":432,"column":6},"end":{"line":432,"column":6}},{"start":{"line":432,"column":6},"end":{"line":432,"column":6}}]},"60":{"line":437,"type":"if","locations":[{"start":{"line":437,"column":8},"end":{"line":437,"column":8}},{"start":{"line":437,"column":8},"end":{"line":437,"column":8}}]}}}}
{"/home/fedora/WebComponents/components/gulp-i18n-leverage/index.js":{"path":"/home/fedora/WebComponents/components/gulp-i18n-leverage/index.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":17,"11":31,"12":31,"13":31,"14":31,"15":31,"16":1,"17":192,"18":192,"19":970,"20":970,"21":810,"22":810,"23":160,"24":58,"25":58,"26":102,"27":102,"28":160,"29":0,"30":0,"31":1,"32":38,"33":38,"34":38,"35":38,"36":9,"37":9,"38":38,"39":1,"40":29,"41":29,"42":29,"43":29,"44":29,"45":29,"46":29,"47":29,"48":29,"49":29,"50":29,"51":29,"52":29,"53":29,"54":29,"55":29,"56":29,"57":29,"58":29,"59":29,"60":9,"61":9,"62":29,"63":29,"64":29,"65":1,"66":124,"67":124,"68":124,"69":132,"70":124,"71":1,"72":162,"73":162,"74":162,"75":162,"76":52,"77":26,"78":78,"79":26,"80":48,"81":52,"82":110,"83":110,"84":110,"85":110,"86":162,"87":1,"88":450,"89":450,"90":416,"91":26,"92":8,"93":26,"94":80,"95":80,"96":390,"97":416,"98":34,"99":10,"100":30,"101":30,"102":24,"103":34,"104":0,"105":0,"106":450,"107":1,"108":29,"109":29,"110":450,"111":29,"112":1,"113":58,"114":58,"115":58,"116":58,"117":58,"118":58,"119":58,"120":690,"121":690,"122":124,"123":690,"124":690,"125":690,"126":58,"127":520,"128":86,"129":86,"130":18,"131":18,"132":68,"133":86,"134":68,"135":68,"136":68,"137":68,"138":58,"139":690,"140":690,"141":622,"142":622,"143":68,"144":58,"145":1,"146":29,"147":29,"148":29,"149":29,"150":29,"151":29,"152":29,"153":29,"154":29,"155":29,"156":29,"157":29,"158":29,"159":532,"160":408,"161":5202,"162":30,"163":30,"164":408,"165":408,"166":70,"167":512,"168":6,"169":506,"170":4,"171":70,"172":54,"173":452,"174":16,"175":436,"176":0,"177":54,"178":0,"179":29,"180":464,"181":40,"182":29,"183":29,"184":1,"185":29,"186":29,"187":29,"188":29,"189":29,"190":29,"191":29,"192":29,"193":29,"194":29,"195":29,"196":3,"197":3,"198":3,"199":29,"200":29,"201":3,"202":3,"203":3,"204":29,"205":9,"206":9,"207":6,"208":29,"209":29,"210":7,"211":3,"212":7,"213":29,"214":29,"215":29,"216":29,"217":9,"218":3,"219":29,"220":29,"221":172,"222":4,"223":29,"224":29,"225":9,"226":3,"227":72,"228":29,"229":738,"230":29,"231":29,"232":2,"233":2,"234":2,"235":29,"236":29,"237":29,"238":29,"239":29,"240":1,"241":31,"242":1,"243":1,"244":30,"245":1,"246":1,"247":29,"248":29,"249":29,"250":29,"251":29,"252":29,"253":29,"254":0,"255":31},"b":{"1":[31,0],"2":[31,31],"3":[31,0],"4":[31,31],"5":[31,0],"6":[31,31],"7":[31,0],"8":[31,31],"9":[31,0],"10":[31,31],"11":[810,810,810,160,0],"12":[58,102],"13":[58,12],"14":[102,56],"15":[38,0],"16":[38,38],"17":[9,29],"18":[0,29],"19":[52,110,110,110,110,110,110,110],"20":[26,26],"21":[300,326,416,34,34,0,0],"22":[26,390],"23":[8,18],"24":[10,24],"25":[124,566],"26":[690,520],"27":[86,434],"28":[18,68],"29":[68,18],"30":[86,68],"31":[318,374,554,622,622,0,68],"32":[29,10],"33":[29,17],"34":[318,408,70,54,0,0,0],"35":[30,5172],"36":[6,506],"37":[4,502],"38":[16,436],"39":[0,436],"40":[40,424],"41":[3,0],"42":[3,3],"43":[3,0],"44":[3,3],"45":[3,4],"46":[7,7],"47":[3,6],"48":[4,168],"49":[3,6],"50":[2,27],"51":[2,0],"52":[2,2,2],"53":[29,12],"54":[29,8],"55":[1,30],"56":[1,29],"57":[29,0],"58":[29,0]},"f":{"1":17,"2":31,"3":192,"4":38,"5":29,"6":124,"7":162,"8":450,"9":80,"10":30,"11":29,"12":58,"13":29,"14":29,"15":72,"16":738,"17":31},"fnMap":{"1":{"name":"(anonymous_1)","line":21,"loc":{"start":{"line":21,"column":17},"end":{"line":21,"column":35}}},"2":{"name":"(anonymous_2)","line":22,"loc":{"start":{"line":22,"column":21},"end":{"line":22,"column":52}}},"3":{"name":"deepMap","line":29,"loc":{"start":{"line":29,"column":4},"end":{"line":29,"column":42}}},"4":{"name":"getNextFallbackLanguage","line":57,"loc":{"start":{"line":57,"column":4},"end":{"line":57,"column":43}}},"5":{"name":"parsePath","line":69,"loc":{"start":{"line":69,"column":4},"end":{"line":69,"column":25}}},"6":{"name":"findValue","line":110,"loc":{"start":{"line":110,"column":4},"end":{"line":110,"column":34}}},"7":{"name":"fragmentObject","line":119,"loc":{"start":{"line":119,"column":4},"end":{"line":119,"column":39}}},"8":{"name":"fragmentOperation","line":151,"loc":{"start":{"line":151,"column":4},"end":{"line":151,"column":38}}},"9":{"name":"(anonymous_9)","line":161,"loc":{"start":{"line":161,"column":58},"end":{"line":161,"column":72}}},"10":{"name":"(anonymous_10)","line":174,"loc":{"start":{"line":174,"column":50},"end":{"line":174,"column":64}}},"11":{"name":"fragmentPatch","line":192,"loc":{"start":{"line":192,"column":4},"end":{"line":192,"column":34}}},"12":{"name":"minimizePatch","line":200,"loc":{"start":{"line":200,"column":4},"end":{"line":200,"column":49}}},"13":{"name":"updateMetaTodo","line":260,"loc":{"start":{"line":260,"column":4},"end":{"line":261,"column":4}}},"14":{"name":"update","line":324,"loc":{"start":{"line":324,"column":4},"end":{"line":324,"column":37}}},"15":{"name":"(anonymous_15)","line":396,"loc":{"start":{"line":396,"column":54},"end":{"line":396,"column":71}}},"16":{"name":"(anonymous_16)","line":400,"loc":{"start":{"line":400,"column":47},"end":{"line":400,"column":64}}},"17":{"name":"doLeverage","line":422,"loc":{"start":{"line":422,"column":4},"end":{"line":422,"column":26}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":7,"column":27}},"2":{"start":{"line":8,"column":0},"end":{"line":8,"column":23}},"3":{"start":{"line":9,"column":0},"end":{"line":9,"column":51}},"4":{"start":{"line":10,"column":0},"end":{"line":10,"column":36}},"5":{"start":{"line":11,"column":0},"end":{"line":11,"column":33}},"6":{"start":{"line":12,"column":0},"end":{"line":12,"column":35}},"7":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"8":{"start":{"line":14,"column":0},"end":{"line":14,"column":34}},"9":{"start":{"line":21,"column":0},"end":{"line":450,"column":2}},"10":{"start":{"line":22,"column":2},"end":{"line":449,"column":5}},"11":{"start":{"line":23,"column":4},"end":{"line":23,"column":89}},"12":{"start":{"line":24,"column":4},"end":{"line":24,"column":87}},"13":{"start":{"line":25,"column":4},"end":{"line":25,"column":91}},"14":{"start":{"line":26,"column":4},"end":{"line":26,"column":90}},"15":{"start":{"line":27,"column":4},"end":{"line":27,"column":68}},"16":{"start":{"line":29,"column":4},"end":{"line":55,"column":5}},"17":{"start":{"line":30,"column":6},"end":{"line":30,"column":16}},"18":{"start":{"line":31,"column":6},"end":{"line":54,"column":7}},"19":{"start":{"line":32,"column":8},"end":{"line":32,"column":29}},"20":{"start":{"line":33,"column":8},"end":{"line":53,"column":9}},"21":{"start":{"line":37,"column":10},"end":{"line":37,"column":42}},"22":{"start":{"line":38,"column":10},"end":{"line":38,"column":16}},"23":{"start":{"line":40,"column":10},"end":{"line":48,"column":11}},"24":{"start":{"line":42,"column":12},"end":{"line":42,"column":46}},"25":{"start":{"line":43,"column":12},"end":{"line":43,"column":46}},"26":{"start":{"line":46,"column":12},"end":{"line":46,"column":46}},"27":{"start":{"line":47,"column":12},"end":{"line":47,"column":46}},"28":{"start":{"line":49,"column":10},"end":{"line":49,"column":16}},"29":{"start":{"line":51,"column":10},"end":{"line":51,"column":31}},"30":{"start":{"line":52,"column":10},"end":{"line":52,"column":16}},"31":{"start":{"line":57,"column":4},"end":{"line":67,"column":5}},"32":{"start":{"line":58,"column":6},"end":{"line":58,"column":38}},"33":{"start":{"line":59,"column":6},"end":{"line":65,"column":7}},"34":{"start":{"line":60,"column":8},"end":{"line":60,"column":39}},"35":{"start":{"line":61,"column":8},"end":{"line":64,"column":9}},"36":{"start":{"line":62,"column":10},"end":{"line":62,"column":22}},"37":{"start":{"line":63,"column":10},"end":{"line":63,"column":49}},"38":{"start":{"line":66,"column":6},"end":{"line":66,"column":34}},"39":{"start":{"line":69,"column":4},"end":{"line":96,"column":5}},"40":{"start":{"line":70,"column":6},"end":{"line":70,"column":17}},"41":{"start":{"line":71,"column":6},"end":{"line":71,"column":39}},"42":{"start":{"line":72,"column":6},"end":{"line":72,"column":39}},"43":{"start":{"line":73,"column":6},"end":{"line":73,"column":83}},"44":{"start":{"line":74,"column":6},"end":{"line":74,"column":54}},"45":{"start":{"line":75,"column":6},"end":{"line":75,"column":85}},"46":{"start":{"line":76,"column":6},"end":{"line":76,"column":50}},"47":{"start":{"line":77,"column":6},"end":{"line":77,"column":71}},"48":{"start":{"line":78,"column":6},"end":{"line":78,"column":37}},"49":{"start":{"line":79,"column":6},"end":{"line":79,"column":62}},"50":{"start":{"line":80,"column":6},"end":{"line":80,"column":32}},"51":{"start":{"line":81,"column":6},"end":{"line":81,"column":43}},"52":{"start":{"line":82,"column":6},"end":{"line":82,"column":88}},"53":{"start":{"line":83,"column":6},"end":{"line":83,"column":54}},"54":{"start":{"line":84,"column":6},"end":{"line":84,"column":35}},"55":{"start":{"line":85,"column":6},"end":{"line":85,"column":98}},"56":{"start":{"line":86,"column":6},"end":{"line":86,"column":74}},"57":{"start":{"line":87,"column":6},"end":{"line":87,"column":30}},"58":{"start":{"line":88,"column":6},"end":{"line":88,"column":49}},"59":{"start":{"line":89,"column":6},"end":{"line":92,"column":7}},"60":{"start":{"line":90,"column":8},"end":{"line":90,"column":109}},"61":{"start":{"line":91,"column":8},"end":{"line":91,"column":45}},"62":{"start":{"line":93,"column":6},"end":{"line":93,"column":51}},"63":{"start":{"line":94,"column":6},"end":{"line":94,"column":53}},"64":{"start":{"line":95,"column":6},"end":{"line":95,"column":15}},"65":{"start":{"line":110,"column":4},"end":{"line":117,"column":5}},"66":{"start":{"line":111,"column":6},"end":{"line":111,"column":38}},"67":{"start":{"line":112,"column":6},"end":{"line":112,"column":22}},"68":{"start":{"line":113,"column":6},"end":{"line":115,"column":7}},"69":{"start":{"line":114,"column":8},"end":{"line":114,"column":36}},"70":{"start":{"line":116,"column":6},"end":{"line":116,"column":19}},"71":{"start":{"line":119,"column":4},"end":{"line":149,"column":5}},"72":{"start":{"line":120,"column":6},"end":{"line":120,"column":25}},"73":{"start":{"line":121,"column":6},"end":{"line":121,"column":13}},"74":{"start":{"line":122,"column":6},"end":{"line":122,"column":12}},"75":{"start":{"line":123,"column":6},"end":{"line":147,"column":7}},"76":{"start":{"line":125,"column":8},"end":{"line":134,"column":9}},"77":{"start":{"line":126,"column":10},"end":{"line":128,"column":11}},"78":{"start":{"line":127,"column":12},"end":{"line":127,"column":81}},"79":{"start":{"line":131,"column":10},"end":{"line":133,"column":11}},"80":{"start":{"line":132,"column":12},"end":{"line":132,"column":81}},"81":{"start":{"line":135,"column":8},"end":{"line":135,"column":14}},"82":{"start":{"line":143,"column":8},"end":{"line":143,"column":16}},"83":{"start":{"line":144,"column":8},"end":{"line":144,"column":23}},"84":{"start":{"line":145,"column":8},"end":{"line":145,"column":27}},"85":{"start":{"line":146,"column":8},"end":{"line":146,"column":14}},"86":{"start":{"line":148,"column":6},"end":{"line":148,"column":23}},"87":{"start":{"line":151,"column":4},"end":{"line":190,"column":5}},"88":{"start":{"line":152,"column":6},"end":{"line":152,"column":26}},"89":{"start":{"line":153,"column":6},"end":{"line":188,"column":7}},"90":{"start":{"line":157,"column":8},"end":{"line":169,"column":9}},"91":{"start":{"line":158,"column":10},"end":{"line":160,"column":11}},"92":{"start":{"line":159,"column":12},"end":{"line":159,"column":35}},"93":{"start":{"line":161,"column":10},"end":{"line":165,"column":13}},"94":{"start":{"line":162,"column":12},"end":{"line":164,"column":13}},"95":{"start":{"line":163,"column":14},"end":{"line":163,"column":71}},"96":{"start":{"line":168,"column":10},"end":{"line":168,"column":33}},"97":{"start":{"line":170,"column":8},"end":{"line":170,"column":14}},"98":{"start":{"line":173,"column":8},"end":{"line":182,"column":9}},"99":{"start":{"line":174,"column":10},"end":{"line":178,"column":13}},"100":{"start":{"line":175,"column":12},"end":{"line":177,"column":13}},"101":{"start":{"line":176,"column":14},"end":{"line":176,"column":125}},"102":{"start":{"line":181,"column":10},"end":{"line":181,"column":33}},"103":{"start":{"line":183,"column":8},"end":{"line":183,"column":14}},"104":{"start":{"line":186,"column":8},"end":{"line":186,"column":31}},"105":{"start":{"line":187,"column":8},"end":{"line":187,"column":14}},"106":{"start":{"line":189,"column":6},"end":{"line":189,"column":24}},"107":{"start":{"line":192,"column":4},"end":{"line":198,"column":5}},"108":{"start":{"line":193,"column":6},"end":{"line":193,"column":26}},"109":{"start":{"line":194,"column":6},"end":{"line":196,"column":7}},"110":{"start":{"line":195,"column":8},"end":{"line":195,"column":68}},"111":{"start":{"line":197,"column":6},"end":{"line":197,"column":24}},"112":{"start":{"line":200,"column":4},"end":{"line":258,"column":5}},"113":{"start":{"line":201,"column":6},"end":{"line":201,"column":25}},"114":{"start":{"line":202,"column":6},"end":{"line":202,"column":26}},"115":{"start":{"line":203,"column":6},"end":{"line":203,"column":21}},"116":{"start":{"line":204,"column":6},"end":{"line":204,"column":12}},"117":{"start":{"line":205,"column":6},"end":{"line":205,"column":22}},"118":{"start":{"line":206,"column":6},"end":{"line":206,"column":18}},"119":{"start":{"line":209,"column":6},"end":{"line":217,"column":7}},"120":{"start":{"line":210,"column":8},"end":{"line":210,"column":24}},"121":{"start":{"line":211,"column":8},"end":{"line":213,"column":9}},"122":{"start":{"line":212,"column":10},"end":{"line":212,"column":50}},"123":{"start":{"line":214,"column":8},"end":{"line":214,"column":47}},"124":{"start":{"line":215,"column":8},"end":{"line":215,"column":62}},"125":{"start":{"line":216,"column":8},"end":{"line":216,"column":39}},"126":{"start":{"line":220,"column":6},"end":{"line":239,"column":7}},"127":{"start":{"line":221,"column":8},"end":{"line":238,"column":9}},"128":{"start":{"line":222,"column":10},"end":{"line":222,"column":41}},"129":{"start":{"line":223,"column":10},"end":{"line":229,"column":11}},"130":{"start":{"line":224,"column":12},"end":{"line":224,"column":25}},"131":{"start":{"line":225,"column":12},"end":{"line":225,"column":43}},"132":{"start":{"line":228,"column":12},"end":{"line":228,"column":44}},"133":{"start":{"line":230,"column":10},"end":{"line":237,"column":11}},"134":{"start":{"line":232,"column":12},"end":{"line":232,"column":29}},"135":{"start":{"line":233,"column":12},"end":{"line":233,"column":34}},"136":{"start":{"line":234,"column":12},"end":{"line":234,"column":35}},"137":{"start":{"line":236,"column":12},"end":{"line":236,"column":30}},"138":{"start":{"line":242,"column":6},"end":{"line":256,"column":7}},"139":{"start":{"line":243,"column":8},"end":{"line":243,"column":24}},"140":{"start":{"line":244,"column":8},"end":{"line":255,"column":9}},"141":{"start":{"line":250,"column":10},"end":{"line":250,"column":31}},"142":{"start":{"line":251,"column":10},"end":{"line":251,"column":16}},"143":{"start":{"line":254,"column":10},"end":{"line":254,"column":16}},"144":{"start":{"line":257,"column":6},"end":{"line":257,"column":23}},"145":{"start":{"line":260,"column":4},"end":{"line":322,"column":5}},"146":{"start":{"line":262,"column":6},"end":{"line":262,"column":33}},"147":{"start":{"line":263,"column":6},"end":{"line":263,"column":37}},"148":{"start":{"line":264,"column":6},"end":{"line":264,"column":43}},"149":{"start":{"line":265,"column":6},"end":{"line":265,"column":16}},"150":{"start":{"line":266,"column":6},"end":{"line":266,"column":15}},"151":{"start":{"line":267,"column":6},"end":{"line":267,"column":28}},"152":{"start":{"line":268,"column":6},"end":{"line":268,"column":31}},"153":{"start":{"line":269,"column":6},"end":{"line":269,"column":29}},"154":{"start":{"line":270,"column":6},"end":{"line":270,"column":59}},"155":{"start":{"line":271,"column":6},"end":{"line":271,"column":60}},"156":{"start":{"line":274,"column":6},"end":{"line":274,"column":35}},"157":{"start":{"line":276,"column":6},"end":{"line":276,"column":34}},"158":{"start":{"line":277,"column":6},"end":{"line":314,"column":7}},"159":{"start":{"line":278,"column":8},"end":{"line":313,"column":9}},"160":{"start":{"line":281,"column":10},"end":{"line":286,"column":11}},"161":{"start":{"line":282,"column":12},"end":{"line":285,"column":13}},"162":{"start":{"line":283,"column":14},"end":{"line":283,"column":39}},"163":{"start":{"line":284,"column":14},"end":{"line":284,"column":20}},"164":{"start":{"line":287,"column":10},"end":{"line":287,"column":35}},"165":{"start":{"line":288,"column":10},"end":{"line":288,"column":16}},"166":{"start":{"line":290,"column":10},"end":{"line":297,"column":11}},"167":{"start":{"line":291,"column":12},"end":{"line":296,"column":13}},"168":{"start":{"line":292,"column":14},"end":{"line":292,"column":39}},"169":{"start":{"line":294,"column":17},"end":{"line":296,"column":13}},"170":{"start":{"line":295,"column":14},"end":{"line":295,"column":39}},"171":{"start":{"line":298,"column":10},"end":{"line":298,"column":16}},"172":{"start":{"line":300,"column":10},"end":{"line":307,"column":11}},"173":{"start":{"line":301,"column":12},"end":{"line":306,"column":13}},"174":{"start":{"line":302,"column":14},"end":{"line":302,"column":48}},"175":{"start":{"line":304,"column":17},"end":{"line":306,"column":13}},"176":{"start":{"line":305,"column":14},"end":{"line":305,"column":97}},"177":{"start":{"line":308,"column":10},"end":{"line":308,"column":16}},"178":{"start":{"line":312,"column":10},"end":{"line":312,"column":16}},"179":{"start":{"line":315,"column":6},"end":{"line":319,"column":7}},"180":{"start":{"line":316,"column":8},"end":{"line":318,"column":9}},"181":{"start":{"line":317,"column":10},"end":{"line":317,"column":33}},"182":{"start":{"line":320,"column":6},"end":{"line":320,"column":26}},"183":{"start":{"line":321,"column":6},"end":{"line":321,"column":21}},"184":{"start":{"line":324,"column":4},"end":{"line":420,"column":5}},"185":{"start":{"line":325,"column":6},"end":{"line":325,"column":22}},"186":{"start":{"line":326,"column":6},"end":{"line":326,"column":25}},"187":{"start":{"line":327,"column":6},"end":{"line":327,"column":24}},"188":{"start":{"line":328,"column":6},"end":{"line":328,"column":32}},"189":{"start":{"line":329,"column":6},"end":{"line":329,"column":27}},"190":{"start":{"line":330,"column":6},"end":{"line":330,"column":29}},"191":{"start":{"line":331,"column":6},"end":{"line":331,"column":22}},"192":{"start":{"line":332,"column":6},"end":{"line":332,"column":12}},"193":{"start":{"line":333,"column":6},"end":{"line":333,"column":22}},"194":{"start":{"line":334,"column":6},"end":{"line":343,"column":7}},"195":{"start":{"line":335,"column":8},"end":{"line":335,"column":104}},"196":{"start":{"line":338,"column":8},"end":{"line":341,"column":9}},"197":{"start":{"line":339,"column":10},"end":{"line":340,"column":55}},"198":{"start":{"line":342,"column":8},"end":{"line":342,"column":35}},"199":{"start":{"line":344,"column":6},"end":{"line":353,"column":7}},"200":{"start":{"line":345,"column":8},"end":{"line":345,"column":108}},"201":{"start":{"line":348,"column":8},"end":{"line":351,"column":9}},"202":{"start":{"line":349,"column":10},"end":{"line":350,"column":55}},"203":{"start":{"line":352,"column":8},"end":{"line":352,"column":38}},"204":{"start":{"line":354,"column":6},"end":{"line":361,"column":7}},"205":{"start":{"line":355,"column":8},"end":{"line":360,"column":9}},"206":{"start":{"line":356,"column":10},"end":{"line":356,"column":116}},"207":{"start":{"line":359,"column":10},"end":{"line":359,"column":34}},"208":{"start":{"line":363,"column":6},"end":{"line":372,"column":7}},"209":{"start":{"line":364,"column":8},"end":{"line":364,"column":55}},"210":{"start":{"line":367,"column":8},"end":{"line":370,"column":9}},"211":{"start":{"line":368,"column":10},"end":{"line":369,"column":55}},"212":{"start":{"line":371,"column":8},"end":{"line":371,"column":37}},"213":{"start":{"line":373,"column":6},"end":{"line":373,"column":54}},"214":{"start":{"line":375,"column":6},"end":{"line":375,"column":67}},"215":{"start":{"line":376,"column":6},"end":{"line":376,"column":64}},"216":{"start":{"line":378,"column":6},"end":{"line":382,"column":7}},"217":{"start":{"line":379,"column":8},"end":{"line":381,"column":9}},"218":{"start":{"line":380,"column":10},"end":{"line":380,"column":54}},"219":{"start":{"line":384,"column":6},"end":{"line":384,"column":61}},"220":{"start":{"line":385,"column":6},"end":{"line":390,"column":7}},"221":{"start":{"line":386,"column":8},"end":{"line":389,"column":9}},"222":{"start":{"line":387,"column":10},"end":{"line":388,"column":69}},"223":{"start":{"line":392,"column":6},"end":{"line":392,"column":50}},"224":{"start":{"line":394,"column":6},"end":{"line":398,"column":7}},"225":{"start":{"line":395,"column":8},"end":{"line":397,"column":9}},"226":{"start":{"line":396,"column":10},"end":{"line":396,"column":90}},"227":{"start":{"line":396,"column":73},"end":{"line":396,"column":86}},"228":{"start":{"line":400,"column":6},"end":{"line":400,"column":83}},"229":{"start":{"line":400,"column":66},"end":{"line":400,"column":79}},"230":{"start":{"line":402,"column":6},"end":{"line":402,"column":62}},"231":{"start":{"line":403,"column":6},"end":{"line":412,"column":7}},"232":{"start":{"line":404,"column":8},"end":{"line":410,"column":9}},"233":{"start":{"line":407,"column":10},"end":{"line":409,"column":98}},"234":{"start":{"line":411,"column":8},"end":{"line":411,"column":35}},"235":{"start":{"line":415,"column":6},"end":{"line":415,"column":54}},"236":{"start":{"line":416,"column":6},"end":{"line":416,"column":71}},"237":{"start":{"line":417,"column":6},"end":{"line":417,"column":38}},"238":{"start":{"line":418,"column":6},"end":{"line":418,"column":61}},"239":{"start":{"line":419,"column":6},"end":{"line":419,"column":62}},"240":{"start":{"line":422,"column":4},"end":{"line":446,"column":5}},"241":{"start":{"line":423,"column":6},"end":{"line":426,"column":7}},"242":{"start":{"line":424,"column":8},"end":{"line":424,"column":29}},"243":{"start":{"line":425,"column":8},"end":{"line":425,"column":15}},"244":{"start":{"line":428,"column":6},"end":{"line":431,"column":7}},"245":{"start":{"line":429,"column":8},"end":{"line":429,"column":79}},"246":{"start":{"line":430,"column":8},"end":{"line":430,"column":15}},"247":{"start":{"line":433,"column":6},"end":{"line":442,"column":7}},"248":{"start":{"line":434,"column":8},"end":{"line":434,"column":45}},"249":{"start":{"line":435,"column":8},"end":{"line":435,"column":32}},"250":{"start":{"line":437,"column":8},"end":{"line":437,"column":45}},"251":{"start":{"line":438,"column":8},"end":{"line":441,"column":9}},"252":{"start":{"line":439,"column":10},"end":{"line":439,"column":45}},"253":{"start":{"line":440,"column":10},"end":{"line":440,"column":38}},"254":{"start":{"line":445,"column":6},"end":{"line":445,"column":27},"skip":true},"255":{"start":{"line":448,"column":4},"end":{"line":448,"column":17}}},"branchMap":{"1":{"line":23,"type":"cond-expr","locations":[{"start":{"line":23,"column":67},"end":{"line":23,"column":84}},{"start":{"line":23,"column":87},"end":{"line":23,"column":88}}]},"2":{"line":23,"type":"binary-expr","locations":[{"start":{"line":23,"column":21},"end":{"line":23,"column":28}},{"start":{"line":23,"column":32},"end":{"line":23,"column":63}}]},"3":{"line":24,"type":"cond-expr","locations":[{"start":{"line":24,"column":63},"end":{"line":24,"column":78}},{"start":{"line":24,"column":81},"end":{"line":24,"column":86}}]},"4":{"line":24,"type":"binary-expr","locations":[{"start":{"line":24,"column":19},"end":{"line":24,"column":26}},{"start":{"line":24,"column":30},"end":{"line":24,"column":59}}]},"5":{"line":25,"type":"cond-expr","locations":[{"start":{"line":25,"column":65},"end":{"line":25,"column":81}},{"start":{"line":25,"column":84},"end":{"line":25,"column":90}}]},"6":{"line":25,"type":"binary-expr","locations":[{"start":{"line":25,"column":20},"end":{"line":25,"column":27}},{"start":{"line":25,"column":31},"end":{"line":25,"column":61}}]},"7":{"line":26,"type":"cond-expr","locations":[{"start":{"line":26,"column":65},"end":{"line":26,"column":81}},{"start":{"line":26,"column":84},"end":{"line":26,"column":89}}]},"8":{"line":26,"type":"binary-expr","locations":[{"start":{"line":26,"column":20},"end":{"line":26,"column":27}},{"start":{"line":26,"column":31},"end":{"line":26,"column":61}}]},"9":{"line":27,"type":"cond-expr","locations":[{"start":{"line":27,"column":47},"end":{"line":27,"column":62}},{"start":{"line":27,"column":65},"end":{"line":27,"column":67}}]},"10":{"line":27,"type":"binary-expr","locations":[{"start":{"line":27,"column":18},"end":{"line":27,"column":25}},{"start":{"line":27,"column":29},"end":{"line":27,"column":44}}]},"11":{"line":33,"type":"switch","locations":[{"start":{"line":34,"column":8},"end":{"line":34,"column":22}},{"start":{"line":35,"column":8},"end":{"line":35,"column":22}},{"start":{"line":36,"column":8},"end":{"line":38,"column":16}},{"start":{"line":39,"column":8},"end":{"line":49,"column":16}},{"start":{"line":50,"column":8},"end":{"line":52,"column":16}}]},"12":{"line":40,"type":"if","locations":[{"start":{"line":40,"column":10},"end":{"line":40,"column":10}},{"start":{"line":40,"column":10},"end":{"line":40,"column":10}}]},"13":{"line":42,"type":"binary-expr","locations":[{"start":{"line":42,"column":27},"end":{"line":42,"column":39}},{"start":{"line":42,"column":43},"end":{"line":42,"column":45}}]},"14":{"line":46,"type":"binary-expr","locations":[{"start":{"line":46,"column":27},"end":{"line":46,"column":39}},{"start":{"line":46,"column":43},"end":{"line":46,"column":45}}]},"15":{"line":59,"type":"if","locations":[{"start":{"line":59,"column":6},"end":{"line":59,"column":6}},{"start":{"line":59,"column":6},"end":{"line":59,"column":6}}]},"16":{"line":59,"type":"binary-expr","locations":[{"start":{"line":59,"column":10},"end":{"line":59,"column":14}},{"start":{"line":59,"column":18},"end":{"line":59,"column":33}}]},"17":{"line":61,"type":"if","locations":[{"start":{"line":61,"column":8},"end":{"line":61,"column":8}},{"start":{"line":61,"column":8},"end":{"line":61,"column":8}}]},"18":{"line":73,"type":"cond-expr","locations":[{"start":{"line":73,"column":56},"end":{"line":73,"column":62}},{"start":{"line":73,"column":65},"end":{"line":73,"column":82}}]},"19":{"line":123,"type":"switch","locations":[{"start":{"line":124,"column":6},"end":{"line":135,"column":14}},{"start":{"line":136,"column":6},"end":{"line":136,"column":20}},{"start":{"line":137,"column":6},"end":{"line":137,"column":20}},{"start":{"line":138,"column":6},"end":{"line":138,"column":21}},{"start":{"line":139,"column":6},"end":{"line":139,"column":22}},{"start":{"line":140,"column":6},"end":{"line":140,"column":20}},{"start":{"line":141,"column":6},"end":{"line":141,"column":23}},{"start":{"line":142,"column":6},"end":{"line":146,"column":14}}]},"20":{"line":125,"type":"if","locations":[{"start":{"line":125,"column":8},"end":{"line":125,"column":8}},{"start":{"line":125,"column":8},"end":{"line":125,"column":8}}]},"21":{"line":153,"type":"switch","locations":[{"start":{"line":154,"column":6},"end":{"line":154,"column":17}},{"start":{"line":155,"column":6},"end":{"line":155,"column":20}},{"start":{"line":156,"column":6},"end":{"line":170,"column":14}},{"start":{"line":171,"column":6},"end":{"line":171,"column":18}},{"start":{"line":172,"column":6},"end":{"line":183,"column":14}},{"start":{"line":184,"column":6},"end":{"line":184,"column":18}},{"start":{"line":185,"column":6},"end":{"line":187,"column":14}}]},"22":{"line":157,"type":"if","locations":[{"start":{"line":157,"column":8},"end":{"line":157,"column":8}},{"start":{"line":157,"column":8},"end":{"line":157,"column":8}}]},"23":{"line":158,"type":"if","locations":[{"start":{"line":158,"column":10},"end":{"line":158,"column":10}},{"start":{"line":158,"column":10},"end":{"line":158,"column":10}}]},"24":{"line":173,"type":"if","locations":[{"start":{"line":173,"column":8},"end":{"line":173,"column":8}},{"start":{"line":173,"column":8},"end":{"line":173,"column":8}}]},"25":{"line":211,"type":"if","locations":[{"start":{"line":211,"column":8},"end":{"line":211,"column":8}},{"start":{"line":211,"column":8},"end":{"line":211,"column":8}}]},"26":{"line":215,"type":"binary-expr","locations":[{"start":{"line":215,"column":33},"end":{"line":215,"column":55}},{"start":{"line":215,"column":59},"end":{"line":215,"column":61}}]},"27":{"line":221,"type":"if","locations":[{"start":{"line":221,"column":8},"end":{"line":221,"column":8}},{"start":{"line":221,"column":8},"end":{"line":221,"column":8}}]},"28":{"line":223,"type":"if","locations":[{"start":{"line":223,"column":10},"end":{"line":223,"column":10}},{"start":{"line":223,"column":10},"end":{"line":223,"column":10}}]},"29":{"line":230,"type":"if","locations":[{"start":{"line":230,"column":10},"end":{"line":230,"column":10}},{"start":{"line":230,"column":10},"end":{"line":230,"column":10}}]},"30":{"line":230,"type":"binary-expr","locations":[{"start":{"line":230,"column":14},"end":{"line":230,"column":34}},{"start":{"line":230,"column":38},"end":{"line":230,"column":56}}]},"31":{"line":244,"type":"switch","locations":[{"start":{"line":245,"column":8},"end":{"line":245,"column":19}},{"start":{"line":246,"column":8},"end":{"line":246,"column":22}},{"start":{"line":247,"column":8},"end":{"line":247,"column":23}},{"start":{"line":248,"column":8},"end":{"line":248,"column":20}},{"start":{"line":249,"column":8},"end":{"line":251,"column":16}},{"start":{"line":252,"column":8},"end":{"line":252,"column":20}},{"start":{"line":253,"column":8},"end":{"line":254,"column":16}}]},"32":{"line":262,"type":"binary-expr","locations":[{"start":{"line":262,"column":17},"end":{"line":262,"column":26}},{"start":{"line":262,"column":30},"end":{"line":262,"column":32}}]},"33":{"line":276,"type":"binary-expr","locations":[{"start":{"line":276,"column":18},"end":{"line":276,"column":27}},{"start":{"line":276,"column":31},"end":{"line":276,"column":33}}]},"34":{"line":278,"type":"switch","locations":[{"start":{"line":279,"column":8},"end":{"line":279,"column":19}},{"start":{"line":280,"column":8},"end":{"line":288,"column":16}},{"start":{"line":289,"column":8},"end":{"line":298,"column":16}},{"start":{"line":299,"column":8},"end":{"line":308,"column":16}},{"start":{"line":309,"column":8},"end":{"line":309,"column":20}},{"start":{"line":310,"column":8},"end":{"line":310,"column":20}},{"start":{"line":311,"column":8},"end":{"line":312,"column":16}}]},"35":{"line":282,"type":"if","locations":[{"start":{"line":282,"column":12},"end":{"line":282,"column":12}},{"start":{"line":282,"column":12},"end":{"line":282,"column":12}}]},"36":{"line":291,"type":"if","locations":[{"start":{"line":291,"column":12},"end":{"line":291,"column":12}},{"start":{"line":291,"column":12},"end":{"line":291,"column":12}}]},"37":{"line":294,"type":"if","locations":[{"start":{"line":294,"column":17},"end":{"line":294,"column":17}},{"start":{"line":294,"column":17},"end":{"line":294,"column":17}}]},"38":{"line":301,"type":"if","locations":[{"start":{"line":301,"column":12},"end":{"line":301,"column":12}},{"start":{"line":301,"column":12},"end":{"line":301,"column":12}}]},"39":{"line":304,"type":"if","locations":[{"start":{"line":304,"column":17},"end":{"line":304,"column":17}},{"start":{"line":304,"column":17},"end":{"line":304,"column":17}}]},"40":{"line":316,"type":"if","locations":[{"start":{"line":316,"column":8},"end":{"line":316,"column":8}},{"start":{"line":316,"column":8},"end":{"line":316,"column":8}}]},"41":{"line":338,"type":"if","locations":[{"start":{"line":338,"column":8},"end":{"line":338,"column":8}},{"start":{"line":338,"column":8},"end":{"line":338,"column":8}}]},"42":{"line":338,"type":"binary-expr","locations":[{"start":{"line":338,"column":12},"end":{"line":338,"column":46}},{"start":{"line":338,"column":50},"end":{"line":338,"column":61}}]},"43":{"line":348,"type":"if","locations":[{"start":{"line":348,"column":8},"end":{"line":348,"column":8}},{"start":{"line":348,"column":8},"end":{"line":348,"column":8}}]},"44":{"line":348,"type":"binary-expr","locations":[{"start":{"line":348,"column":12},"end":{"line":348,"column":46}},{"start":{"line":348,"column":50},"end":{"line":348,"column":61}}]},"45":{"line":367,"type":"if","locations":[{"start":{"line":367,"column":8},"end":{"line":367,"column":8}},{"start":{"line":367,"column":8},"end":{"line":367,"column":8}}]},"46":{"line":367,"type":"binary-expr","locations":[{"start":{"line":367,"column":12},"end":{"line":367,"column":46}},{"start":{"line":367,"column":50},"end":{"line":367,"column":58}}]},"47":{"line":379,"type":"if","locations":[{"start":{"line":379,"column":8},"end":{"line":379,"column":8}},{"start":{"line":379,"column":8},"end":{"line":379,"column":8}}]},"48":{"line":386,"type":"if","locations":[{"start":{"line":386,"column":8},"end":{"line":386,"column":8}},{"start":{"line":386,"column":8},"end":{"line":386,"column":8}}]},"49":{"line":395,"type":"if","locations":[{"start":{"line":395,"column":8},"end":{"line":395,"column":8}},{"start":{"line":395,"column":8},"end":{"line":395,"column":8}}]},"50":{"line":403,"type":"if","locations":[{"start":{"line":403,"column":6},"end":{"line":403,"column":6}},{"start":{"line":403,"column":6},"end":{"line":403,"column":6}}]},"51":{"line":404,"type":"if","locations":[{"start":{"line":404,"column":8},"end":{"line":404,"column":8}},{"start":{"line":404,"column":8},"end":{"line":404,"column":8}}]},"52":{"line":404,"type":"binary-expr","locations":[{"start":{"line":404,"column":12},"end":{"line":404,"column":33}},{"start":{"line":405,"column":12},"end":{"line":405,"column":38}},{"start":{"line":406,"column":12},"end":{"line":406,"column":49}}]},"53":{"line":415,"type":"binary-expr","locations":[{"start":{"line":415,"column":28},"end":{"line":415,"column":47}},{"start":{"line":415,"column":51},"end":{"line":415,"column":53}}]},"54":{"line":417,"type":"binary-expr","locations":[{"start":{"line":417,"column":20},"end":{"line":417,"column":31}},{"start":{"line":417,"column":35},"end":{"line":417,"column":37}}]},"55":{"line":423,"type":"if","locations":[{"start":{"line":423,"column":6},"end":{"line":423,"column":6}},{"start":{"line":423,"column":6},"end":{"line":423,"column":6}}]},"56":{"line":428,"type":"if","locations":[{"start":{"line":428,"column":6},"end":{"line":428,"column":6}},{"start":{"line":428,"column":6},"end":{"line":428,"column":6}}]},"57":{"line":433,"type":"if","locations":[{"start":{"line":433,"column":6},"end":{"line":433,"column":6}},{"start":{"line":433,"column":6},"end":{"line":433,"column":6}}]},"58":{"line":438,"type":"if","locations":[{"start":{"line":438,"column":8},"end":{"line":438,"column":8}},{"start":{"line":438,"column":8},"end":{"line":438,"column":8}}]}}}}

@@ -29,6 +29,2 @@ /*

if (file.isNull()) {
return callback(null, file);
}
function deepMap(target, source, map) {

@@ -103,2 +99,3 @@ var value;

/*
function findPatch(patch, op, path) {

@@ -113,2 +110,3 @@ for (var i in patch) {

}
*/

@@ -163,2 +161,5 @@ function findValue(obj, path) {

if (typeof rawOp.value === 'object') {
if (rawOp.op === 'remove') {
operations.push(rawOp);
}
fragmentObject(rawOp.value, rawOp.path).forEach(function (op) {

@@ -179,3 +180,3 @@ for (var p in op) {

for (var p in op) {
operations.push({ op: rawOp.op, from: rawOp.from + p, path: rawOp.path + p });
operations.push({ op: rawOp.op, from: rawOp.from + p, path: rawOp.path + p, value: rawOp.value[p.substr(1)] });
}

@@ -239,3 +240,3 @@ });

item.path = item2.path;
delete item.value;
//delete item.value;
item2.op = 'noop';

@@ -449,2 +450,3 @@ }

/* istanbul ignore next: non-null, non-stream, non-buffer file should not come */
callback(null, file);

@@ -451,0 +453,0 @@ }

{
"name": "gulp-i18n-leverage",
"version": "0.0.20",
"version": "0.0.21",
"description": "Merge changes in default JSON into localized JSON for i18n-behavior",

@@ -5,0 +5,0 @@ "main": "index.js",

[![Build Status](https://travis-ci.org/t2ym/gulp-i18n-leverage.svg?branch=master)](https://travis-ci.org/t2ym/gulp-i18n-leverage)
[![Coverage Status](https://coveralls.io/repos/github/t2ym/gulp-i18n-leverage/badge.svg?branch=master)](https://coveralls.io/github/t2ym/gulp-i18n-leverage?branch=master)

@@ -3,0 +4,0 @@ # gulp-i18n-leverage

{
"fr": {
"simple-text-element-empty-json": {
"error-element": {
"meta": {
"todo": []
}
},
"simple-text-element": {
"meta": {
"todo": []
},
"model": {},
"text": "fr outermost text at the beginning ",
"h1_3": "fr outermost header 1",
"text_4": "fr outermost text in the middle ",
"span_5": "fr simple text without id",
"span_6": "fr simple text without id 2",
"label-1": "fr simple text with id",
"label-2": "fr simple text with id 2",
"div_9:span": "fr simple text within div",
"div_9:span_1": "fr simple text within div 2",
"div_9:div_2:div": "fr great grandchild text within div",
"div_10:text": "fr simple text as the first element in div ",
"div_10:span_1": "fr simple text within div",
"div_10:text_2": "fr simple text in the middle of div ",
"div_10:span_3": "fr simple text within div 2",
"div_10:div_4:div": "fr great grandchild text within div",
"div_10:text_5": "fr simple text at the last element in div ",
"toplevel-div:span": "fr simple text within div",
"toplevel-div:span_1": "fr simple text within div 2",
"third-level-div": "fr great grandchild text within div",
"second-level-div:div_1": "fr great grandchild text within div without id",
"div_12:ul:li": "fr line item without id 1",
"div_12:ul:li_1": "fr line item without id 2",
"div_12:ul:li_2": "fr line item without id 3",
"line-items:li": "fr line item with id 1",
"line-items:li_1": "fr line item with id 2",
"line-items:li_2": "fr line item with id 3",
"p_13": [
"fr A paragraph with {1} is converted to {2}.",
"fr parameters",
"fr <i18n-format>"
],
"paragraph": [
"fr A paragraph with {1} is converted to {2}.",
"fr id",
"fr <i18n-format>"
],
"text_15": "fr outermost text at the end "
},
"simple-text-element-empty": {
"meta": {
"todo": [

@@ -212,3 +260,3 @@ {

},
"simple-text-element-empty": {
"simple-text-element-empty-json": {
"meta": {

@@ -426,3 +474,23 @@ "todo": [

{
"op": "replace",
"path": "/renamed-second-level-div:div_1",
"value": "great grandchild text within div without id"
},
{
"op": "add",
"path": "/renamed-manual-object/name2",
"value": "name 2"
},
{
"op": "add",
"path": "/renamed-manual-object/name3",
"value": "name 3"
},
{
"op": "add",
"path": "/renamed-paragraph/1",
"value": "id"
},
{
"op": "add",
"path": "/added-1",

@@ -549,5 +617,10 @@ "value": "added text 1"

"fr A paragraph with {1} is converted to {2}.",
"fr id",
"id",
"fr <i18n-format>"
],
"renamed-manual-object": {
"name1": "fr name 1",
"name2": "name 2",
"name3": "name 3"
},
"text_15": "fr outermost text at the end ",

@@ -558,5 +631,51 @@ "added-1": "added text 1",

},
"simple-text-element": {
"fallback-text-element": {
"meta": {
"todo": []
"todo": [
{
"op": "add",
"path": "/div_9:span",
"value": "simple text within div"
},
{
"op": "add",
"path": "/div_9:span_1",
"value": "simple text within div 2"
},
{
"op": "add",
"path": "/div_9:div_2:div",
"value": "great grandchild text within div"
},
{
"op": "add",
"path": "/div_10:text",
"value": " simple text as the first element in div "
},
{
"op": "add",
"path": "/div_10:span_1",
"value": "simple text within div"
},
{
"op": "add",
"path": "/div_10:text_2",
"value": " simple text in the middle of div "
},
{
"op": "add",
"path": "/div_10:span_3",
"value": "simple text within div 2"
},
{
"op": "add",
"path": "/div_10:div_4:div",
"value": "great grandchild text within div"
},
{
"op": "add",
"path": "/div_10:text_5",
"value": " simple text at the last element in div "
}
]
},

@@ -571,11 +690,11 @@ "model": {},

"label-2": "fr simple text with id 2",
"div_9:span": "fr simple text within div",
"div_9:span_1": "fr simple text within div 2",
"div_9:div_2:div": "fr great grandchild text within div",
"div_10:text": "fr simple text as the first element in div ",
"div_10:span_1": "fr simple text within div",
"div_10:text_2": "fr simple text in the middle of div ",
"div_10:span_3": "fr simple text within div 2",
"div_10:div_4:div": "fr great grandchild text within div",
"div_10:text_5": "fr simple text at the last element in div ",
"div_9:span": "simple text within div",
"div_9:span_1": "simple text within div 2",
"div_9:div_2:div": "great grandchild text within div",
"div_10:text": " simple text as the first element in div ",
"div_10:span_1": "simple text within div",
"div_10:text_2": " simple text in the middle of div ",
"div_10:span_3": "simple text within div 2",
"div_10:div_4:div": "great grandchild text within div",
"div_10:text_5": " simple text at the last element in div ",
"toplevel-div:span": "fr simple text within div",

@@ -605,3 +724,6 @@ "toplevel-div:span_1": "fr simple text within div 2",

"": {
"simple-text-element-empty-json": {
"error-element": {
"meta": {}
},
"simple-text-element": {
"meta": {},

@@ -688,2 +810,43 @@ "model": {},

},
"simple-text-element-empty-json": {
"meta": {},
"model": {},
"text": " outermost text at the beginning ",
"h1_3": "outermost header 1",
"text_4": " outermost text in the middle ",
"span_5": "simple text without id",
"span_6": "simple text without id 2",
"label-1": "simple text with id",
"label-2": "simple text with id 2",
"div_9:span": "simple text within div",
"div_9:span_1": "simple text within div 2",
"div_9:div_2:div": "great grandchild text within div",
"div_10:text": " simple text as the first element in div ",
"div_10:span_1": "simple text within div",
"div_10:text_2": " simple text in the middle of div ",
"div_10:span_3": "simple text within div 2",
"div_10:div_4:div": "great grandchild text within div",
"div_10:text_5": " simple text at the last element in div ",
"toplevel-div:span": "simple text within div",
"toplevel-div:span_1": "simple text within div 2",
"third-level-div": "great grandchild text within div",
"second-level-div:div_1": "great grandchild text within div without id",
"div_12:ul:li": "line item without id 1",
"div_12:ul:li_1": "line item without id 2",
"div_12:ul:li_2": "line item without id 3",
"line-items:li": "line item with id 1",
"line-items:li_1": "line item with id 2",
"line-items:li_2": "line item with id 3",
"p_13": [
"A paragraph with {1} is converted to {2}.",
"parameters",
"<i18n-format>"
],
"paragraph": [
"A paragraph with {1} is converted to {2}.",
"id",
"<i18n-format>"
],
"text_15": " outermost text at the end "
},
"simple-text-element-updated": {

@@ -725,2 +888,6 @@ "meta": {},

],
"renamed-manual-object": {
"name1": "name 1",
"name2": "name 2"
},
"text_15": " outermost text at the end ",

@@ -731,3 +898,3 @@ "added-1": "added text 1",

},
"simple-text-element": {
"fallback-text-element": {
"meta": {},

@@ -773,3 +940,235 @@ "model": {},

}
},
"fr-CA": {
"fallback-text-element": {
"meta": {
"todo": [
{
"op": "add",
"path": "/div_9:span",
"value": "simple text within div"
},
{
"op": "add",
"path": "/div_9:span_1",
"value": "simple text within div 2"
},
{
"op": "add",
"path": "/div_9:div_2:div",
"value": "great grandchild text within div"
},
{
"op": "add",
"path": "/div_10:text",
"value": " simple text as the first element in div "
},
{
"op": "add",
"path": "/div_10:text_2",
"value": " simple text in the middle of div "
},
{
"op": "add",
"path": "/div_10:span_3",
"value": "simple text within div 2"
},
{
"op": "add",
"path": "/div_10:div_4:div",
"value": "great grandchild text within div"
},
{
"op": "add",
"path": "/div_10:text_5",
"value": " simple text at the last element in div "
},
{
"op": "add",
"path": "/div_12:ul:li",
"value": "fr line item without id 1"
},
{
"op": "add",
"path": "/div_12:ul:li_1",
"value": "fr line item without id 2"
},
{
"op": "add",
"path": "/div_12:ul:li_2",
"value": "fr line item without id 3"
},
{
"op": "add",
"path": "/line-items:li",
"value": "fr line item with id 1"
},
{
"op": "add",
"path": "/line-items:li_1",
"value": "fr line item with id 2"
},
{
"op": "add",
"path": "/line-items:li_2",
"value": "fr line item with id 3"
}
]
},
"model": {},
"text": "fr-CA outermost text at the beginning ",
"h1_3": "fr-CA outermost header 1",
"text_4": "fr-CA outermost text in the middle ",
"span_5": "fr-CA simple text without id",
"span_6": "fr-CA simple text without id 2",
"label-1": "fr-CA simple text with id",
"label-2": "fr-CA simple text with id 2",
"div_9:span": "simple text within div",
"div_9:span_1": "simple text within div 2",
"div_9:div_2:div": "great grandchild text within div",
"div_10:text": " simple text as the first element in div ",
"div_10:span_1": "fr-CA simple text within div",
"div_10:text_2": " simple text in the middle of div ",
"div_10:span_3": "simple text within div 2",
"div_10:div_4:div": "great grandchild text within div",
"div_10:text_5": " simple text at the last element in div ",
"toplevel-div:span": "fr-CA simple text within div",
"toplevel-div:span_1": "fr-CA simple text within div 2",
"third-level-div": "fr-CA great grandchild text within div",
"second-level-div:div_1": "fr-CA great grandchild text within div without id",
"div_12:ul:li": "fr line item without id 1",
"div_12:ul:li_1": "fr line item without id 2",
"div_12:ul:li_2": "fr line item without id 3",
"line-items:li": "fr line item with id 1",
"line-items:li_1": "fr line item with id 2",
"line-items:li_2": "fr line item with id 3",
"p_13": [
"fr-CA A paragraph with {1} is converted to {2}.",
"fr-CA parameters",
"fr-CA <i18n-format>"
],
"paragraph": [
"fr-CA A paragraph with {1} is converted to {2}.",
"fr-CA id",
"fr-CA <i18n-format>"
],
"text_15": "fr-CA outermost text at the end "
}
},
"zh-Hans-CN": {
"fallback-text-element": {
"meta": {
"todo": [
{
"op": "add",
"path": "/div_9:span",
"value": "simple text within div"
},
{
"op": "add",
"path": "/div_9:span_1",
"value": "simple text within div 2"
},
{
"op": "add",
"path": "/div_9:div_2:div",
"value": "great grandchild text within div"
},
{
"op": "add",
"path": "/div_10:text",
"value": " simple text as the first element in div "
},
{
"op": "add",
"path": "/div_10:text_2",
"value": " simple text in the middle of div "
},
{
"op": "add",
"path": "/div_10:span_3",
"value": "simple text within div 2"
},
{
"op": "add",
"path": "/div_10:div_4:div",
"value": "great grandchild text within div"
},
{
"op": "add",
"path": "/div_10:text_5",
"value": " simple text at the last element in div "
},
{
"op": "add",
"path": "/div_12:ul:li",
"value": "line item without id 1"
},
{
"op": "add",
"path": "/div_12:ul:li_1",
"value": "line item without id 2"
},
{
"op": "add",
"path": "/div_12:ul:li_2",
"value": "line item without id 3"
},
{
"op": "add",
"path": "/line-items:li",
"value": "line item with id 1"
},
{
"op": "add",
"path": "/line-items:li_1",
"value": "line item with id 2"
},
{
"op": "add",
"path": "/line-items:li_2",
"value": "line item with id 3"
}
]
},
"model": {},
"text": "zh-Hans-CN outermost text at the beginning ",
"h1_3": "zh-Hans-CN outermost header 1",
"text_4": "zh-Hans-CN outermost text in the middle ",
"span_5": "zh-Hans-CN simple text without id",
"span_6": "zh-Hans-CN simple text without id 2",
"label-1": "zh-Hans-CN simple text with id",
"label-2": "zh-Hans-CN simple text with id 2",
"div_9:span": "simple text within div",
"div_9:span_1": "simple text within div 2",
"div_9:div_2:div": "great grandchild text within div",
"div_10:text": " simple text as the first element in div ",
"div_10:span_1": "zh-Hans-CN simple text within div",
"div_10:text_2": " simple text in the middle of div ",
"div_10:span_3": "simple text within div 2",
"div_10:div_4:div": "great grandchild text within div",
"div_10:text_5": " simple text at the last element in div ",
"toplevel-div:span": "zh-Hans-CN simple text within div",
"toplevel-div:span_1": "zh-Hans-CN simple text within div 2",
"third-level-div": "zh-Hans-CN great grandchild text within div",
"second-level-div:div_1": "zh-Hans-CN great grandchild text within div without id",
"div_12:ul:li": "line item without id 1",
"div_12:ul:li_1": "line item without id 2",
"div_12:ul:li_2": "line item without id 3",
"line-items:li": "line item with id 1",
"line-items:li_1": "line item with id 2",
"line-items:li_2": "line item with id 3",
"p_13": [
"zh-Hans-CN A paragraph with {1} is converted to {2}.",
"zh-Hans-CN parameters",
"zh-Hans-CN <i18n-format>"
],
"paragraph": [
"zh-Hans-CN A paragraph with {1} is converted to {2}.",
"zh-Hans-CN id",
"zh-Hans-CN <i18n-format>"
],
"text_15": "zh-Hans-CN outermost text at the end "
}
}
}

@@ -5,3 +5,23 @@ {

{
"op": "replace",
"path": "/renamed-second-level-div:div_1",
"value": "great grandchild text within div without id"
},
{
"op": "add",
"path": "/renamed-manual-object/name2",
"value": "name 2"
},
{
"op": "add",
"path": "/renamed-manual-object/name3",
"value": "name 3"
},
{
"op": "add",
"path": "/renamed-paragraph/1",
"value": "id"
},
{
"op": "add",
"path": "/added-1",

@@ -128,5 +148,10 @@ "value": "added text 1"

"fr A paragraph with {1} is converted to {2}.",
"fr id",
"id",
"fr <i18n-format>"
],
"renamed-manual-object": {
"name1": "fr name 1",
"name2": "name 2",
"name3": "name 3"
},
"text_15": "fr outermost text at the end ",

@@ -133,0 +158,0 @@ "added-1": "added text 1",

@@ -37,2 +37,6 @@ {

],
"renamed-manual-object": {
"name1": "name 1",
"name2": "name 2"
},
"text_15": " outermost text at the end ",

@@ -39,0 +43,0 @@ "added-1": "added text 1",

{
"meta": {
"todo": []
"todo": [
{
"op": "replace",
"path": "/second-level-div:div_1",
"value": "great grandchild text within div without id"
},
{
"op": "add",
"path": "/manual-object/name2",
"value": "name 2"
},
{
"op": "add",
"path": "/manual-object/name3",
"value": "name 3"
},
{
"op": "add",
"path": "/extra-array/4",
"value": "array 4"
},
{
"op": "add",
"path": "/paragraph/1",
"value": "id"
}
]
},
"model": {},
"model": {
"extra-model-object": {
"attr1": {
"extra-model-1": "fr extra model 1",
"extra-model-2": "fr extra model 2",
"extra-model-inner-array": [
"fr extra model inner array 1",
"fr extra model inner array 2"
]
},
"attr2": {
"extra-attr-1": "fr extra attr 1",
"extra-attr-2": "fr extra attr 2"
}
}
},
"text": "fr outermost text at the beginning ",

@@ -39,6 +80,20 @@ "h1_3": "fr outermost header 1",

"fr A paragraph with {1} is converted to {2}.",
"fr id",
"id",
"fr <i18n-format>"
],
"manual-object": {
"name1": "fr name 1",
"name2": "name 2",
"name3": "name 3"
},
"extra-array": [
"array 1",
"fr array 2",
{
"extra-array-object-1": "fr object 1",
"extra-array-object-2": "fr object 2"
},
"array 4"
],
"text_15": "fr outermost text at the end "
}
{
"meta": {},
"model": {},
"model": {
"extra-model-object": {
"extra-model-1": "extra model 1",
"extra-model-2": "extra model 2"
}
},
"text": " outermost text at the beginning ",

@@ -40,3 +45,15 @@ "h1_3": "outermost header 1",

],
"manual-object": {
"name1": "name 1",
"name2": "name 2"
},
"extra-object": {
"extra1": "extra 1",
"extra2": "extra 2"
},
"extra-array": [
"array 1",
"array 2"
],
"text_15": " outermost text at the end "
}

@@ -131,3 +131,4 @@ /*

expectedBaseDir: 'expected',
expected: []
expected: [],
buffer: true
};

@@ -156,2 +157,23 @@

}),
s('fallback-text-element', 'simple-text-element', {
options: p({
bundles: {}
}, options_base),
targets: [ 'locales/fallback-text-element.fr-CA.json' ],
expected: fromTarget
}),
s('missing fallback-text-element', 'simple-text-element', {
options: p({
bundles: {}
}, options_base),
targets: [ 'locales/fallback-text-element.zh-Hans-CN.json' ],
expected: fromTarget
}),
s('error-element', 'simple-text-element', {
options: p({
bundles: {}
}, options_base),
targets: [ 'locales/error-element.fr.json' ],
expected: fromTarget
}),
s('absolute srcPath/distPath', 'simple-text-element', {

@@ -189,8 +211,22 @@ options: p({

}),
s('gulp no buffer', 'simple-text-element', {
gulp: true,
buffer: false,
expected: [],
throw: 'Streaming not supported'
}),
s('null file', 'simple-text-element', {
isNull: true,
expected: fromTarget
}),
s('bundles', 'simple-text-element', {
targets: [
'locales/error-element.fr.json',
'locales/simple-text-element.fr.json',
'locales/simple-text-element-empty.fr.json',
'locales/simple-text-element-empty-json.fr.json',
'locales/simple-text-element-updated.fr.json'
'locales/simple-text-element-updated.fr.json',
'locales/fallback-text-element.fr.json',
'locales/fallback-text-element.fr-CA.json',
'locales/fallback-text-element.zh-Hans-CN.json'
],

@@ -203,6 +239,10 @@ bundles: fromExpectedBundles

expected: [
'locales/error-element.fr.json',
'locales/simple-text-element.fr.json',
'locales/simple-text-element-empty.fr.json',
'locales/simple-text-element-empty-json.fr.json',
'locales/simple-text-element-updated.fr.json'
'locales/simple-text-element-updated.fr.json',
'locales/fallback-text-element.fr.json',
'locales/fallback-text-element.fr-CA.json',
'locales/fallback-text-element.zh-Hans-CN.json'
],

@@ -247,3 +287,3 @@ bundles: fromExpectedBundles

path: path.join(n2h(params.srcBaseDir), target),
contents: fs.readFileSync(path.join(n2h(params.srcBaseDir), target))
contents: params.isNull ? null : fs.readFileSync(path.join(n2h(params.srcBaseDir), target))
});

@@ -271,3 +311,3 @@ });

path: target,
contents: fs.readFileSync(target)
contents: params.isNull ? null : fs.readFileSync(target)
})

@@ -292,3 +332,3 @@ }) : null;

gulp.task('leverage', function () {
return gulp.src(inputs, { base: params.options.srcPath })
return gulp.src(inputs, { base: params.options.srcPath, buffer: params.buffer })
.pipe(through.obj(function (file, enc, callback) {

@@ -299,2 +339,11 @@ expandedInputPaths.push(file.path);

.pipe(leverage)
.on('error', function (err) {
if (params.throw) {
assert.equal(err.message, params.throw, 'Throws ' + params.throw);
done();
}
else {
throw err;
}
})
.pipe(through.obj(function (file, enc, callback) {

@@ -357,2 +406,3 @@ assert.ok(file.path && file.contents, 'get a file for ' + file.path);

outputs.forEach(function (file, index) {
console.log(file.path);
assert.ok(expectedPaths.indexOf(file.path) >= 0, file.path + ' is output');

@@ -381,6 +431,6 @@ });

path: file.path,
contents: fs.readFileSync(file.path)
contents: params.isNull ? null : fs.readFileSync(file.path)
});
}
if (file.contents.toString() !== expectedFile.contents.toString()) {
if (file.contents && file.contents.toString() !== expectedFile.contents.toString()) {
console.log('file.path = ' + file.path);

@@ -390,4 +440,10 @@ console.log('expected = ' + expectedFile.contents.toString());

}
assert.equal(file.contents.toString(), expectedFile.contents.toString(),
'get expected file contents for ' + expectedFile.path);
if (params.isNull) {
assert.ok(file.isNull(),
'get expected null file contents for ' + expectedFile.path);
}
else {
assert.equal(file.contents.toString(), expectedFile.contents.toString(),
'get expected file contents for ' + expectedFile.path);
}
});

@@ -411,3 +467,3 @@ });

}
//console.log(JSONstringify(bundles, null, 2));
//console.log('bundles = \n' + JSONstringify(bundles, null, 2));
assert.deepEqual(bundles,

@@ -414,0 +470,0 @@ expectedBundles,

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