{"_id":"with","_rev":"44-77669b04d56f7b6c12afef87839fcd97","name":"with","description":"Compile time `with` for strict mode JavaScript","dist-tags":{"latest":"7.0.2","canary":"7.0.2-canary-3"},"versions":{"1.0.0":{"name":"with","version":"1.0.0","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"lexical-scope":"0.0.11"},"devDependencies":{"mocha":"~1.9.0"},"_id":"with@1.0.0","dist":{"shasum":"ed8fc0c2c5b5a8772db1305940f0b3a8d14c0068","tarball":"https://registry.npmjs.org/with/-/with-1.0.0.tgz","integrity":"sha512-ZQMQdSu2e60om6R2S+pBUwzNGjI1Wxbq/5VbvxWAp9/eomKBdDM51JvoOV1ED0NkyIiHtC4/u/gqQK03AaSxjg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9eSLCQDVceL5NLlfzJNMxAREnsat2WZUX7wcd30pYMwIgYzlV6QMhBPd7bX6rQMxWJv7ZfPq/jVUFXIi6SWXFGrE="}]},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"1.0.1":{"name":"with","version":"1.0.1","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"lexical-scope":"0.0.11"},"devDependencies":{"mocha":"~1.9.0"},"_id":"with@1.0.1","dist":{"shasum":"d6ef2fd62fd0022058f55d13af17eede5a7d905e","tarball":"https://registry.npmjs.org/with/-/with-1.0.1.tgz","integrity":"sha512-hZmuJxNF9Y/7dWRfypBrQv+fKxfFiaOshTkxbnTa/SANk556WPbqA9AVVwPr/EIxcP5yYzBi2qNyV29jDQ0Hhw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAaSMlqd6jRLTErp1/kXqtL4McTKdfnwp3QWMt+Oj54uAiA9e27jP1nKde0svc+poCB4qa9xHzSJ665bZaEO+pdDLQ=="}]},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"1.0.2":{"name":"with","version":"1.0.2","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"lexical-scope":"0.0.11"},"devDependencies":{"mocha":"~1.9.0"},"_id":"with@1.0.2","dist":{"shasum":"8e61943446fc4cb1658d416843e635381bd8011a","tarball":"https://registry.npmjs.org/with/-/with-1.0.2.tgz","integrity":"sha512-apm8i6zf/0rGFJFWcPRuk883qeE0JniMrgKPhJoIAEboK1RVCqPHD8kCKj4q2z3OGxKla/Ya8dfMV59C2lh5aA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDBTZ0FwaCRy2lmgXIsV6leP8nNJO5wjOzIobcp4Oq+ZAiBCsWb/tQ+MmLabDdD2WZdZtMMtm9IwUT2RNiL1+gy8jg=="}]},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"1.0.3":{"name":"with","version":"1.0.3","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"lexical-scope":"0.0.11"},"devDependencies":{"mocha":"~1.9.0"},"_id":"with@1.0.3","dist":{"shasum":"0eee05e1d49da5eb04467b5343bb49142cbc7be3","tarball":"https://registry.npmjs.org/with/-/with-1.0.3.tgz","integrity":"sha512-+MFWShah91AjwYJjhw+ng7Tq8Bhc6/nj7rnRSUBQedCYfAp3BRFH6wRUWMnDhjEJh8Fq3smbrShUhAkisbv8Vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHglvvFqwS8YLXT0Tv8si72Dxjcrb6h7K1IWD2jCooUoAiB/laY814ntcmV2kaXsLZo7oLUbS/WiDLrsDM05W4BuyQ=="}]},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"1.0.4":{"name":"with","version":"1.0.4","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"lexical-scope":"0.0.12"},"devDependencies":{"mocha":"~1.9.0"},"_id":"with@1.0.4","dist":{"shasum":"67b70e967742b915b1934507628151194e34daeb","tarball":"https://registry.npmjs.org/with/-/with-1.0.4.tgz","integrity":"sha512-bFzdv7g+M+v7FodrYiGEEy45MoK3zjj/AdwTrGdAFagREmVUVgC5yFvnpJgF8LxpeFhewjsi5eSD73c8/DD+Ww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC9DRVtZZkoGVvuMzX25lXFkmK5HPoZS33+rjk8iBEM2AiBYu0ZFp0Bk8zHoMalJYNL7N1OeiYKpc4Z/YnS4K+u0ZQ=="}]},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"1.1.0":{"name":"with","version":"1.1.0","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"uglify-js":"2.3.6"},"devDependencies":{"mocha":"~1.9.0"},"_id":"with@1.1.0","dist":{"shasum":"7f722ce4050ab55310777327b014194c544c66dd","tarball":"https://registry.npmjs.org/with/-/with-1.1.0.tgz","integrity":"sha512-ftbyrftbqCcpQQmZLTsgpD9IsUJl3d+rwIS/YIOt4oFNKQlHGQm+HpUe4xwO2OJTGkdqSru84rDmILGZJgDxBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG1s6wN5woGmiKvMq1UyC2TpOdurIzKQBLLxAz/0qq8hAiEAy7b/uO180OcVZCTqLSmDWdwkg1ykarzs+In6w+YnTUU="}]},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"1.1.1":{"name":"with","version":"1.1.1","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"uglify-js":"2.4.0"},"devDependencies":{"mocha":"~1.12.0"},"bugs":{"url":"https://github.com/ForbesLindesay/with/issues"},"_id":"with@1.1.1","dist":{"shasum":"66bd6664deb318b2482dd0424ccdebe822434ac0","tarball":"https://registry.npmjs.org/with/-/with-1.1.1.tgz","integrity":"sha512-9dbBdLftQiwtJPuM+eHzFOPdPW61qB6Bgo+KpSZtwf6WAuRU7R7kIhvw0JOUEHeeXbHVMwLUF0mSzWXj/HVW6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGvGkv9lvoocM/squCO+6s1t0iqdDdWmp3wsqYrkXTFrAiEAntBgy9DDqOWZemz6+Wpf2BvmuJLI0PlYGEzcHAJtKss="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"2.0.0":{"name":"with","version":"2.0.0","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"uglify-js":"2.4.0"},"devDependencies":{"mocha":"~1.12.0"},"bugs":{"url":"https://github.com/ForbesLindesay/with/issues"},"_id":"with@2.0.0","dist":{"shasum":"ec01ff021db9df05639047147ede012f5e6d0afd","tarball":"https://registry.npmjs.org/with/-/with-2.0.0.tgz","integrity":"sha512-/L15pzCA6pmui9RGkl98W/WdCqOnLbQjeNTI1HHP9xNlF8qRgphzu/YCyFg5g9Wd9RHBPUF/r/ZUWEU6K07NSQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoKlQPJBt/49qiMDAS2GQDgl1LDUcjCW8XHMaIDR3pqwIhAO7s7hXF1t2+ZP2dF9lTAnAcliFpeHh27Prrk/ptC5Kt"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"3.0.0":{"name":"with","version":"3.0.0","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"uglify-js":"~2.4.12"},"devDependencies":{"mocha":"~1.12.0"},"bugs":{"url":"https://github.com/ForbesLindesay/with/issues"},"homepage":"https://github.com/ForbesLindesay/with","_id":"with@3.0.0","dist":{"shasum":"38f5d5859bb974c9dad8812372b51dae4b9594cc","tarball":"https://registry.npmjs.org/with/-/with-3.0.0.tgz","integrity":"sha512-J3Q8pebRDOI9CPHjGrSAXNhc9ooYhUIXaL1Whq88UKjkxPn3U3baAxD7OQnkKBEY8WfXqH1dJ9TIkvfn1b8CLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHiFUmMV4n1y7Ry0xUXjeuzUibWQImFPyaO3X8hKaHvOAiALNx5kyzE0ZZQQZ/ZLyK5HCMsjo5IPD2xrT/bP7GLwMQ=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"3.0.1":{"name":"with","version":"3.0.1","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"uglify-js":"~2.4.12"},"devDependencies":{"mocha":"~1.12.0"},"gitHead":"588a8a3ebeff2b539a2a361449a2c6843566aeda","bugs":{"url":"https://github.com/ForbesLindesay/with/issues"},"homepage":"https://github.com/ForbesLindesay/with","_id":"with@3.0.1","_shasum":"08354da410243cf6173fb142bb04e6c66f96f854","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"08354da410243cf6173fb142bb04e6c66f96f854","tarball":"https://registry.npmjs.org/with/-/with-3.0.1.tgz","integrity":"sha512-kkmVGj873jXl71lBDCCoZ35tOOyUsMQv2XFmov8hS39PR5u8aTFyN7f0ZjOJ5QipflBdHGT5d9tpwBtBDrE7Ig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDwRt2ptom8PER8Q69X+zbJsJO+eQb7KOWR7XXJ24GFxAiEAyvHriS9c5OxZNwhQ2/WNv3pisCqDmd7gBAZT8OHvXhw="}]},"directories":{}},"4.0.0":{"name":"with","version":"4.0.0","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"acorn":"^0.8.0","acorn-globals":"^1.0.1"},"devDependencies":{"mocha":"~1.12.0","uglify-js":"^2.4.15"},"gitHead":"4560e51e3bf4016eaf52b4c2156532bceb2bedb1","bugs":{"url":"https://github.com/ForbesLindesay/with/issues"},"homepage":"https://github.com/ForbesLindesay/with","_id":"with@4.0.0","_shasum":"7a78d6642d9b72960a71d1c0c45fd6dd1b878dc7","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"7a78d6642d9b72960a71d1c0c45fd6dd1b878dc7","tarball":"https://registry.npmjs.org/with/-/with-4.0.0.tgz","integrity":"sha512-REJCX3FqQhAueMEF5E+3lzaA4qApf6V2wPEBbJIYoLrmomAYQ513xPfvan1YWucmM+DYtH0YG0NLxJM0UO2vZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZy1xoVx3Y6Blih868N9KsAGrdYAEItYYVNpBQ9Nb5iAIhAINkK8yhAzQeu1wjfvakoa0giC2tAA9Wo9TcL6lbR4mg"}]},"directories":{}},"4.0.1":{"name":"with","version":"4.0.1","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"acorn":"^0.11.0","acorn-globals":"^1.0.1"},"devDependencies":{"mocha":"~1.12.0","uglify-js":"^2.4.15"},"gitHead":"34b6905f5a2d4c9c483982cb4368f7ec2cdfe7b5","bugs":{"url":"https://github.com/ForbesLindesay/with/issues"},"homepage":"https://github.com/ForbesLindesay/with","_id":"with@4.0.1","_shasum":"accd7a7c321f2d83e303e51c02bb7eb1fff19c32","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"accd7a7c321f2d83e303e51c02bb7eb1fff19c32","tarball":"https://registry.npmjs.org/with/-/with-4.0.1.tgz","integrity":"sha512-TAiXba8XYVkvNgWGbJd1+W2ARaTw6sgWDBKIBiQ8nJ3AtlFOZRU9bn3lL3ww/tjmbBeF4x52ZCIXRFkfsPTBkA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7oxiSwaYkaehsNbtzX5ai1j/EyIVsAB1a5I4fSkpxMwIhAMbMKcB6xsyS01JomdTohikzvZrwVEBxmyHQTVI1Z/7E"}]},"directories":{}},"4.0.2":{"name":"with","version":"4.0.2","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"acorn":"^1.0.1","acorn-globals":"^1.0.1"},"devDependencies":{"mocha":"~1.12.0","uglify-js":"^2.4.15"},"gitHead":"0ef234b62e9a6a674e129122efd896a0824e0a44","bugs":{"url":"https://github.com/ForbesLindesay/with/issues"},"homepage":"https://github.com/ForbesLindesay/with","_id":"with@4.0.2","_shasum":"528547b8f394e1ee7d78257e5a810b7b43d65fee","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"528547b8f394e1ee7d78257e5a810b7b43d65fee","tarball":"https://registry.npmjs.org/with/-/with-4.0.2.tgz","integrity":"sha512-2B4zjYVwZYJO9Nu0EiD/uRFO1k4CqaoygBQ0kaowAMLQoFxy3Kao9z0IAuHNfF6atkS0szIUGEM1l11BbqBRWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBnuOzLMCdNeZ6adtVNhJ5jeDXRW9vxHTbPDW2nXB4neAiEAnI4TuxqK/tVG460puqm0qeRkT4aWfw+5ShxHYTnEO8E="}]},"directories":{}},"4.0.3":{"name":"with","version":"4.0.3","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"acorn":"^1.0.1","acorn-globals":"^1.0.3"},"devDependencies":{"mocha":"~1.12.0","uglify-js":"^2.4.15"},"gitHead":"38351aea899040937ab8c7c9ce43b3ad1d498bed","bugs":{"url":"https://github.com/ForbesLindesay/with/issues"},"homepage":"https://github.com/ForbesLindesay/with","_id":"with@4.0.3","_shasum":"eefd154e9e79d2c8d3417b647a8f14d9fecce14e","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"eefd154e9e79d2c8d3417b647a8f14d9fecce14e","tarball":"https://registry.npmjs.org/with/-/with-4.0.3.tgz","integrity":"sha512-mJZFpyEc1JTAdxhi/vhVeAM2S7vsltEKDiexDDo1HuAzlYKhcVUU6cwY8cHrFYdt82ZNkfKCeyhA3IYFegI0Kg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDLpvzB8Bzip39owJiW0hfM64+O271LevRhjx2gML15TAiBytBp7QluknPmUyfRIbI7pTEhh+TVdiNLisE7bs6IcVw=="}]},"directories":{}},"5.0.0":{"name":"with","version":"5.0.0","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"acorn":"^1.0.1","acorn-globals":"^1.0.3"},"devDependencies":{"mocha":"~1.12.0","uglify-js":"^2.4.15"},"gitHead":"03b473ddfbc71abe2ed73c0269ec22b30067362d","bugs":{"url":"https://github.com/ForbesLindesay/with/issues"},"homepage":"https://github.com/ForbesLindesay/with","_id":"with@5.0.0","_shasum":"e5b054aa14f7494accc69211387c65c7ac70d415","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"e5b054aa14f7494accc69211387c65c7ac70d415","tarball":"https://registry.npmjs.org/with/-/with-5.0.0.tgz","integrity":"sha512-l/A1ndx0pQZDp+ocqtfQtI8Jze7jnB9U/+22NSaV/Tj5l+MzfONInSimGmczFpNklWRjJauMzh2SiTtkuUkbZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMM+nMfQjyoTZpJQKdFlB50aFLiKJOLxOQI2n+USaPQQIgOfcZeKhdBNgfS6UNS8J4tUfUZe+NmqHoJOqzFIJRdfI="}]},"directories":{}},"5.0.1":{"name":"with","version":"5.0.1","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"acorn":"^3.1.0","acorn-globals":"^1.0.3"},"devDependencies":{"mocha":"~1.12.0","uglify-js":"^2.4.15"},"gitHead":"cd495641c94c6595eb6e95b1c8f525df7b21ef16","bugs":{"url":"https://github.com/ForbesLindesay/with/issues"},"homepage":"https://github.com/ForbesLindesay/with#readme","_id":"with@5.0.1","_shasum":"7c0406304f691361c435d8dcf212dcb0b396dab2","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"7c0406304f691361c435d8dcf212dcb0b396dab2","tarball":"https://registry.npmjs.org/with/-/with-5.0.1.tgz","integrity":"sha512-3nnq6xetyYUBs6yHOyCfPm8h7SLSKKy3gqkySR4B8ix1SBzpgzWl7mqDPaQBnWDZn8QnHkubXH8O3QvlUsT9Xw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDE3xnvavAUKGTdy2iL68AtQBNUFdnZuGGih6s2Xub7IgIgSaOh3YwWc8F32W4MHcaLI9syM7BR3NKlfydT2NZj0qo="}]},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/with-5.0.1.tgz_1464968406318_0.30175173794850707"},"directories":{}},"5.0.2":{"name":"with","version":"5.0.2","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"acorn":"^3.1.0","acorn-globals":"^1.0.3"},"devDependencies":{"mocha":"~1.12.0","uglify-js":"^2.4.15"},"gitHead":"9af250e656e093f53ac8023058079d7b786bf77d","bugs":{"url":"https://github.com/pugjs/with/issues"},"homepage":"https://github.com/pugjs/with#readme","_id":"with@5.0.2","_shasum":"ccc620101bd0d854a75eae49db6bfb9073e449e7","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"ccc620101bd0d854a75eae49db6bfb9073e449e7","tarball":"https://registry.npmjs.org/with/-/with-5.0.2.tgz","integrity":"sha512-2IxnXsbF8rFuwbY0SXjewf+reziSYLtv+CptbBVk3G05a1aWqtMow6SGEUxBp63KfYZWpOahrkGtryX8kTWmkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCC5sxSYElxeSKv3c5FLdF/5UO8MVVUMdOJHAjwf+TMAIgOtdu9t0Ty5bj9U9R98fRWCU5mW7A+SgR3BanM9Vmwto="}]},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/with-5.0.2.tgz_1464968622058_0.7711699099745601"},"directories":{}},"5.1.0":{"name":"with","version":"5.1.0","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"acorn":"^3.1.0","acorn-globals":"^3.0.0"},"devDependencies":{"mocha":"~2.5.3","uglify-js":"^2.4.15"},"gitHead":"fe635fe85e303899bda71d2e33db02620b051aa4","bugs":{"url":"https://github.com/pugjs/with/issues"},"homepage":"https://github.com/pugjs/with#readme","_id":"with@5.1.0","_shasum":"5aba66430eeacbf5bb4b457f933182adfde74728","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"5aba66430eeacbf5bb4b457f933182adfde74728","tarball":"https://registry.npmjs.org/with/-/with-5.1.0.tgz","integrity":"sha512-ipXTv+QZ6KG55nflHOpCJeYEwRR7hwe/LASmkTwRSHmwIUtim1P3N/dIs1D9xO2yV9SMjy3tdm9ejdVaXJun7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBIuIdisCgDRfsuQ/iNBKnfq6sbbgKPYgkJMb4S/kV6zAiAnuB3kk0FjYZKdZna+xzus8gvUxzqXOt6BkuGV7LQOPQ=="}]},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/with-5.1.0.tgz_1464970474468_0.13334792386740446"},"directories":{}},"5.1.1":{"name":"with","version":"5.1.1","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"acorn":"^3.1.0","acorn-globals":"^3.0.0"},"devDependencies":{"mocha":"~2.5.3","uglify-js":"^2.4.15"},"gitHead":"f82a273663f5fbbd6d8f48109ed6150a5382b7df","bugs":{"url":"https://github.com/pugjs/with/issues"},"homepage":"https://github.com/pugjs/with#readme","_id":"with@5.1.1","_shasum":"fa4daa92daf32c4ea94ed453c81f04686b575dfe","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"fa4daa92daf32c4ea94ed453c81f04686b575dfe","tarball":"https://registry.npmjs.org/with/-/with-5.1.1.tgz","integrity":"sha512-uAnSsFGfSpF6DNhBXStvlZILfHJfJu4eUkfbRGk94kGO1Ta7bg6FwfvoOhhyHAJuFbCw+0xk4uJ3u57jLvlCJg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmzRK5bsh6jDRpuAHXUF/SQnD9FLHbwrt7zbUtJdJEtgIgLbAnOQV02kqLnYm1r8e88XHyR8R0XS1gpOzEHWka4kM="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/with-5.1.1.tgz_1465002459935_0.3367472938261926"},"directories":{}},"6.0.0":{"name":"with","version":"6.0.0","description":"Compile time `with` for strict mode JavaScript","main":"lib/index.js","scripts":{"prepublish":"babel -d lib src","test":"babel-node node_modules/mocha/bin/_mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"babel-runtime":"^6.11.6","babel-types":"^6.15.0","babylon":"^6.9.1","babylon-walk":"^1.0.2"},"devDependencies":{"babel-cli":"^6.14.0","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-runtime":"^6.15.0","babel-preset-es2015":"^6.14.0","mocha":"*","uglify-js":"^2.6.2"},"gitHead":"13cabec8b5dc6202c97bc102e19494329b0b9293","bugs":{"url":"https://github.com/pugjs/with/issues"},"homepage":"https://github.com/pugjs/with#readme","_id":"with@6.0.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"integrity":"sha512-FrwIIWGUkHViaUXWmEvcwKy+eI0ajKh/Xq192o2kwFtSI7lS7xE5O1E2VNurhWE9ZLRDwr6GAAkKDsDIyStUuw==","shasum":"00223660fa0d0aeb4776965e61f902410c4c9d86","tarball":"https://registry.npmjs.org/with/-/with-6.0.0.tgz","fileCount":10,"unpackedSize":26524,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEW6fCRA9TVsSAnZWagAAFCsP+gKTzXtOxNfRAnAC2t7X\nqAa7tzjXbQyrwIQkU8eXuFSm8Mh4at/CezQ+XTyeTJaPiWIUiI1GWiMUaOwd\nbfzJCDgz+K3jC1+1W97mpWlv1cI10D5CzOMcsdbWPxqKPt3Fsd/8XtyRVQOD\nGn8eJfPd9PCXO6glkVF1n7q1KPCYOn+hP+XKvZLpe9PbRReIJWIlvdHT48A1\nsB1zNODogipCd+STiM22RvBQp7gRWrVChbMkunsJgusZapygfzogx4PnCzKi\n/EPfr+qNBW8W9h/3kmxKW3fdLan/K5oN8n9G30U/GiFuQjnFnt+OjD1rOGPw\nUC9JsWOe/dYaf5fuza4zWMI2/NiZLi7pDa38CFlTdxI5UW4oqFO5LNLAVReR\n1jHfTS4G5Q+1H6GSmoo3NacNbzr58qGmGNbELqklWoZEfhJzXukTfdWOksRR\nMp7B0fOIrfc9awKmOTQhliijq1776IZPK9tiVeMpeD6jWf/s/N4JbPaE8Alu\nGiu5hRjMakf6PEg18mBGiYN/z6vKecLfxhZzsCOb8zxBYz3Iss81Klwd+V8Q\njNwD1vtfart7X5kBaDkCS0Tl6hzHs09c/xby2flB7nuYwqxg9N2JKlUwxxdF\nDezSEvJYf/kSs15vfxS/LC3XkANJlP6aL1hUxZT/3EIXPC15aWvRuMaNyjBR\nHa5U\r\n=y5Y6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEV2nNNtQxSn3FCYyQ6Snd5cNP7zMk1d1EQAFBRhfRd4AiEAgEcVD3NBoJUAV55ZxehHzQYVr7hpAtCUgaTj+W8GRWE="}]},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/with_6.0.0_1527869085615_0.8682703317474285"},"_hasShrinkwrap":false},"7.0.0-canary-1":{"name":"with","version":"7.0.0-canary-1","description":"Compile time `with` for strict mode JavaScript","main":"lib/index.js","scripts":{"build":"tsc","postbuild":"rimraf lib/**/__tests__","lint":"tslint './src/**/*.{ts,tsx}' -t verbose -p .","prettier:write":"prettier --ignore-path .gitignore --write './**/*.{md,json,yaml,js,jsx,ts,tsx}'","prettier:check":"prettier --ignore-path .gitignore --list-different './**/*.{md,json,yaml,js,jsx,ts,tsx}'","pretest":"yarn build","test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"@babel/parser":"^7.9.6","@babel/types":"^7.9.6","assert-never":"^1.2.1","babel-walk":"3.0.0-canary-5"},"devDependencies":{"@forbeslindesay/tsconfig":"^2.0.0","@types/node":"^14.0.5","mocha":"*","prettier":"^2.0.5","rimraf":"^3.0.2","tslint":"^6.1.2","typescript":"^3.9.3","uglify-js":"^2.6.2"},"engines":{"node":">= 10.0.0"},"readme":"# with\n\nCompile time `with` for strict mode JavaScript\n\n[![Build Status](https://img.shields.io/github/workflow/status/pugjs/with/Publish%20Canary/master?style=for-the-badge)](https://github.com/pugjs/with/actions?query=workflow%3A%22Publish+Canary%22)\n[![Rolling Versions](https://img.shields.io/badge/Rolling%20Versions-Enabled-brightgreen?style=for-the-badge)](https://rollingversions.com/pugjs/with)\n[![NPM version](https://img.shields.io/npm/v/with?style=for-the-badge)](https://www.npmjs.com/package/with)\n\n## Installation\n\n    $ npm install with\n\n## Usage\n\n```js\nvar addWith = require('with');\n\naddWith('obj', 'console.log(a)');\n// => ';(function (console, a) {\n//       console.log(a)\n//     }(\"console\" in obj ? obj.console :\n//                          typeof console!==\"undefined\" ? console : undefined,\n//       \"a\" in obj ? obj.a :\n//                    typeof a !== \"undefined\" ? a : undefined));'\n\naddWith('obj', 'console.log(a)', ['console']);\n// => ';(function (console, a) {\n//       console.log(a)\n//     }(\"a\" in obj ? obj.a :\n//                    typeof a !== \"undefined\" ? a : undefined));'\n```\n\n## API\n\n### addWith(obj, src[, exclude])\n\nThe idea is that this is roughly equivallent to:\n\n```js\nwith (obj) {\n  src;\n}\n```\n\nThere are a few differences though. For starters, assignments to variables will always remain contained within the with block.\n\ne.g.\n\n```js\nvar foo = 'foo';\nwith ({}) {\n  foo = 'bar';\n}\nassert(foo === 'bar'); // => This fails for compile time with but passes for native with\n\nvar obj = {foo: 'foo'};\nwith ({}) {\n  foo = 'bar';\n}\nassert(obj.foo === 'bar'); // => This fails for compile time with but passes for native with\n```\n\nIt also makes everything be declared, so you can always do:\n\n```js\nif (foo === undefined)\n```\n\ninstead of\n\n```js\nif (typeof foo === 'undefined')\n```\n\nThis is not the case if foo is in `exclude`. If a variable is excluded, we ignore it entirely. This is useful if you know a variable will be global as it can lead to efficiency improvements.\n\nIt is also safe to use in strict mode (unlike `with`) and it minifies properly (`with` disables virtually all minification).\n\n#### Parsing Errors\n\nwith internally uses babylon to parse code passed to `addWith`. If babylon throws an error, probably due to a syntax error, `addWith` returns an error wrapping the babylon error, so you can\nretrieve location information. `error.component` is `\"src\"` if the error is in the body or `\"obj\"` if it's in the object part of the with expression. `error.babylonError` is\nthe error thrown from babylon.\n\n## License\n\nMIT\n","readmeFilename":"README.md","gitHead":"6d6c0c0285340090f80208a1e330516834cf8824","bugs":{"url":"https://github.com/pugjs/with/issues"},"homepage":"https://github.com/pugjs/with#readme","_id":"with@7.0.0-canary-1","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-bnGuF64KsHLMIRtvHiIs9hdaFNklirIR4KaqPpdKdLQmcrQnivIbkA6ORxGZ54prVIJ+4JelTQ3bNt8iEMlICQ==","shasum":"de105b79b83668cfd45dd4d6347d06fcd020b872","tarball":"https://registry.npmjs.org/with/-/with-7.0.0-canary-1.tgz","fileCount":23,"unpackedSize":124897,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezEcaCRA9TVsSAnZWagAApNcP/2pulFH+Nizt/RtGDB3j\nxL61PvvFxRyyMN9mA9kG0J3WXWvndLK0o2H3FZ4Qp3bCCDFolS3kJQbbmvfH\nZ+KTxuCxnx1Yvf74oVKPXWsdfqaZUcI+MzjBAEcar5ldYWf5y+zfU32M3ZYm\nwDAvt33Y5k2CiAEfOoy9EdW+J8SO3kSLe7CZpAzSDI42fHVBwx+YwswcntO/\nyQHiaynML0fij+MpnS3IY+xslyYK7jpJF86g01JWw/5OJMiGZGT/8StZClc6\ngPYIn3jwDplvefoETYfZi+0yEU9YKLKQu6M+M9s4rQwZ7JaRBY1JB+biyswv\n+CKR8dV9+MGlnb+o42f9xy766Kyz5HRgmSpwm3dc5GgW7dngTMqwJuDuopmS\nKO2XH3W/QN+HZmfQBoSRW4JG8To8+awcnogvxc40d4EF/wvua/BjwLXWf8J+\n5pi/nzNV5bjD6Wpqkfof4Foa898Pi8Q0P0ArWPhRR3uvvNvbq1+dfWAfSjSx\n6MYf9x58jEeq1q4rbeYZHhvryNfgUvSDWrXyIfRq86dQOjcTCYUzBlDLSzEX\nDyGWQ6D8xOmGV1gIPZlaV9m5EUHFgJ94wr0CCFZenM8WSPvS2d+SnRE99Owi\nwwt7BAUBr1namQQ/Yfqu5mvKyzwmic9Mq33CwyYw0Z1s9l235dyM4Ao5lQK0\nFvFa\r\n=9qxk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnxycVfFMlz0t66yvTtUye8GUcf/sO62Vq1fwtsx+8tQIhAKfAalwCPFUEYhP/WzYSURNcYs+UV4HgzVyWgs3jx9RG"}]},"maintainers":[{"email":"forbes@lindesay.co.uk","name":"forbeslindesay"},{"email":"with-bot@rollingversions.com","name":"with-bot"}],"_npmUser":{"name":"with-bot","email":"with-bot@rollingversions.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/with_7.0.0-canary-1_1590445850256_0.0011167615742095904"},"_hasShrinkwrap":false},"7.0.0":{"name":"with","version":"7.0.0","description":"Compile time `with` for strict mode JavaScript","main":"lib/index.js","scripts":{"build":"tsc","postbuild":"rimraf lib/**/__tests__","lint":"tslint './src/**/*.{ts,tsx}' -t verbose -p .","prettier:write":"prettier --ignore-path .gitignore --write './**/*.{md,json,yaml,js,jsx,ts,tsx}'","prettier:check":"prettier --ignore-path .gitignore --list-different './**/*.{md,json,yaml,js,jsx,ts,tsx}'","pretest":"yarn build","test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"@babel/parser":"^7.9.6","@babel/types":"^7.9.6","assert-never":"^1.2.1","babel-walk":"3.0.0-canary-5"},"devDependencies":{"@forbeslindesay/tsconfig":"^2.0.0","@types/node":"^14.0.5","mocha":"*","prettier":"^2.0.5","rimraf":"^3.0.2","tslint":"^6.1.2","typescript":"^3.9.3","uglify-js":"^2.6.2"},"engines":{"node":">= 10.0.0"},"gitHead":"6d6c0c0285340090f80208a1e330516834cf8824","bugs":{"url":"https://github.com/pugjs/with/issues"},"homepage":"https://github.com/pugjs/with#readme","_id":"with@7.0.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-XS51xsYITl5V0q0AcZG/lMPFBbCETHLjL7Tr6ZOmPGP3UkKBmwOKqLgAmenC5v8MHDcOudpNkO1CW0kpe7Oyag==","shasum":"60b88622fb56482a5ba7fa8ebe1a880d7b64a6e3","tarball":"https://registry.npmjs.org/with/-/with-7.0.0.tgz","fileCount":23,"unpackedSize":124888,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezEdsCRA9TVsSAnZWagAAaDAQAIG/Fu8okNKenM4L5pd9\nVxDZ2zNyDH/jTyDAXBYn/cxMl/3GEnknpV8/g5R/XZaw5DQ18NsRUV9WR9Xb\nfKlEnSbmIHJaPY9lj4WgSffHlGXuaTKbJs0P/tTFoKogBRdJ6c9NW0dCgARk\nNoDR4/i9Xo3BhN4lMzltlcaLQD+akLBvc+wkYDFIf/H1d8GChWAJfzyn3TOL\nVBBSvE6KUucOtdA2Tj5HnOEthxhiTDJTH0firlbCF4e9NuJqpPtQZMQ969vX\nwPxvkT349fmCFdmByjMfo7kPkOa2nHQceGWY5h4TrWZF9cmXRzzg1A9kJm1B\ntH1JknAoG8q9UJzcDNXsYpBeSCnK4+oI+sjsGIv1ap7pl5tdQ6eP7Z/q/W3v\nmAb7eDOku+7JGeujSk49QPX4PZsQrJgpbhRA58AdltBdRYHkyHdTdSbjwLsX\nOaQuHynnq1sMvuO0ukL5l7XqEXIzP7W/oxq8RZTnEpQ1K0kNJ+h+KTQYTmya\nYQNa2L67oWukF/4qC4RKEb83G46K9rdReGDOupZKWBEOxPibYouy2lsOrXKr\nwz4DiXF0AzA7XhAkKMVlNLOcZB+6CAfjBMuBc/l+uRkm9KFMVVFsgdwTIHpD\ncfKGIUq6v9se0gDWH3s+77KtrRCKHa0LvSQqEoFnMFYvmhXwudUg+v5d7kZe\nzIA3\r\n=Cz1V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDD55J0Rm+69Wft5qFIjgrdOvrSJiXO/dXkZ2wseVnjawIgZdO/r1w5TxNldaC7+J9zc8GcM8Xbg6yGptvMW+i/hYU="}]},"maintainers":[{"email":"forbes@lindesay.co.uk","name":"forbeslindesay"},{"email":"with-bot@rollingversions.com","name":"with-bot"}],"_npmUser":{"name":"with-bot","email":"with-bot@rollingversions.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/with_7.0.0_1590445932156_0.03421315929259894"},"_hasShrinkwrap":false},"7.0.1-canary-2":{"name":"with","version":"7.0.1-canary-2","description":"Compile time `with` for strict mode JavaScript","main":"lib/index.js","scripts":{"build":"tsc","postbuild":"rimraf lib/**/__tests__","lint":"tslint './src/**/*.{ts,tsx}' -t verbose -p .","prettier:write":"prettier --ignore-path .gitignore --write './**/*.{md,json,yaml,js,jsx,ts,tsx}'","prettier:check":"prettier --ignore-path .gitignore --list-different './**/*.{md,json,yaml,js,jsx,ts,tsx}'","pretest":"yarn build","test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"@babel/parser":"^7.9.6","@babel/types":"^7.9.6","assert-never":"^1.2.1","babel-walk":"3.0.0-canary-5"},"devDependencies":{"@forbeslindesay/tsconfig":"^2.0.0","@types/node":"^14.0.5","mocha":"*","prettier":"^2.0.5","rimraf":"^3.0.2","tslint":"^6.1.2","typescript":"^3.9.3","uglify-js":"^2.6.2"},"engines":{"node":">= 10.0.0"},"readme":"# with\n\nCompile time `with` for strict mode JavaScript\n\n[![Build Status](https://img.shields.io/github/workflow/status/pugjs/with/Publish%20Canary/master?style=for-the-badge)](https://github.com/pugjs/with/actions?query=workflow%3A%22Publish+Canary%22)\n[![Rolling Versions](https://img.shields.io/badge/Rolling%20Versions-Enabled-brightgreen?style=for-the-badge)](https://rollingversions.com/pugjs/with)\n[![NPM version](https://img.shields.io/npm/v/with?style=for-the-badge)](https://www.npmjs.com/package/with)\n\n## Installation\n\n    $ npm install with\n\n## Usage\n\n```js\nvar addWith = require('with');\n\naddWith('obj', 'console.log(a)');\n// => ';(function (console, a) {\n//       console.log(a)\n//     }(\"console\" in obj ? obj.console :\n//                          typeof console!==\"undefined\" ? console : undefined,\n//       \"a\" in obj ? obj.a :\n//                    typeof a !== \"undefined\" ? a : undefined));'\n\naddWith('obj', 'console.log(a)', ['console']);\n// => ';(function (console, a) {\n//       console.log(a)\n//     }(\"a\" in obj ? obj.a :\n//                    typeof a !== \"undefined\" ? a : undefined));'\n```\n\n## API\n\n### addWith(obj, src[, exclude])\n\nThe idea is that this is roughly equivallent to:\n\n```js\nwith (obj) {\n  src;\n}\n```\n\nThere are a few differences though. For starters, assignments to variables will always remain contained within the with block.\n\ne.g.\n\n```js\nvar foo = 'foo';\nwith ({}) {\n  foo = 'bar';\n}\nassert(foo === 'bar'); // => This fails for compile time with but passes for native with\n\nvar obj = {foo: 'foo'};\nwith ({}) {\n  foo = 'bar';\n}\nassert(obj.foo === 'bar'); // => This fails for compile time with but passes for native with\n```\n\nIt also makes everything be declared, so you can always do:\n\n```js\nif (foo === undefined)\n```\n\ninstead of\n\n```js\nif (typeof foo === 'undefined')\n```\n\nThis is not the case if foo is in `exclude`. If a variable is excluded, we ignore it entirely. This is useful if you know a variable will be global as it can lead to efficiency improvements.\n\nIt is also safe to use in strict mode (unlike `with`) and it minifies properly (`with` disables virtually all minification).\n\n#### Parsing Errors\n\nwith internally uses babylon to parse code passed to `addWith`. If babylon throws an error, probably due to a syntax error, `addWith` returns an error wrapping the babylon error, so you can\nretrieve location information. `error.component` is `\"src\"` if the error is in the body or `\"obj\"` if it's in the object part of the with expression. `error.babylonError` is\nthe error thrown from babylon.\n\n## License\n\nMIT\n","readmeFilename":"README.md","gitHead":"02b8f64a1e298c68b4eff4c0fc6ee999cc3db783","bugs":{"url":"https://github.com/pugjs/with/issues"},"homepage":"https://github.com/pugjs/with#readme","_id":"with@7.0.1-canary-2","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-o4ehlRfzLyk+M3M0ZAAZSz+6NycholBh7DeKMnsUHt75TWfr+H8VfRA/QaKeym5LyOX6afZCFEWNhQ7RSO8+yQ==","shasum":"ff49bc52404663935a56f4dbfa39350afc698e9b","tarball":"https://registry.npmjs.org/with/-/with-7.0.1-canary-2.tgz","fileCount":23,"unpackedSize":125054,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezoM0CRA9TVsSAnZWagAAslMP/1tXBsm7DGtBL99S3uqZ\nWhU2IqTZGbLEexmo71LSrA13+ibi8kJ/nOJxmYvKTZuwWGT9iKtwE9m3gxDW\nQuOIi7w50HNgkKhvprjiu25Tyu2Dn9EegGp3rE5cy6LueZXCs8hkX8y2HfKq\n9YrNSvVRFbEnEEmkcrt7CBdSYCG4daYyexm4vR3LKMmJvP1KCdUxTv6DSBeE\n9bGiZJseJWPwEWGh3/hw4bVcPumfiLhne71CEdQY5UrKQgXqcZ5ImNRqxr1H\nQWZT47Z9tmKOa+VBEEu2PskSjXTlkn/Cn8hZbYr8OPREk8ZJva/lKT/x91Ll\nGKsyRw8A1qw7tY8ytqylCh6qaVvb88kH47xVpOpSrAa9NzIpxoYVcfIf9vxF\nkox0mJOD9YmZAQfl0NnScIf9qkpUXlGK0m59QFP3MdpUojZpqKTQqhv+SiRN\n66T0vOe9OFs4J/VuCgn4Ot9KJpgCEFmFAoIc5Q+LF9GvVYKirJ8INMB2b1xM\nGy8jXVoJaf1d29bag7Q41ZWQZR7Ok3PTEjmgGVPx3MXTSlFnGn9dDe0g4odt\nGbG+uK/OFrCKGslMPKVZZQ9C0SXgb+1+vu1fcYNi/wh+VSzvm5z0CSYrky/o\nc2w211OgFS4nawZSndwSp1Yq/c7ZHUdzON+tTv0vfMwWpGmYHboAk3U051Z3\nu5Gd\r\n=NCAe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhPbGSXwgq+7zt5EvbGBk5ynVKx4DhRmxtkebZjFJKMgIgU6E59oTQd1nO2pT3Eb/84mOscdchP6FjPS6IqpTJodA="}]},"maintainers":[{"email":"forbes@lindesay.co.uk","name":"forbeslindesay"},{"email":"with-bot@rollingversions.com","name":"with-bot"}],"_npmUser":{"name":"with-bot","email":"with-bot@rollingversions.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/with_7.0.1-canary-2_1590592308317_0.468911710433108"},"_hasShrinkwrap":false},"7.0.1":{"name":"with","version":"7.0.1","description":"Compile time `with` for strict mode JavaScript","main":"lib/index.js","scripts":{"build":"tsc","postbuild":"rimraf lib/**/__tests__","lint":"tslint './src/**/*.{ts,tsx}' -t verbose -p .","prettier:write":"prettier --ignore-path .gitignore --write './**/*.{md,json,yaml,js,jsx,ts,tsx}'","prettier:check":"prettier --ignore-path .gitignore --list-different './**/*.{md,json,yaml,js,jsx,ts,tsx}'","pretest":"yarn build","test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"@babel/parser":"^7.9.6","@babel/types":"^7.9.6","assert-never":"^1.2.1","babel-walk":"3.0.0-canary-5"},"devDependencies":{"@forbeslindesay/tsconfig":"^2.0.0","@types/node":"^14.0.5","mocha":"*","prettier":"^2.0.5","rimraf":"^3.0.2","tslint":"^6.1.2","typescript":"^3.9.3","uglify-js":"^2.6.2"},"engines":{"node":">= 10.0.0"},"gitHead":"02b8f64a1e298c68b4eff4c0fc6ee999cc3db783","bugs":{"url":"https://github.com/pugjs/with/issues"},"homepage":"https://github.com/pugjs/with#readme","_id":"with@7.0.1","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-TpHxhlaRS5mNJbCDXqbDJB4qhyV8zQUPytY3o3cCb6t2m13Qw+vsWFvJCBBIkWILRjNlmlnvd/0AW0dPaO7n/w==","shasum":"6e714121465f55d6734e5b7b9fa5351c49eb73e7","tarball":"https://registry.npmjs.org/with/-/with-7.0.1.tgz","fileCount":23,"unpackedSize":125045,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezoNWCRA9TVsSAnZWagAAJOMP/RnHiAhTba5mRKv7kof1\n9vDZDXcPZFzYn1MBWQvz6vTd3tMevzZJrG8n/q2imnlgUA7fjfKxiVvBHgcJ\nKLSZE2Z1VomLOrx2AgU49MXPcNYTARn40upvbYn13oWf595mVecQslduV/0M\noiO3hn0CMLCQln5lymi/NccFCn2HLT7llVGyV7Bvg84bR99kXGVKgawR9Vl3\nL3eIWe0m2YiC5TBNYXLJW6ZHYO3ivqJxlgZL7CF7wPcFHcSy9xS9UcygRtL7\nS3meqRxgSF10kow79R26S7z9kCnnNF9BhUILuY9vYTMl7poapH+n2CX3pt7K\ns/w40pukXYZa+5aaiAnNqS2gQJfUuP4RCeqWj0zLY7vTz5x9ShnfMnlzLqor\nHi0ooMqO2GhpPkDUNFTR4dijetTO1gUcsKrbuG9ofblskBOpLcf/3H0BLXtP\ny3qO8E/bNOoqU3RiFpgVW59dvLmTnZXA+1a+wR/qgclv10Bpwp9b6WWDkUz3\nMoFpvfcU81yRs6Bf5Cs30jD/x+Ww3WgAYh1KVDAT4I4q+zAaEzUznDF/xzjl\nPl2IRSfQDq76bU7mQLaG7BZ4fthpcLhF5fsd48+2IcHb6E3jjwTuWLCUO9j7\ncHU3+K7WvlQuSBvrUnkwJgi8ERy7BASeQugv1IxGZvGkS3W0d7R/65+ofhDS\nNvrh\r\n=L6QG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEC3lBXsueT1fM676yVukbMn8HqyrqV5pvKjdy/fsacbAiEA85WyY13vaAi96M/QaNs0D8/OB7ZODVA/6Zk1yc0M9A4="}]},"maintainers":[{"email":"forbes@lindesay.co.uk","name":"forbeslindesay"},{"email":"with-bot@rollingversions.com","name":"with-bot"}],"_npmUser":{"name":"with-bot","email":"with-bot@rollingversions.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/with_7.0.1_1590592342041_0.5151517442363276"},"_hasShrinkwrap":false},"7.0.2-canary-3":{"name":"with","version":"7.0.2-canary-3","description":"Compile time `with` for strict mode JavaScript","main":"lib/index.js","scripts":{"build":"tsc","postbuild":"rimraf lib/**/__tests__","lint":"tslint './src/**/*.{ts,tsx}' -t verbose -p .","prettier:write":"prettier --ignore-path .gitignore --write './**/*.{md,json,yaml,js,jsx,ts,tsx}'","prettier:check":"prettier --ignore-path .gitignore --list-different './**/*.{md,json,yaml,js,jsx,ts,tsx}'","pretest":"yarn build","test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"@babel/parser":"^7.9.6","@babel/types":"^7.9.6","assert-never":"^1.2.1","babel-walk":"3.0.0-canary-5"},"devDependencies":{"@forbeslindesay/tsconfig":"^2.0.0","@types/node":"^14.0.5","mocha":"*","prettier":"^2.0.5","rimraf":"^3.0.2","tslint":"^6.1.2","typescript":"^3.9.3","uglify-js":"^2.6.2"},"engines":{"node":">= 10.0.0"},"readme":"# with\n\nCompile time `with` for strict mode JavaScript\n\n[![Build Status](https://img.shields.io/github/workflow/status/pugjs/with/Publish%20Canary/master?style=for-the-badge)](https://github.com/pugjs/with/actions?query=workflow%3A%22Publish+Canary%22)\n[![Rolling Versions](https://img.shields.io/badge/Rolling%20Versions-Enabled-brightgreen?style=for-the-badge)](https://rollingversions.com/pugjs/with)\n[![NPM version](https://img.shields.io/npm/v/with?style=for-the-badge)](https://www.npmjs.com/package/with)\n\n## Installation\n\n    $ npm install with\n\n## Usage\n\n```js\nvar addWith = require('with');\n\naddWith('obj', 'console.log(a)');\n// => ';(function (console, a) {\n//       console.log(a)\n//     }(\"console\" in obj ? obj.console :\n//                          typeof console!==\"undefined\" ? console : undefined,\n//       \"a\" in obj ? obj.a :\n//                    typeof a !== \"undefined\" ? a : undefined));'\n\naddWith('obj', 'console.log(a)', ['console']);\n// => ';(function (console, a) {\n//       console.log(a)\n//     }(\"a\" in obj ? obj.a :\n//                    typeof a !== \"undefined\" ? a : undefined));'\n```\n\n## API\n\n### addWith(obj, src[, exclude])\n\nThe idea is that this is roughly equivallent to:\n\n```js\nwith (obj) {\n  src;\n}\n```\n\nThere are a few differences though. For starters, assignments to variables will always remain contained within the with block.\n\ne.g.\n\n```js\nvar foo = 'foo';\nwith ({}) {\n  foo = 'bar';\n}\nassert(foo === 'bar'); // => This fails for compile time with but passes for native with\n\nvar obj = {foo: 'foo'};\nwith ({}) {\n  foo = 'bar';\n}\nassert(obj.foo === 'bar'); // => This fails for compile time with but passes for native with\n```\n\nIt also makes everything be declared, so you can always do:\n\n```js\nif (foo === undefined)\n```\n\ninstead of\n\n```js\nif (typeof foo === 'undefined')\n```\n\nThis is not the case if foo is in `exclude`. If a variable is excluded, we ignore it entirely. This is useful if you know a variable will be global as it can lead to efficiency improvements.\n\nIt is also safe to use in strict mode (unlike `with`) and it minifies properly (`with` disables virtually all minification).\n\n#### Parsing Errors\n\nwith internally uses babylon to parse code passed to `addWith`. If babylon throws an error, probably due to a syntax error, `addWith` returns an error wrapping the babylon error, so you can\nretrieve location information. `error.component` is `\"src\"` if the error is in the body or `\"obj\"` if it's in the object part of the with expression. `error.babylonError` is\nthe error thrown from babylon.\n\n## License\n\nMIT\n","readmeFilename":"README.md","gitHead":"fcae468cb1ca7205a2a07dc9680f390a453b4e49","bugs":{"url":"https://github.com/pugjs/with/issues"},"homepage":"https://github.com/pugjs/with#readme","_id":"with@7.0.2-canary-3","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-wKAbH+1M3TN0fmss16Xj0W9V6lwPL1XayJwH6lzznwi623aor2eQvHhVg5mVYIqsBe6nVMrHSODtsJQtPc/PZg==","shasum":"0cf24192010d56e750e8b5a02678c42be28f93e1","tarball":"https://registry.npmjs.org/with/-/with-7.0.2-canary-3.tgz","fileCount":22,"unpackedSize":40297,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0OmPCRA9TVsSAnZWagAAEJQQAIu9KdxSXcRIZIXpdj/T\n38ZLur/JC3OxDyxcfrVGnR4cAhyKPQRCTJvAg/qt8gFl4U4iLvquUXh/hu4v\nF7iJ0M3tfXiQKKfjsviO6Sd69VLmtJqXJJqs16tKD7K4iR0FQiTqrt0WV87I\nr3DOdeupzPTlqaLM66skwFsAMd8Et31Q3NlWMXaNeIXbzGlELf2snY7syFCn\nYrZYl3xZjdHCMnnE+Wdu+yDZrXZ05cuBaNrvrpbkI9a77/3Fv9L2WuszGw6B\nl9nIVC7uWD3Ha+HCm10SZRYAzXMsNw2GT+qToBzXNuVhPfX62Oku6diMVxgb\n6HvTyLeVLQ9Mj4Yz5S+Nm5uTkUPRt1R9OMVV82gaKvl0V7iNtPRIg5frWJof\ntCDA7rXTDezB9siVznXMIfkKFS+ayWobiWTkos4ZEcXwE+TXyfkkUUG1q0kh\n0Cb11jT685ozqfCGeorpsVz4EWoOpi4qFiiFxPDiLeG7vVxXuqEbcbAO1x39\n5f7QvOgtSNP/w/XM+LGGnGjdWb2IICuhtbMFSIiaN2fe8CuTq/1/vKuYeqM1\nQtG4MIq+8VFWaBo1E+skfe1xZ+Ub5qIVHl4H1l/kDCicB0rbo4PH5YZ0CZeq\njAgFsE8bKEBIDH9C3eZPsMJM049mAihgn3eMzZOasAaoOe+s5FHm1iTmEytV\nSh2h\r\n=Afbf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdBShTv17kzAMICdgv7imEVoUmUbKaIwCfl1OK87oovAIhALFkhBjj5eYmBy5B169Bu6ALQjPUgadw8VAE5aczvsR8"}]},"maintainers":[{"email":"forbes@lindesay.co.uk","name":"forbeslindesay"},{"email":"with-bot@rollingversions.com","name":"with-bot"}],"_npmUser":{"name":"with-bot","email":"with-bot@rollingversions.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/with_7.0.2-canary-3_1590749582886_0.21731864787719046"},"_hasShrinkwrap":false},"7.0.2":{"name":"with","version":"7.0.2","description":"Compile time `with` for strict mode JavaScript","main":"lib/index.js","scripts":{"build":"tsc","postbuild":"rimraf lib/**/__tests__","lint":"tslint './src/**/*.{ts,tsx}' -t verbose -p .","prettier:write":"prettier --ignore-path .gitignore --write './**/*.{md,json,yaml,js,jsx,ts,tsx}'","prettier:check":"prettier --ignore-path .gitignore --list-different './**/*.{md,json,yaml,js,jsx,ts,tsx}'","pretest":"yarn build","test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"@babel/parser":"^7.9.6","@babel/types":"^7.9.6","assert-never":"^1.2.1","babel-walk":"3.0.0-canary-5"},"devDependencies":{"@forbeslindesay/tsconfig":"^2.0.0","@types/node":"^14.0.5","mocha":"*","prettier":"^2.0.5","rimraf":"^3.0.2","tslint":"^6.1.2","typescript":"^3.9.3","uglify-js":"^2.6.2"},"engines":{"node":">= 10.0.0"},"gitHead":"fcae468cb1ca7205a2a07dc9680f390a453b4e49","bugs":{"url":"https://github.com/pugjs/with/issues"},"homepage":"https://github.com/pugjs/with#readme","_id":"with@7.0.2","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-RNGKj82nUPg3g5ygxkQl0R937xLyho1J24ItRCBTr/m1YnZkzJy1hUiHUJrc/VlsDQzsCnInEGSg3bci0Lmd4w==","shasum":"ccee3ad542d25538a7a7a80aad212b9828495bac","tarball":"https://registry.npmjs.org/with/-/with-7.0.2.tgz","fileCount":22,"unpackedSize":40288,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0OmyCRA9TVsSAnZWagAAwasQAKGRYnII22tWrCPMgTO5\ndMIUuqaqKRZIXYy/05ebTsxpHbfnduaDndZuCWX9e4FzQxC9m+/PZSYvyDuE\nf0hafrX4j+NKZZTtBav9ARX0agNypdtJG/TTEWOkHm+I5/dvA4dEcztgcW/Q\nJSd2Y13kXBQcwqAEBbuT+mSmvuRBJvdKx9YFU+h2d+dkUYtJfnZxw+FK4aah\nTJG8CF3zmo6/yTUiaYL4kECWNSJ6Q1tdvxSvy7W4Y/li4WS9xVEKG3QYy/iT\nneJNUZ54ILP6Epc+7Gd4qxRTSNUWFAAJikEG1Q246/jiLNfZw4A5mb8TcOES\neQ8o8+7FenxcJCVsHgjF7WCqPQcNyrdrR1jMyBnwQsW1RZSBpR1CW+UoQPcF\nHifB3T5YcSCRj5AJQcB/1bpdcdw9+fS0j2ibTyBV5qctnSbJAbMdTR3RdAtL\nFaToNIRqffHqH/vcrz86Do/eDncnQkTQUe/cCS2LxCimk1iOaCZrkNmZHQC+\nKhzlccR/Zz2FAxvWTVdoHsKSafR23bS1FYWNqaO0XzDE9DOc2uKQIFpnaST9\n3E6vlkcKtMkjckWz62TjC8U8YdTWbksLWJQbnm7/qlBkxjedOnu202MJ2IcD\nASIdYATq8MyVgscFxT8U+otZSDTPKdolt5UjBs0PkrXoXaxvaxI70R0/rPKQ\nMWXK\r\n=hWAG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHCoVDKZ68YBWcWwvssa+sr+dmCOyxljs1XQves21oeaAiAHZsBQlHe1j5kS/QxTDn4ESMaSvO09ep2qPXrmpGdMyA=="}]},"maintainers":[{"email":"forbes@lindesay.co.uk","name":"forbeslindesay"},{"email":"with-bot@rollingversions.com","name":"with-bot"}],"_npmUser":{"name":"with-bot","email":"with-bot@rollingversions.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/with_7.0.2_1590749618188_0.30489362884125804"},"_hasShrinkwrap":false}},"readme":"# with\n\nCompile time `with` for strict mode JavaScript\n\n[![Build Status](https://img.shields.io/github/workflow/status/pugjs/with/Publish%20Canary/master?style=for-the-badge)](https://github.com/pugjs/with/actions?query=workflow%3A%22Publish+Canary%22)\n[![Rolling Versions](https://img.shields.io/badge/Rolling%20Versions-Enabled-brightgreen?style=for-the-badge)](https://rollingversions.com/pugjs/with)\n[![NPM version](https://img.shields.io/npm/v/with?style=for-the-badge)](https://www.npmjs.com/package/with)\n\n## Installation\n\n    $ npm install with\n\n## Usage\n\n```js\nvar addWith = require('with');\n\naddWith('obj', 'console.log(a)');\n// => ';(function (console, a) {\n//       console.log(a)\n//     }(\"console\" in obj ? obj.console :\n//                          typeof console!==\"undefined\" ? console : undefined,\n//       \"a\" in obj ? obj.a :\n//                    typeof a !== \"undefined\" ? a : undefined));'\n\naddWith('obj', 'console.log(a)', ['console']);\n// => ';(function (console, a) {\n//       console.log(a)\n//     }(\"a\" in obj ? obj.a :\n//                    typeof a !== \"undefined\" ? a : undefined));'\n```\n\n## API\n\n### addWith(obj, src[, exclude])\n\nThe idea is that this is roughly equivallent to:\n\n```js\nwith (obj) {\n  src;\n}\n```\n\nThere are a few differences though. For starters, assignments to variables will always remain contained within the with block.\n\ne.g.\n\n```js\nvar foo = 'foo';\nwith ({}) {\n  foo = 'bar';\n}\nassert(foo === 'bar'); // => This fails for compile time with but passes for native with\n\nvar obj = {foo: 'foo'};\nwith ({}) {\n  foo = 'bar';\n}\nassert(obj.foo === 'bar'); // => This fails for compile time with but passes for native with\n```\n\nIt also makes everything be declared, so you can always do:\n\n```js\nif (foo === undefined)\n```\n\ninstead of\n\n```js\nif (typeof foo === 'undefined')\n```\n\nThis is not the case if foo is in `exclude`. If a variable is excluded, we ignore it entirely. This is useful if you know a variable will be global as it can lead to efficiency improvements.\n\nIt is also safe to use in strict mode (unlike `with`) and it minifies properly (`with` disables virtually all minification).\n\n#### Parsing Errors\n\nwith internally uses babylon to parse code passed to `addWith`. If babylon throws an error, probably due to a syntax error, `addWith` returns an error wrapping the babylon error, so you can\nretrieve location information. `error.component` is `\"src\"` if the error is in the body or `\"obj\"` if it's in the object part of the with expression. `error.babylonError` is\nthe error thrown from babylon.\n\n## License\n\nMIT\n","maintainers":[{"email":"forbes@lindesay.co.uk","name":"forbeslindesay"},{"email":"with-bot@rollingversions.com","name":"with-bot"}],"time":{"modified":"2022-06-29T02:41:51.282Z","created":"2013-05-21T09:59:05.355Z","1.0.0":"2013-05-21T09:59:07.739Z","1.0.1":"2013-05-21T10:05:18.949Z","1.0.2":"2013-05-21T10:09:32.988Z","1.0.3":"2013-05-24T18:11:14.397Z","1.0.4":"2013-05-31T16:01:01.164Z","1.1.0":"2013-06-16T01:32:57.310Z","1.1.1":"2013-08-25T01:55:46.202Z","2.0.0":"2013-10-01T09:17:48.479Z","3.0.0":"2014-02-03T14:28:38.318Z","3.0.1":"2014-08-19T17:05:27.350Z","4.0.0":"2014-09-22T16:22:10.195Z","4.0.1":"2015-02-07T22:47:22.032Z","4.0.2":"2015-03-29T00:21:32.381Z","4.0.3":"2015-04-06T21:17:47.492Z","5.0.0":"2015-04-08T22:42:23.299Z","5.0.1":"2016-06-03T15:40:08.848Z","5.0.2":"2016-06-03T15:43:43.578Z","5.1.0":"2016-06-03T16:14:36.732Z","5.1.1":"2016-06-04T01:07:42.365Z","6.0.0":"2018-06-01T16:04:45.733Z","7.0.0-canary-1":"2020-05-25T22:30:50.359Z","7.0.0":"2020-05-25T22:32:12.283Z","7.0.1-canary-2":"2020-05-27T15:11:48.436Z","7.0.1":"2020-05-27T15:12:22.173Z","7.0.2-canary-3":"2020-05-29T10:53:03.025Z","7.0.2":"2020-05-29T10:53:38.392Z"},"author":{"name":"ForbesLindesay"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"readmeFilename":"README.md","homepage":"https://github.com/pugjs/with#readme","bugs":{"url":"https://github.com/pugjs/with/issues"},"license":"MIT","users":{"pgilad":true}}