{"_id":"defs","_rev":"46-6e6095129ba6ca32f1db37616c2dbbd8","name":"defs","description":"Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.","dist-tags":{"latest":"1.1.1"},"versions":{"0.1.0":{"name":"defs","version":"0.1.0","description":"defs","main":"defs-main.js","repository":{"type":"git","url":"https://github.com/olov/defs.git"},"dependencies":{"alter":"~0.1.0","simple-fmt":"~0.1.0","simple-is":"~0.2.0","stringmap":"~0.2.0","stringset":"~0.2.0","tryor":"~0.1.0","esprima":"~1.0.0"},"keywords":["defs","scope","blockscope","block-scope","let","const","var","es6","transpile","transpiler","lint","linter"],"scripts":{"test":"node --harmony run-tests"},"bin":{"defs":"./defs"},"author":{"name":"Olov Lassus","email":"olov.lassus@gmail.com"},"license":"MIT","_id":"defs@0.1.0","dist":{"shasum":"75df12c230eea23c66b51b4f0a60e846cb90bf83","tarball":"https://registry.npmjs.org/defs/-/defs-0.1.0.tgz","integrity":"sha512-1xfz8zrieYoiNsIRXdSFTmJIj/AMSn+YBFIE60M6kciRnQWCGYqZucbhOCwS/9dTkE76guD/aT2AG0g/Gt+SWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/Dia3deYqk73d/qEcbeETDahH3Qwg16xSP/mxxMziVAIhALg+1byQraFajsGpF3IF0++nERBPqDXNcJYhtDjl12L5"}]},"_resolved":"/tmp/defs.tgz.tgz","_from":"/tmp/defs.tgz.tgz","_npmVersion":"1.2.18","_npmUser":{"name":"olov","email":"olov.lassus@gmail.com"},"maintainers":[{"name":"olov","email":"olov.lassus@gmail.com"}],"directories":{}},"0.1.1":{"name":"defs","version":"0.1.1","description":"Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.","main":"defs-main.js","repository":{"type":"git","url":"https://github.com/olov/defs.git"},"dependencies":{"alter":"~0.1.0","simple-fmt":"~0.1.0","simple-is":"~0.2.0","stringmap":"~0.2.0","stringset":"~0.2.0","tryor":"~0.1.0","esprima":"~1.0.0"},"keywords":["defs","scope","blockscope","block-scope","let","const","var","es6","transpile","transpiler","lint","linter"],"scripts":{"test":"node --harmony run-tests"},"bin":{"defs":"./defs"},"author":{"name":"Olov Lassus","email":"olov.lassus@gmail.com"},"license":"MIT","_id":"defs@0.1.1","dist":{"shasum":"7481d56e52dd8a226662a3b8db90e67701a90bc0","tarball":"https://registry.npmjs.org/defs/-/defs-0.1.1.tgz","integrity":"sha512-B36Z4GEuUHOsfm8Pa4w+P3q2Fnsx6S9e90hXsG5h9kyOMVM5sEdRn1G5aFx40yfAEHjyEYllOyu3257WnGVb6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDaerHW0x0UZ6vah0gBLuUTiq1c8OQFYfkHK2w4ep+IqAIgaCzj/D9EDlRumQpGWLJompiKV/P7GvXqswbn6hFDWPg="}]},"_resolved":"/tmp/defs.tgz.tgz","_from":"/tmp/defs.tgz.tgz","_npmVersion":"1.2.18","_npmUser":{"name":"olov","email":"olov.lassus@gmail.com"},"maintainers":[{"name":"olov","email":"olov.lassus@gmail.com"}],"directories":{}},"0.1.2":{"name":"defs","version":"0.1.2","description":"Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.","main":"defs-main.js","repository":{"type":"git","url":"https://github.com/olov/defs.git"},"dependencies":{"alter":"~0.1.0","simple-fmt":"~0.1.0","simple-is":"~0.2.0","stringmap":"~0.2.0","stringset":"~0.2.0","tryor":"~0.1.0","esprima":"~1.0.0"},"keywords":["defs","scope","blockscope","block-scope","let","const","var","es6","transpile","transpiler","lint","linter"],"scripts":{"test":"node --harmony run-tests"},"bin":{"defs":"./defs"},"author":{"name":"Olov Lassus","email":"olov.lassus@gmail.com"},"license":"MIT","_id":"defs@0.1.2","dist":{"shasum":"e6760350920587d49e7e9d70484963bf145cf118","tarball":"https://registry.npmjs.org/defs/-/defs-0.1.2.tgz","integrity":"sha512-+A76V1pA9X5p+A5niX/ocCwq1JfQbBSwvEYpjLC9j4fTl9DMjJVvTj+Na17roZvzFzdVx+lCtg/Gd9FryLOrRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF3MA1kcgjKQKyvzycynrklOpG1EbyfNqMliGMhnC+EaAiEAvjCeXRLUw0bTwaYCYDl53J7Tha51Uow74hU20CeO5qg="}]},"_resolved":"/tmp/defs.tgz.tgz","_from":"/tmp/defs.tgz.tgz","_npmVersion":"1.2.18","_npmUser":{"name":"olov","email":"olov.lassus@gmail.com"},"maintainers":[{"name":"olov","email":"olov.lassus@gmail.com"}],"directories":{}},"0.2.0":{"name":"defs","version":"0.2.0","description":"Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.","main":"defs-main.js","repository":{"type":"git","url":"https://github.com/olov/defs.git"},"dependencies":{"alter":"~0.1.0","simple-fmt":"~0.1.0","simple-is":"~0.2.0","stringmap":"~0.2.0","stringset":"~0.2.0","tryor":"~0.1.0","esprima":"~1.0.0"},"keywords":["defs","scope","blockscope","block-scope","let","const","var","es6","transpile","transpiler","lint","linter"],"scripts":{"test":"node --harmony run-tests"},"bin":{"defs":"./defs"},"author":{"name":"Olov Lassus","email":"olov.lassus@gmail.com"},"license":"MIT","_id":"defs@0.2.0","dist":{"shasum":"3cd734db5653924e1576fab8240daa12338bc84e","tarball":"https://registry.npmjs.org/defs/-/defs-0.2.0.tgz","integrity":"sha512-JAK7dCXHDKfxe3aZBptwETuyODmd1VnoEDWp/Bo6I5jVc2f0qxzdKR9v87yMomwW4ZNOB/leSsBNcdyDtfd/7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLomdRTokkTkO0fC7kD+k1oXu3aENqD2ETwPZwd8xB/QIgSb5IwQd5jt1ANHlxtsT80gb7lhh9IwSZaXkh4PM7BEw="}]},"_resolved":"/tmp/defs.tgz","_from":"/tmp/defs.tgz","_npmVersion":"1.2.18","_npmUser":{"name":"olov","email":"olov.lassus@gmail.com"},"maintainers":[{"name":"olov","email":"olov.lassus@gmail.com"}],"directories":{}},"0.2.1":{"name":"defs","version":"0.2.1","description":"Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.","main":"defs-main.js","repository":{"type":"git","url":"https://github.com/olov/defs.git"},"dependencies":{"alter":"~0.1.0","simple-fmt":"~0.1.0","simple-is":"~0.2.0","stringmap":"~0.2.0","stringset":"~0.2.0","tryor":"~0.1.0","esprima":"~1.0.0"},"keywords":["defs","scope","blockscope","block-scope","let","const","var","es6","transpile","transpiler","lint","linter"],"scripts":{"test":"node --harmony run-tests"},"bin":{"defs":"./defs"},"author":{"name":"Olov Lassus","email":"olov.lassus@gmail.com"},"license":"MIT","_id":"defs@0.2.1","dist":{"shasum":"bba8bc3153d3d020a80fedcf62c082121938cbca","tarball":"https://registry.npmjs.org/defs/-/defs-0.2.1.tgz","integrity":"sha512-CpvcKCYiy+W4OMhDk/Yo7zws9Fuc0qHAJn9zG4DwFzjYHEMETUR82wcmA54iiWwyh1TsZDjMSLrG1Lojpqe6DA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcvm/HzCJ98b4mUDAjzQZzFhrMd2NGbznpYVR6VwB4kQIhANiatkbzjlGEgxJhy7qOFSyH04ToOmboNCg0Bf17SFPb"}]},"_resolved":"/tmp/defs.tgz.tgz","_from":"/tmp/defs.tgz.tgz","_npmVersion":"1.2.18","_npmUser":{"name":"olov","email":"olov.lassus@gmail.com"},"maintainers":[{"name":"olov","email":"olov.lassus@gmail.com"}],"directories":{}},"0.3.0":{"name":"defs","version":"0.3.0","description":"Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.","main":"defs-main.js","repository":{"type":"git","url":"https://github.com/olov/defs.git"},"dependencies":{"alter":"~0.1.0","simple-fmt":"~0.1.0","simple-is":"~0.2.0","stringmap":"~0.2.0","stringset":"~0.2.0","tryor":"~0.1.0","esprima":"~1.0.0"},"keywords":["defs","scope","blockscope","block-scope","let","const","var","es6","transpile","transpiler","lint","linter"],"scripts":{"test":"node --harmony run-tests"},"bin":{"defs":"./defs"},"author":{"name":"Olov Lassus","email":"olov.lassus@gmail.com"},"license":"MIT","_id":"defs@0.3.0","dist":{"shasum":"4099c9bdd75d5e4bd061cdaf21d5d761c6cc1258","tarball":"https://registry.npmjs.org/defs/-/defs-0.3.0.tgz","integrity":"sha512-DH7M7VwyDLcfu4DCtf5h4cLihCGqYEFcjizOt3OOpNZo8W98hS/oZFLMXoHm6U90C010TDylCKaBsBoRLnna9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH6wqcX5BIwAcmb9RCtccqC2zN77SDDM//3dZ5NaDRfqAiA20/BJJY1tMT2qgeDTyDZPrLWk8ND5FaXC7O0Yuu58sQ=="}]},"_resolved":"/tmp/defs.tgz.tgz","_from":"/tmp/defs.tgz.tgz","_npmVersion":"1.2.18","_npmUser":{"name":"olov","email":"olov.lassus@gmail.com"},"maintainers":[{"name":"olov","email":"olov.lassus@gmail.com"}],"directories":{}},"0.4.0":{"name":"defs","version":"0.4.0","description":"Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.","main":"build/es5/defs-main.js","repository":{"type":"git","url":"https://github.com/olov/defs.git"},"dependencies":{"alter":"~0.1.0","simple-fmt":"~0.1.0","simple-is":"~0.2.0","stringmap":"~0.2.0","stringset":"~0.2.0","tryor":"~0.1.0","esprima":"~1.0.0"},"keywords":["defs","scope","blockscope","block-scope","let","const","var","es6","transpile","transpiler","lint","linter"],"scripts":{"test":"node --harmony run-tests"},"bin":{"defs":"./build/es5/defs"},"author":{"name":"Olov Lassus","email":"olov.lassus@gmail.com"},"license":"MIT","_id":"defs@0.4.0","dist":{"shasum":"be27c09ecbb7541f8eaa4a0619074d0c114f1889","tarball":"https://registry.npmjs.org/defs/-/defs-0.4.0.tgz","integrity":"sha512-IPWBQ9SLIAZhj9mmH2HmZzDw5p4560E5DrTMUzjuKOcDB3fizuR/XKklq/vnr7R3clxXKBbTLXTj+FzMbo3ECQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwMUflWferj3p0FqD1ExpxJcarGAJLzMqlw4jW7ZsAoAIhAP67JyNqpBZMOdhti9yLuDw8tQtcVRHBbZSo24Wmyqb7"}]},"_resolved":"defs.tgz","_from":"defs.tgz","_npmVersion":"1.2.18","_npmUser":{"name":"olov","email":"olov.lassus@gmail.com"},"maintainers":[{"name":"olov","email":"olov.lassus@gmail.com"}],"directories":{}},"0.4.1":{"name":"defs","version":"0.4.1","description":"Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.","main":"build/es5/defs-main.js","repository":{"type":"git","url":"https://github.com/olov/defs.git"},"dependencies":{"alter":"~0.1.0","simple-fmt":"~0.1.0","simple-is":"~0.2.0","stringmap":"~0.2.0","stringset":"~0.2.0","tryor":"~0.1.0","esprima":"~1.0.0"},"keywords":["defs","scope","blockscope","block-scope","let","const","var","es6","transpile","transpiler","lint","linter"],"scripts":{"test":"node --harmony run-tests"},"bin":{"defs":"./build/es5/defs"},"author":{"name":"Olov Lassus","email":"olov.lassus@gmail.com"},"license":"MIT","_id":"defs@0.4.1","dist":{"shasum":"75def20ea1a60a2768b6556f1bb9f12dfb64154e","tarball":"https://registry.npmjs.org/defs/-/defs-0.4.1.tgz","integrity":"sha512-0W+fU2a9aNRVZsoU0bZfS6wVfzEjcM0GizAJtADWsZF8omZWdFJ3ytURnXZI06YzunkKPo6BvuVhF2mAmuQ6aw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEgpjulDZ0rF5pIn/KpKhSeELb7i7qgXuSI6eSXwlKX/AiEA2MKip1mltC2cjZSv1zoOkV11ztel8NOiRQrpAyx8lqk="}]},"_resolved":"defs.tgz","_from":"defs.tgz","_npmVersion":"1.2.18","_npmUser":{"name":"olov","email":"olov.lassus@gmail.com"},"maintainers":[{"name":"olov","email":"olov.lassus@gmail.com"}],"directories":{}},"0.4.2":{"name":"defs","version":"0.4.2","description":"Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.","main":"build/es5/defs-main.js","repository":{"type":"git","url":"https://github.com/olov/defs.git"},"dependencies":{"alter":"~0.1.0","ast-traverse":"~0.1.0","simple-fmt":"~0.1.0","simple-is":"~0.2.0","stringmap":"~0.2.0","stringset":"~0.2.0","tryor":"~0.1.0","esprima":"~1.0.0"},"keywords":["defs","scope","blockscope","block-scope","let","const","var","es6","transpile","transpiler","lint","linter"],"scripts":{"test":"node --harmony run-tests"},"bin":{"defs":"./build/es5/defs"},"author":{"name":"Olov Lassus","email":"olov.lassus@gmail.com"},"license":"MIT","_id":"defs@0.4.2","dist":{"shasum":"73e02816633c8e0d6a9ee392b85e49f1ba275b30","tarball":"https://registry.npmjs.org/defs/-/defs-0.4.2.tgz","integrity":"sha512-m0J0HRQLiELga4dKwslJBZ/HGI9lXZcGXRXXs9uuO3wEzmGyPuac7MWN6+dJvViIDEekmzPOd/mhwkc1VYrUHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAHwQ+/ZjRE1Zruo6Ex44sKD7pf2JOGyj8G+OgLtsPgpAiEAz1Cwgpje5YrisE6F+BIzKXIWHN1gr4zPt2htaCgJqdA="}]},"_resolved":"npm/defs.tgz","_from":"npm/defs.tgz","_npmVersion":"1.2.18","_npmUser":{"name":"olov","email":"olov.lassus@gmail.com"},"maintainers":[{"name":"olov","email":"olov.lassus@gmail.com"}]},"0.4.3":{"name":"defs","version":"0.4.3","description":"Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.","main":"build/es5/defs-main.js","repository":{"type":"git","url":"https://github.com/olov/defs.git"},"dependencies":{"alter":"~0.1.0","ast-traverse":"~0.1.0","simple-fmt":"~0.1.0","simple-is":"~0.2.0","stringmap":"~0.2.0","stringset":"~0.2.0","tryor":"~0.1.0","esprima":"~1.0.0"},"keywords":["defs","scope","blockscope","block-scope","let","const","var","es6","transpile","transpiler","lint","linter"],"scripts":{"test":"node --harmony run-tests"},"bin":{"defs":"./build/es5/defs"},"author":{"name":"Olov Lassus","email":"olov.lassus@gmail.com"},"license":"MIT","_id":"defs@0.4.3","dist":{"shasum":"db5242eb1391c09d77cade8fba8dc3af74fc6c0d","tarball":"https://registry.npmjs.org/defs/-/defs-0.4.3.tgz","integrity":"sha512-QXnaneRy3oYpIoh5U2Is3p5/D31f+my4AI4uBckNj+sJHmAnwKRQRHHn7UtfEVetq3XfqyL75MjZzuBiSP9VxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCO5c6fOMjxhPaE51Ms5acdZ2JHBMlXO272Y+FY1EH0WgIhALe2hxeJIqSivPnyY1SYe5odWfKBm3uKeT2y1zddgRKJ"}]},"_resolved":"defs.tgz","_from":"defs.tgz","_npmVersion":"1.2.18","_npmUser":{"name":"olov","email":"olov.lassus@gmail.com"},"maintainers":[{"name":"olov","email":"olov.lassus@gmail.com"}]},"0.5.0":{"name":"defs","version":"0.5.0","description":"Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.","main":"build/es5/defs-main.js","repository":{"type":"git","url":"https://github.com/olov/defs.git"},"dependencies":{"alter":"~0.2.0","breakable":"~0.1.0","ast-traverse":"~0.1.1","simple-fmt":"~0.1.0","simple-is":"~0.2.0","stringmap":"~0.2.2","stringset":"~0.2.1","tryor":"~0.1.2","esprima":"~1.0.0"},"devDependencies":{"diff":"~1.0.7"},"keywords":["defs","scope","blockscope","block-scope","let","const","var","es6","transpile","transpiler","lint","linter"],"scripts":{"test":"node --harmony run-tests"},"bin":{"defs":"./build/es5/defs"},"author":{"name":"Olov Lassus","email":"olov.lassus@gmail.com"},"license":"MIT","_id":"defs@0.5.0","dist":{"shasum":"3c0a32d122385dd43eb951a8a3cfa7f537bb47ec","tarball":"https://registry.npmjs.org/defs/-/defs-0.5.0.tgz","integrity":"sha512-IKGFqWFP0GTkzimUs/ZCogwqw1R2zmeW2s5bp7FwzijGLWixenUkfSouPOvOAXKdrNaqEhYJ9PyZd1FIytmEgw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWmQdAsTh39Ko+x+Usaq3+JZlRaA/aUMM9ez+e56tOVwIhAP0j0IobutqWzY2/81cbBdwowSS68PkQ4Y327LJQHZ2m"}]},"_resolved":"npm/defs.tgz","_from":"npm/defs.tgz","_npmVersion":"1.2.18","_npmUser":{"name":"olov","email":"olov.lassus@gmail.com"},"maintainers":[{"name":"olov","email":"olov.lassus@gmail.com"}]},"0.6.0":{"name":"defs","version":"0.6.0","description":"Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.","main":"build/es5/defs-main.js","repository":{"type":"git","url":"https://github.com/olov/defs.git"},"dependencies":{"alter":"~0.2.0","breakable":"~0.1.0","ast-traverse":"~0.1.1","simple-fmt":"~0.1.0","simple-is":"~0.2.0","stringmap":"~0.2.2","stringset":"~0.2.1","tryor":"~0.1.2","esprima":"~1.0.0"},"devDependencies":{"diff":"~1.0.7"},"keywords":["defs","scope","blockscope","block-scope","let","const","var","es6","transpile","transpiler","lint","linter"],"scripts":{"test":"node --harmony run-tests"},"bin":{"defs":"./build/es5/defs"},"author":{"name":"Olov Lassus","email":"olov.lassus@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/olov/defs/issues"},"_id":"defs@0.6.0","dist":{"shasum":"3070b3ac815cea7c01c9f9caf2d0ec28db39bfb7","tarball":"https://registry.npmjs.org/defs/-/defs-0.6.0.tgz","integrity":"sha512-idvQrsXp2heQggc+STD0htFknxcPYjrC7OsIq0v0xOml52/3/hptT1p0olr+x4rCCocEhGOjyS/etPJpXOcP3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE12WPiW2gUfPA0O4rs4eXfP8RbUzMVx7B92cpE7DHBXAiEAqypKuFgLxtdhg+1BSep78jU+9gdqbXtop1Whv1CIbLw="}]},"_resolved":"npm/defs.tgz","_from":"npm/defs.tgz","_npmVersion":"1.3.11","_npmUser":{"name":"olov","email":"olov.lassus@gmail.com"},"maintainers":[{"name":"olov","email":"olov.lassus@gmail.com"}]},"0.6.1":{"name":"defs","version":"0.6.1","description":"Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.","main":"build/es5/defs-main.js","repository":{"type":"git","url":"https://github.com/olov/defs.git"},"dependencies":{"alter":"~0.2.0","breakable":"~0.1.0","ast-traverse":"~0.1.1","simple-fmt":"~0.1.0","simple-is":"~0.2.0","stringmap":"~0.2.2","stringset":"~0.2.1","tryor":"~0.1.2","esprima":"~1.0.0"},"devDependencies":{"diff":"~1.0.7"},"keywords":["defs","scope","blockscope","block-scope","let","const","var","es6","transpile","transpiler","lint","linter"],"scripts":{"test":"node --harmony run-tests"},"bin":{"defs":"./build/es5/defs"},"author":{"name":"Olov Lassus","email":"olov.lassus@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/olov/defs/issues"},"_id":"defs@0.6.1","dist":{"shasum":"a4044fdc263e2e1ed1964898fe4c287512736d1c","tarball":"https://registry.npmjs.org/defs/-/defs-0.6.1.tgz","integrity":"sha512-uEB84P9G/uUGqHJ65fPj+dp7BvXfoX4uxOyWvlqyy85RFfO49CoEVxleljSWaQF1YESHdM2+bJBGSNOcMERo7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHG0OVMP7Yjv/hnU6q/S3614alLUu/TsZm6V/oc4VGc2AiEA4/wE2GMEBXwhTzx+s2awNNjXTxzF/XFwrPC5WaU3HgA="}]},"_resolved":"npm/defs.tgz","_from":"npm/defs.tgz","_npmVersion":"1.3.11","_npmUser":{"name":"olov","email":"olov.lassus@gmail.com"},"maintainers":[{"name":"olov","email":"olov.lassus@gmail.com"}]},"0.6.2":{"name":"defs","version":"0.6.2","description":"Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.","main":"build/es5/defs-main.js","repository":{"type":"git","url":"https://github.com/olov/defs.git"},"dependencies":{"alter":"~0.2.0","breakable":"~0.1.0","ast-traverse":"~0.1.1","simple-fmt":"~0.1.0","simple-is":"~0.2.0","stringmap":"~0.2.2","stringset":"~0.2.1","tryor":"~0.1.2","esprima":"~1.0.0"},"devDependencies":{"diff":"~1.0.7"},"keywords":["defs","scope","blockscope","block-scope","let","const","var","es6","transpile","transpiler","lint","linter"],"scripts":{"test":"node --harmony run-tests"},"bin":{"defs":"./build/es5/defs"},"author":{"name":"Olov Lassus","email":"olov.lassus@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/olov/defs/issues"},"_id":"defs@0.6.2","dist":{"shasum":"c4e05855d29a7a3a9cd9cca4a40813503418d907","tarball":"https://registry.npmjs.org/defs/-/defs-0.6.2.tgz","integrity":"sha512-4/WR3f9Us517HnCegxo0iuzeeSRtloE7Rpx0sU47Fu9ARBVOc1PZPd7l2wcrylYIikpQrtjJwNqw/OdxBkTxmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+9uBHrO8wAO+ivNOyZQIo3Q8J2KAbY0MZbUPYrFCODQIhAPxYWcBNhG1aq7tp3G4Ey7tP/zwTQYrPtLDme30deHIp"}]},"_resolved":"npm/defs.tgz","_from":"npm/defs.tgz","_npmVersion":"1.3.11","_npmUser":{"name":"olov","email":"olov.lassus@gmail.com"},"maintainers":[{"name":"olov","email":"olov.lassus@gmail.com"}]},"1.0.0":{"name":"defs","version":"1.0.0","description":"Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.","main":"build/es5/defs-main.js","repository":{"type":"git","url":"https://github.com/olov/defs.git"},"dependencies":{"alter":"~0.2.0","ast-traverse":"~0.1.1","breakable":"~1.0.0","esprima":"git://github.com/ariya/esprima.git#harmony","simple-fmt":"~0.1.0","simple-is":"~0.2.0","stringmap":"~0.2.2","stringset":"~0.2.1","tryor":"~0.1.2","yargs":"~1.2.6"},"devDependencies":{"diff":"~1.0.8"},"keywords":["defs","scope","blockscope","block-scope","let","const","var","es6","transpile","transpiler","lint","linter"],"scripts":{"test":"node --harmony run-tests"},"bin":{"defs":"./build/es5/defs"},"author":{"name":"Olov Lassus","email":"olov.lassus@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/olov/defs/issues"},"homepage":"https://github.com/olov/defs","_id":"defs@1.0.0","dist":{"shasum":"25994be16175761b0d3b50fc9d42a6b3b57ced04","tarball":"https://registry.npmjs.org/defs/-/defs-1.0.0.tgz","integrity":"sha512-n5rOi+c6D1JxT88nWQM4iDusVly3TNcogbDCuwO8OylIsLbaGEq7CK315bIEBPmc42t+h13icTz/9mIyAkLDUQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCei5ILMZc5PiyEm+ismdWHg8rRYJeKeIcHonl+Z4kthwIhAJrgVje8WEY4btEkGeDglIIbjOmVP/VxTJHCHS+UVF5P"}]},"_resolved":"npm/defs.tgz","_from":"npm/defs.tgz","_npmVersion":"1.3.25","_npmUser":{"name":"olov","email":"olov.lassus@gmail.com"},"maintainers":[{"name":"olov","email":"olov.lassus@gmail.com"}]},"1.0.1":{"name":"defs","version":"1.0.1","description":"Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.","main":"build/es5/defs-main.js","repository":{"type":"git","url":"https://github.com/olov/defs.git"},"dependencies":{"alter":"~0.2.0","ast-traverse":"~0.1.1","breakable":"~1.0.0","esprima":"git://github.com/ariya/esprima.git#harmony","simple-fmt":"~0.1.0","simple-is":"~0.2.0","stringmap":"~0.2.2","stringset":"~0.2.1","tryor":"~0.1.2","yargs":"~1.3.2"},"devDependencies":{"diff":"~1.0.8"},"keywords":["defs","scope","blockscope","block-scope","let","const","var","es6","transpile","transpiler","lint","linter"],"scripts":{"test":"node --harmony run-tests"},"bin":{"defs":"./build/es5/defs"},"author":{"name":"Olov Lassus","email":"olov.lassus@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/olov/defs/issues"},"homepage":"https://github.com/olov/defs","_id":"defs@1.0.1","_shasum":"b9f23295997b9565b2f09134464b18ef6b37dbfb","_resolved":"npm/defs.tgz","_from":"build/npm/defs.tgz","_npmVersion":"2.0.0","_npmUser":{"name":"olov","email":"olov.lassus@gmail.com"},"maintainers":[{"name":"olov","email":"olov.lassus@gmail.com"}],"dist":{"shasum":"b9f23295997b9565b2f09134464b18ef6b37dbfb","tarball":"https://registry.npmjs.org/defs/-/defs-1.0.1.tgz","integrity":"sha512-k/fhX0Os3uK2p7ORsDQZ2xbHEsJRxfAO+YrXUeWHOBhlo4nCO0vUbjoLXm6I+BgH8aaqK+2O365sDztMsevb/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID6W3y1PWpGtlhOOht2zU0bUctaTUvpIpRHNrKxJG3YJAiBV/29/FyZqc6o3VFnomPxdTRuvT/tKaKby3uS8EprnTg=="}]}},"1.1.0":{"name":"defs","version":"1.1.0","description":"Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.","main":"build/es5/defs-main.js","repository":{"type":"git","url":"https://github.com/olov/defs.git"},"dependencies":{"alter":"~0.2.0","ast-traverse":"~0.1.1","breakable":"~1.0.0","esprima-fb":"~8001.1001.0-dev-harmony-fb","simple-fmt":"~0.1.0","simple-is":"~0.2.0","stringmap":"~0.2.2","stringset":"~0.2.1","tryor":"~0.1.2","yargs":"~1.3.2"},"devDependencies":{"diff":"~1.0.8"},"keywords":["defs","scope","blockscope","block-scope","let","const","var","es6","transpile","transpiler","lint","linter"],"scripts":{"test":"node --harmony run-tests"},"bin":{"defs":"./build/es5/defs"},"author":{"name":"Olov Lassus","email":"olov.lassus@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/olov/defs/issues"},"homepage":"https://github.com/olov/defs","_id":"defs@1.1.0","_shasum":"a271201acd271eb0be887eefc61edd9f89f32b49","_resolved":"defs.tgz","_from":"build/npm/defs.tgz","_npmVersion":"2.0.0","_npmUser":{"name":"olov","email":"olov.lassus@gmail.com"},"maintainers":[{"name":"olov","email":"olov.lassus@gmail.com"}],"dist":{"shasum":"a271201acd271eb0be887eefc61edd9f89f32b49","tarball":"https://registry.npmjs.org/defs/-/defs-1.1.0.tgz","integrity":"sha512-NVFPUmILHsZNtam+NET2KzlNRG1PtDPKBw8g3AhNWEERJwQfLcgQTA69JBtXtoBcHB4bXM3DW8BSPoOSi6FS4A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCp27Ex8jcFTndlrV65uUkR72UFTUbP+w71apSsJnpIowIhAKRyki34Pav233oxcXsFMbPBS7AmH1J2C4kIpZZVxjBc"}]}},"1.1.1":{"name":"defs","version":"1.1.1","description":"Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.","main":"build/es5/defs-main.js","repository":{"type":"git","url":"git+https://github.com/olov/defs.git"},"dependencies":{"alter":"~0.2.0","ast-traverse":"~0.1.1","breakable":"~1.0.0","esprima-fb":"~15001.1001.0-dev-harmony-fb","simple-fmt":"~0.1.0","simple-is":"~0.2.0","stringmap":"~0.2.2","stringset":"~0.2.1","tryor":"~0.1.2","yargs":"~3.27.0"},"devDependencies":{"diff":"~2.1.3"},"keywords":["defs","scope","blockscope","block-scope","let","const","var","es6","transpile","transpiler","lint","linter"],"scripts":{"test":"node --harmony run-tests"},"bin":{"defs":"./build/es5/defs"},"author":{"name":"Olov Lassus","email":"olov.lassus@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/olov/defs/issues"},"homepage":"https://github.com/olov/defs#readme","_id":"defs@1.1.1","_shasum":"b22609f2c7a11ba7a3db116805c139b1caffa9d2","_resolved":"file:build/npm/defs.tgz","_from":"build/npm/defs.tgz","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"olov","email":"olov.lassus@gmail.com"},"maintainers":[{"name":"olov","email":"olov.lassus@gmail.com"}],"dist":{"shasum":"b22609f2c7a11ba7a3db116805c139b1caffa9d2","tarball":"https://registry.npmjs.org/defs/-/defs-1.1.1.tgz","integrity":"sha512-KgGV1vmSa2UPKeDXaWE5FiXjix8BOtYMgiPGpYhd/42wxiC6YGwtscj/zU9gD5/xk4K2iLDpyGhGA5puZxaeMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDkw+Ds7yjYulX0Nucg/9v46Og9QT7b0qcp1Ibyfp8GrAiALDiS68P7TZcmsuanBWq0xGuYPQrVA6u4/V6tCsfeiRw=="}]}}},"readme":"# SO LONG AND THANKS FOR ALL THE BITS\n**defs is done. I recommend migrating to the TypeScript `tsc` compiler because\nit does what defs does as good or better, and it does much more.**\n\n\n# defs.js\nStatic scope analysis and transpilation of ES6 block scoped `const` and `let`\nvariables, to ES3.\n\nNode already supports `const` and `let` so you can use that today\n(run `node --harmony` and `\"use strict\"`). `defs.js` enables you to do the same\nfor browser code. While developing you can rely on the experimental support\nin Chrome (chrome://flags, check Enable experimental JavaScript). `defs.js` is\nalso a pretty decent static scope analyzer/linter.\n\nThe talk\n[LET's CONST together, right now (with ES3)](http://vimeo.com/66501924)\nfrom Front-Trends 2013\n([slides](http://blog.lassus.se/files/lets_const_together_ft2013.pdf)) includes\nmore information about `let`, `const` and `defs.js`. See also the blog post\n[ES3 <3 block scoped const and let => defs.js](http://blog.lassus.se/2013/05/defsjs.html).\n\n\n## Installation and usage\n    npm install -g defs\n\nThen run it as `defs file.js`. The errors (if any) will go to stderr,\nthe transpiled source to `stdout`, so redirect it like `defs file.js > output.js`.\nMore command line options are coming.\n\nThere's also a [Grunt](http://gruntjs.com/) plugin, see [grunt-defs](https://npmjs.org/package/grunt-defs).\n\nSee [BUILD.md](BUILD.md) for a description of the self-build and the browser bundle.\n\n## License\n`MIT`, see [LICENSE](LICENSE) file.\n\n\n## Changes\nSee [CHANGES.md](CHANGES.md).\n\n\n## Configuration\n`defs` looks for a `defs-config.json` configuration file in your current\ndirectory. If not found there, it searches parent directories until it hits `/`.\nYou may instead pass a custom `defs-config.json` using `--config`, i.e.\n`defs --config path/to/defs-config.json file.js > output.js`.\n\nExample `defs-config.json`:\n\n    {\n        \"environments\": [\"node\", \"browser\"],\n\n        \"globals\": {\n            \"my\": false,\n            \"hat\": true\n        },\n        \"loopClosures\": \"iife\",\n        \"disallowVars\": false,\n        \"disallowDuplicated\": true,\n        \"disallowUnknownReferences\": true\n    }\n\n`globals` lets you list your program's globals, and indicate whether they are\nwritable (`true`) or read-only (`false`), just like `jshint`.\n\n`environments` lets you import a set of pre-defined globals, here `node` and\n`browser`. These default environments are borrowed from `jshint` (see\n[jshint_globals/vars.js](https://github.com/olov/defs/blob/master/jshint_globals/vars.js)).\n\n`loopClosures` (defaults to `false`) can be set to \"iife\" to enable transformation\nof loop-closures via immediately-invoked function expressions.\n\n`disallowVars` (defaults to `false`) can be enabled to make\nusage of `var` an error.\n\n`disallowDuplicated` (defaults to `true`) errors on duplicated\n`var` definitions in the same function scope.\n\n`disallowUnknownReferences` (defaults to `true`) errors on references to\nunknown global variables.\n\n`ast` (defaults to `false`) produces an AST instead of source code\n(experimental).\n\n`stats` (defaults to `false`) prints const/let statistics and renames\n(experimental).\n\n`parse` (defaults to `null`) lets you provide a custom parse function if you\nuse defs as an API. By default it will use `require(\"esprima\").parse`.\n\n\n## Example\n\nInput `example.js`:\n\n```javascript\n\"use strict\";\nfunction fn() {\n    const y = 0;\n    for (let x = 0; x < 10; x++) {\n        const y = x * 2;\n        const z = y;\n    }\n    console.log(y); // prints 0\n}\nfn();\n```\n\nOutput from running `defs example.js`:\n\n```javascript\n\"use strict\";\nfunction fn() {\n    var y = 0;\n    for (var x = 0; x < 10; x++) {\n        var y$0 = x * 2;\n        var z = y$0;\n    }\n    console.log(y); // prints 0\n}\nfn();\n```\n\n\n## defs.js used as a library\n`npm install defs`, then:\n\n```javascript\nconst defs = require(\"defs\");\nconst options = {};\nconst src = \"const x = 1\";\nconst res = defs(src, options);\nassert(res.src === \"var x = 1\");\n\n// you can also pass an AST (with loc and range) instead of a string to defs\nconst ast = require(\"esprima\").parse(src, {loc: true, range: true});\nconst res = defs(ast, {ast: true}); // AST-in, AST-out\n// inspect res.ast\n```\n\nres object:\n\n    {\n        src: string // on success\n        errors: array of error messages // on errors\n        stats: statistics object (toStringable)\n        ast: transformed ast // when options.ast is set\n    }\n\n\n## Compatibility\n`defs.js` strives to transpile your program as true to ES6 block scope semantics as\npossible while being as maximally non-intrusive as possible.\n\nIt can optionally transform loop closures via IIFE's (when possible), if you include\n`\"loopClosures\": \"iife\"` in your `defs-config.json`. More info in\n[loop-closures.md](loop-closures.md).\n\nSee [semantic-differences.md](semantic-differences.md) for other minor differences.\n","maintainers":[{"name":"olov","email":"olov.lassus@gmail.com"}],"time":{"modified":"2022-06-14T23:32:37.632Z","created":"2013-04-24T06:29:46.327Z","0.1.0":"2013-04-24T06:29:49.713Z","0.1.1":"2013-04-24T08:06:22.808Z","0.1.2":"2013-04-24T08:29:51.922Z","0.2.0":"2013-04-26T09:33:57.026Z","0.2.1":"2013-05-04T15:11:27.313Z","0.3.0":"2013-07-05T13:47:01.866Z","0.4.0":"2013-07-09T22:30:02.620Z","0.4.1":"2013-07-28T13:06:30.489Z","0.4.2":"2013-09-01T09:27:23.747Z","0.4.3":"2013-09-05T15:19:49.921Z","0.5.0":"2013-09-30T14:42:30.959Z","0.6.0":"2013-11-30T23:25:25.163Z","0.6.1":"2013-12-09T14:06:56.392Z","0.6.2":"2013-12-09T15:25:15.925Z","1.0.0":"2014-07-18T10:12:44.045Z","1.0.1":"2014-10-09T14:31:02.864Z","1.1.0":"2014-11-28T10:11:46.024Z","1.1.1":"2015-10-09T19:59:57.172Z"},"author":{"name":"Olov Lassus","email":"olov.lassus@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/olov/defs.git"},"homepage":"https://github.com/olov/defs#readme","keywords":["defs","scope","blockscope","block-scope","let","const","var","es6","transpile","transpiler","lint","linter"],"bugs":{"url":"https://github.com/olov/defs/issues"},"license":"MIT","readmeFilename":"README.md"}