{"_id":"hmpo-nunjucks-test","_rev":"35-6d4c803f025efdf2f18a2322890e8fc3","name":"hmpo-nunjucks-test","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.1":{"name":"hmpo-nunjucks-test","version":"1.0.1","author":{"name":"HMPO"},"license":"MIT","_id":"hmpo-nunjucks-test@1.0.1","maintainers":[{"name":"hughepaul","email":"paul@hughe.co.uk"}],"homepage":"https://github.com/UKHomeOffice/passports-nunjucks-test#readme","bugs":{"url":"https://github.com/UKHomeOffice/passports-nunjucks-test/issues"},"dist":{"shasum":"5342fee519cbd2824700984f75d7e7116865e3aa","tarball":"https://registry.npmjs.org/hmpo-nunjucks-test/-/hmpo-nunjucks-test-1.0.1.tgz","fileCount":9,"integrity":"sha512-Oqobn9Gyu9efQu/nOqJWJwcDLiaJ0xltNU1WKEsOsTr8/zDkO/eTQgT0IrDV7GZaqE8OR2vEIqDPMvD0bVt+rw==","signatures":[{"sig":"MEQCIBy2NXMdMsfJEZaKuPYWK0heoca5rx+AthvehqFxUL0CAiBuRQKFKHWdIic0KzqugyGnz+yhzwOl5UOfNC5PwVF/Vg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6938,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc11AECRA9TVsSAnZWagAA0vUP/RjXkkLm7jEdIKaGky11\nnm/4LHATjZb6Kga/yh+SnyFnbe8xgKv13VhTnOhgtlvKDgfMIjG+3BPSLY/z\nBINCrNjiTw7bSBzwBcabEWposohcBdG3dd3OJdSGaVzJcj2MeqURI7SF0Wwo\nM06dduZrSs2uUXdrX5fBPsoooQ1idPP9CSgt77dzJNjhC6pE9eqYYZ26TfJa\nqkSCVTgnATK8AncjQKa1nwDeC/63p63RGjLLeQmhjQHcf9TEMuUJUhgp0QtC\np3WFL0gyzqdrlynRZxpoA+P2ee8PTaX6MhPOCOwGwCa5x+nHsRXIRG3tPJGb\nTWmHTOrNN8Kry98A0DZReZXpfv1o/fagosvKjGBXU8jHXbq2oAnWXxdn7gZ3\nm7bCG3iNVdzqHHDUDtD5i/UqU9VesuikCF6Qr/vAkNm2N3P5reEs69MM8Zh3\nJETkT6ykWmp9qFCWq8OufTk49WZ5N/S92BMM3Yc9HG4h0ypbLs/oDuCqHL9k\nTN/nHiWxYUgtWM12B8+OOIYPZzNf6JehF7v4p+VVoF55IruMOTOSGG7vzpro\nqkQKpecAqelFosdh9tQIQ/BbYyTCZwMR800ngN70XhKV8x8NDhBoHkdj1pON\nUlXj1ZiHw7nZ50Twke4evU7E24aytaWILtwhwaSAmYiy+S3VQ65TfgA+MSYY\nlkVq\r\n=bO60\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1641a1d38fa3fb3d0713f9f35589722e3558a630","scripts":{"test":"mocha test"},"_npmUser":{"name":"hughepaul","email":"paul@hughe.co.uk"},"repository":{"url":"git+https://github.com/UKHomeOffice/passports-nunjucks-test.git","type":"git"},"_npmVersion":"6.1.0","description":"test nunjucks template generation","directories":{},"_nodeVersion":"8.9.4","dependencies":{"lodash":"^4.17.11","cheerio":"^1.0.0-rc.3","nunjucks":"^3.2.0","govuk-frontend":"^2.11.0","deep-clone-merge":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^6.1.4","hmpo-components":"*"},"peerDependencies":{"govuk-frontend":"*","hmpo-components":"*"},"_npmOperationalInternal":{"tmp":"tmp/hmpo-nunjucks-test_1.0.1_1557614596097_0.9758593870980934","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"hmpo-nunjucks-test","version":"1.0.2","author":{"name":"HMPO"},"license":"MIT","_id":"hmpo-nunjucks-test@1.0.2","maintainers":[{"name":"hughepaul","email":"paul@hughe.co.uk"}],"homepage":"https://github.com/UKHomeOffice/passports-nunjucks-test#readme","bugs":{"url":"https://github.com/UKHomeOffice/passports-nunjucks-test/issues"},"dist":{"shasum":"65b6b644d12998c3fe754197f72877a099343d05","tarball":"https://registry.npmjs.org/hmpo-nunjucks-test/-/hmpo-nunjucks-test-1.0.2.tgz","fileCount":9,"integrity":"sha512-IE9DzIeshud1+pJG3wf4ZFlUUsXy2mpYoyABou9tRJQbGeASiGZosDcUQ/qanoaDCdxxoa6NN4lIH2lNSjZc7g==","signatures":[{"sig":"MEUCIBwpEPiq7MpJHbjbqi3xDobAKgERvLTmLTUHQOGxeLiTAiEA3yAdX1VNGxtkkUvJlXzgnvg67HuIqboIb4+objQw8mE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7142,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc11P7CRA9TVsSAnZWagAAjiUP/2I2Gq3eMI6qtbs/mMyO\nov95ua5lItWnqjVyHAhms6n9WE03RWCcoq7hTwqoWgkScxXJNkgc2CXImA/T\ntfwDw2gFEr8Bh7Wm489gVtYjt7MY+GGnAJe6PwtgK0Uu17qEHpN6aK9q24F3\nJ5SH2HM6up98JUPhSxCT/hfIKYtFvBWiDwHXAemmfYodh+jlaT479onOejvL\ne/FnJqzLbnUXInsSFGLrw18InkAX9Y00dfrr2+k69EIwZcNYI7LurKzHw5zT\nU2tq+u5zCYiqxt6RXAwBwizHc7+nw+XOF7X4jUITHMzN/gvoiXRqXEAqybbt\n19e4F/dohH4ZtOqC4P0sgb4mj7GDf+DKllN/2FgZQnVoQaGbUyXh0f0vGZ9i\nwzYS3ecLmtqgr8PZX8/fHR3jwRAPVqPfghjnlz6iRbQ7NQ050fN7SIb72VVf\nFiDcFwxVmjAMh3bDxDXFPrcLbouE6Vgr9Dq1goNMxhgZBBop0rlItBX/oLYo\nAZ8X/B+ak/Hq9myRZWRJHQ11e4GQ6bBDnMps8C8Xut8OWrA15qMq+pc6VNHa\nw5fk85CrkedHBbA76ySbU3wYuK9ebL4LXqq4j+JNo8rri24CDvDp3a3cDKYN\nmisn4r+3BZ/Pq669uxSBzNtN4ibW2f43Eg8FBanyqqwfY51MAnIGLQsEwlLh\noYmL\r\n=uuJ3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"86530c0cc371faf761d3e9d5629acbfc8980f9e8","scripts":{"test":"mocha test"},"_npmUser":{"name":"hughepaul","email":"paul@hughe.co.uk"},"repository":{"url":"git+https://github.com/UKHomeOffice/passports-nunjucks-test.git","type":"git"},"_npmVersion":"6.1.0","description":"test nunjucks template generation","directories":{},"_nodeVersion":"8.9.4","dependencies":{"lodash":"^4.17.11","cheerio":"^1.0.0-rc.3","nunjucks":"^3.2.0","govuk-frontend":"^2.11.0","deep-clone-merge":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^6.1.4","hmpo-components":"*"},"peerDependencies":{"govuk-frontend":"*","hmpo-components":"*"},"_npmOperationalInternal":{"tmp":"tmp/hmpo-nunjucks-test_1.0.2_1557615610899_0.2779412445363454","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"hmpo-nunjucks-test","version":"1.0.3","author":{"name":"HMPO"},"license":"MIT","_id":"hmpo-nunjucks-test@1.0.3","maintainers":[{"name":"hughepaul","email":"paul@hughe.co.uk"}],"homepage":"https://github.com/UKHomeOffice/passports-nunjucks-test#readme","bugs":{"url":"https://github.com/UKHomeOffice/passports-nunjucks-test/issues"},"dist":{"shasum":"d234b851ccc251db13443782b6feaa7ae66880ed","tarball":"https://registry.npmjs.org/hmpo-nunjucks-test/-/hmpo-nunjucks-test-1.0.3.tgz","fileCount":9,"integrity":"sha512-RozSHZ5k+R9wQXTEHWoxvEzRuVRAuti+dwZDw4buSitWLRPaYXke7Xnujbsstxy8e4rcvz+GWfJS3tlBsdRfUQ==","signatures":[{"sig":"MEQCICI8/KsLW9O4KV/XgLd4s4Kiu477H2h+vGK5bcfIcaSXAiABc7gadih409DVpXX8Ec2bvLQNGVfkcxkJCRaZ5G/9bg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7460,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc11oCCRA9TVsSAnZWagAAWK4P/iS3F1ha/U5XhEgzAPyc\nFra+wcIzMmLfHHgWKoQtMSfS3Qhrso2BNxIQbS2PPm4rxRMZ0uucf7/g2+Xu\n7szNBkQru9ZeX1VAU6dxdy3qPu6w5/X32NWNQrRUK3i7P35SWPnVZRZW7Ymd\nd/bPatsLMCy7FV9q+Z/Lpq0ifXE8Fv7djMtXyqQ5fMfPeic5aC4L0ZdBkVtN\nn0BSMwL486fT1MnGh6TAa6r+DAl0Y2gBljSJlC/FbNo+7GMApQPnp8WhjpoT\n5N+40vfx1KHqsT27FuE8eCBLkU2casGwp+ar55K5gDwRbbfILgZj20YEsnDp\nbaN1dGQpCv9i+PCRixZXNDB6NJRMB6wlfOLtRWsETq52dQ8zh28M92hPP36E\nnRLVGwzaTRA8BIbVfsga6971z3mfdNRmIMiZsHS6HtSWvz09jaZiSu6YcUtW\nMbcE+vpDmojhIx9n7CMgZG8r/tRZDDfoMCAyyFwwjhOFSyCDyi6ecyIhHXwx\n6IvMNILm4d80kZrWHZj4K04alwDns0ynUVaWzMobSmlfMB7G31yeitwcc4IV\n7hbNbJOVewTv9VgdWX7Pfr+tQj9prx2gUoLTEyhQUaAvSbdDPpkZ8izfSZ4Y\n22GItSOQ+kiV8C9x7meDanG/zJIl1b8lQI/0K/wa6qogw1YPc9489ldet/a9\nWqfN\r\n=KjTb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"03d481137cb5f769fd89b3957f2f39414f117b1a","scripts":{"test":"mocha test"},"_npmUser":{"name":"hughepaul","email":"paul@hughe.co.uk"},"repository":{"url":"git+https://github.com/UKHomeOffice/passports-nunjucks-test.git","type":"git"},"_npmVersion":"6.1.0","description":"test nunjucks template generation","directories":{},"_nodeVersion":"8.9.4","dependencies":{"lodash":"^4.17.11","cheerio":"^1.0.0-rc.3","nunjucks":"^3.2.0","govuk-frontend":"^2.11.0","deep-clone-merge":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^6.1.4","hmpo-components":"*"},"peerDependencies":{"govuk-frontend":"*","hmpo-components":"*"},"_npmOperationalInternal":{"tmp":"tmp/hmpo-nunjucks-test_1.0.3_1557617153917_0.13098266955217586","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"hmpo-nunjucks-test","version":"1.1.0","author":{"name":"HMPO"},"license":"MIT","_id":"hmpo-nunjucks-test@1.1.0","maintainers":[{"name":"hughepaul","email":"paul@hughe.co.uk"}],"homepage":"https://github.com/UKHomeOffice/passports-nunjucks-test#readme","bugs":{"url":"https://github.com/UKHomeOffice/passports-nunjucks-test/issues"},"dist":{"shasum":"4d54eac69f71eb925fd36173693bdd52f1fce35d","tarball":"https://registry.npmjs.org/hmpo-nunjucks-test/-/hmpo-nunjucks-test-1.1.0.tgz","fileCount":10,"integrity":"sha512-gZN3oIfdNko/WmyTfBbjSPfBdgx3/oQfXLyxzwdyxtJf6azeHPLqPULTtpNspVnsOSwVCRgSJZ8inigW/KVWWw==","signatures":[{"sig":"MEQCIAUvtdNqoBm/A3gs0qZmyJbajhAzvXPyU9eYMPtFRYSxAiBByZxThS3ytvn/PDUhA9bHH7BQzB6wXG6j/sgJE4Hqjg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8025,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1/QXCRA9TVsSAnZWagAAZJoQAKBANxEpFD9gnVRSpHu8\ngPptyi5nz+UR0bahiLwxC+xoZtfc+LFnUkSaYYZxtUrgi/v61iMvXf3iwnlb\n1V/ZR9jukvDiZoeqsu5DW4QXcGQlSqLm5OwlnI8tjeg6i3rQWbTgE9F2dVQW\nseir2S6PffgEXNUqasW+XgV6qf5aN1Ffz+nW1F6FI8E4BYwPZVLd4+kg04V6\n0Vtjx2ggTncgnDOVyI7V7AfIoDdlemhXaPnJhnMQMU3FIvR2W6PJUuMwGndN\n63DzzJNuyK7JHuKpIgBOCFrU7NK0OsYAOrmeGbWFYkMsjju08k+YMx4P1mko\nuEp5hqN1cZ6Q6MMuF1mU/j/wapyAaXVLvQ2DziRufTcfdqwgOGDrKOTuCocv\n9zD0RYcBAYR/vNYHIXLWMHzul/iOpot2eI56Xvg7LsFOqzuVxjedmebtUqyh\n5gGbmP8pZFtlu8WTwLysRNuFWZixcyYlNQpydBWpH2sYNdIh4PZ4EbtfbjFW\ni5xTi2ZwLnLc/DBOm8RxY0f+tzW1kLcjbPOD/6saq5SLxnAdgSnq8u9FrSP9\nAlph5FoO53EwtvTdBkWfE0Jc9sJ7FxHPXpPSFfNx5XUeJkfiiqoZ8s6VYuzO\nL7L6UdZdPQgq5F7DrxMxrlYvm78yDMeXN5iEDv1ZKvaRPhb8+qfgAmE83bM9\noxfP\r\n=5PX1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ba6c5a920bf7604819b86236ab6561ad3b36e9a2","scripts":{"test":"mocha test"},"_npmUser":{"name":"hughepaul","email":"paul@hughe.co.uk"},"repository":{"url":"git+https://github.com/UKHomeOffice/passports-nunjucks-test.git","type":"git"},"_npmVersion":"6.1.0","description":"test nunjucks template generation","directories":{},"_nodeVersion":"8.9.4","dependencies":{"lodash":"^4.17.11","cheerio":"^1.0.0-rc.3","nunjucks":"^3.2.0","govuk-frontend":"^2.11.0","deep-clone-merge":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^6.1.4","hmpo-components":"*"},"peerDependencies":{"govuk-frontend":"*","hmpo-components":"*"},"_npmOperationalInternal":{"tmp":"tmp/hmpo-nunjucks-test_1.1.0_1557656598581_0.04255780400906706","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"hmpo-nunjucks-test","version":"1.2.0","author":{"name":"HMPO"},"license":"MIT","_id":"hmpo-nunjucks-test@1.2.0","maintainers":[{"name":"hughepaul","email":"paul@hughe.co.uk"}],"homepage":"https://github.com/UKHomeOffice/passports-nunjucks-test#readme","bugs":{"url":"https://github.com/UKHomeOffice/passports-nunjucks-test/issues"},"dist":{"shasum":"e0599b92d7b2769d6eb255aab2dc1a169a30ec0a","tarball":"https://registry.npmjs.org/hmpo-nunjucks-test/-/hmpo-nunjucks-test-1.2.0.tgz","fileCount":10,"integrity":"sha512-IuUZFQMRxI6gZeVJCtgmoAHKyiyKf5iUHjNeu4VVsR3PKPwqkQbtgRBFLRgz0feus3WeUDB2T2ccyn39uwaYXQ==","signatures":[{"sig":"MEYCIQDmxJz3c6u/Uo2ea8rbYrWzt/rxru8AaKtHyszklfGFMwIhANTwiRaqzpZ6eT9qDHli2cer1F12ot8Dk+4bnVPghBu+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7768,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeNHRvCRA9TVsSAnZWagAAmboP/ievHCiy2S26QLtN8s+/\ntf5Ymzg6m8B6HxDQTBp7igDIPBhg0eL4FUK0JfTB5+468Edt2rdJGM7TDhdo\n4ds2oyg78H5JZZhM/PzwhKjsP7PuA39w8HXzdThgIqyU8CsQ+bQEnL2Eqvo/\nB8632ttPRlFlQRCRIqrzJit6VcJQ85i++Yeai2eDS1eevIttch2gBIhgHBUp\nfaWeIzmCRruRdKgB/AHhwvqO8ufYy/DY8gIDHDqmRilY1uzHBTxuAMrO2Yxh\nl5xzx4DKCWP+XpBWgVd7q8CA2JZO4fpoRFEDNSNRUd9QPAj/PrSd59QjvtOx\nKq4JP7WEMCIfZp0llu2PN0I+FFYln+z6ExJSiELW5R1PuqnsGgIdjvVCnMOS\naKn9hoK0fVhqGl1nFDfID/91VvTUZV8aivcB37UPf6Ss5HXywwF4mDwvJPYb\n+pjfcu6WG4bQBYM5oqOLA6OX2EqgcQcNunBWBPxEUl4HdymAFaMDfN/K8WDj\nBQnRed5z5Hjb+zP0kUxvkA98CKgnUIjfkGG3gimHRrf398He05+N0TlRjW3U\ndv/orbRoCWwDRivQQnuR5T7xoJlAQNDrc5DMvqFJVhuVYBMTq1bKPeFBlMvX\nhu+tER11ALr1GCl3+X9Eyjs6qlxpg3bTrmJ80DzwDjpxhbQo/zTy01AtfNZI\n2Hp0\r\n=2rka\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"35270ab259ca74192f6b750128d54a2d2332dbf1","scripts":{"test":"mocha test && npm audit"},"_npmUser":{"name":"hughepaul","email":"paul@hughe.co.uk"},"repository":{"url":"git+https://github.com/UKHomeOffice/passports-nunjucks-test.git","type":"git"},"_npmVersion":"6.10.3","description":"test nunjucks template generation","directories":{},"_nodeVersion":"10.12.0","dependencies":{"lodash":"^4.17.15","cheerio":"^1.0.0-rc.3","nunjucks":"^3.2.0","deep-clone-merge":"^1.5.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^7.0.1","hmpo-components":"latest"},"peerDependencies":{"hmpo-components":"*"},"_npmOperationalInternal":{"tmp":"tmp/hmpo-nunjucks-test_1.2.0_1580495983403_0.6270958005538074","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"hmpo-nunjucks-test","version":"1.2.1","author":{"name":"HMPO"},"license":"MIT","_id":"hmpo-nunjucks-test@1.2.1","maintainers":[{"name":"hughepaul","email":"paul@hughe.co.uk"}],"homepage":"https://github.com/UKHomeOffice/passports-nunjucks-test#readme","bugs":{"url":"https://github.com/UKHomeOffice/passports-nunjucks-test/issues"},"dist":{"shasum":"fd890ebe33467ec92d031ba25184741ecb3a9836","tarball":"https://registry.npmjs.org/hmpo-nunjucks-test/-/hmpo-nunjucks-test-1.2.1.tgz","fileCount":10,"integrity":"sha512-sEfAlQCwy74lifyTn07yOQJEEYfbcuOgoz91A3d7j8MjDd2lCS7YuZrFbY+/gmRemA51UiGVkaZYM01yN2POMQ==","signatures":[{"sig":"MEQCIANZMuOdKO+VsripM67jgaBgsfg1jgiC8Uz2pvBJrmqZAiBabH/K/USNwoIsF/rYxy95rIM8+rX+mE9rFvo+uVyCRw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7768,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJechpyCRA9TVsSAnZWagAAIUAP/2kS/zSgIrM1OLIqFvl2\nOETojStZb+94bRSdKwkqqsHr0MpSMF3vo7T4j2wvORjSKZJK6cHiP0ofeQLw\nbNeI+BiurChkB0xd8QtzZDMXSwHJdLBepoP6mqc6fbfDgAxN0cNevrv+amuH\nags9vnVOpcnfBa9ORj/vUQjYIyRBfLCGRTOZDS3L9X5lPreiK0+mmxWDUdx2\nVH1UWA/KQ/Li2mkhLPPSSl/uGTyTIOaIT8Tl1+Hab1cNBmJ+arQOEG0x3Jii\nvHYYZjqksS/jcAfZxuMyFqTMIjWir16cOtFsEy/GyaWW5kmSPJKMHRzqLENa\nBonP+F7ScV/GB1iykxb/2UiMrnFuKbJHagDtvNM3m9uhI3wUGQwV8hQYNQYN\ndzQd9WFFFi66sSMKEK1hYpt2V1eMFRGoC80Wz2pzk+NsQEQUpVv3DYkhndwN\nYM4KTKHimNnOZGNTq2B6Tc9NgQCcK2sRsyyUFvsZon63UiBSMl5x8KzKn/i1\noIKy8hdWtdf+cDZ16ZlOujZ+PyRUOahX2wAcP4LpYttlwAOsrjv29bpAbGFO\nk+YlI+p3S6WtV1V+LIMzTdcB/lTDIMUDu+LAwHjXEynxAyUAJY3ozXYYqqTK\noYbLsOybgvDd6RJdVVXlzgjN7g6MrvU5RZK4jzPv7K4D9EAut7sAnhVo/Z01\nxtzb\r\n=PNFm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"de4e4f50217f344b65c40a5ab2d5c22f58b828d6","scripts":{"test":"mocha test && npm audit"},"_npmUser":{"name":"hughepaul","email":"paul@hughe.co.uk"},"repository":{"url":"git+https://github.com/UKHomeOffice/passports-nunjucks-test.git","type":"git"},"_npmVersion":"6.14.2","description":"test nunjucks template generation","directories":{},"_nodeVersion":"10.12.0","dependencies":{"lodash":"^4.17.15","cheerio":"^1.0.0-rc.3","nunjucks":"^3.2.1","deep-clone-merge":"^1.5.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^7.1.1","hmpo-components":"latest"},"peerDependencies":{"hmpo-components":"*"},"_npmOperationalInternal":{"tmp":"tmp/hmpo-nunjucks-test_1.2.1_1584536178284_0.5938014796981437","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"hmpo-nunjucks-test","version":"1.2.2","author":{"name":"HMPO"},"license":"MIT","_id":"hmpo-nunjucks-test@1.2.2","maintainers":[{"name":"hughepaul","email":"paul@hughe.co.uk"}],"homepage":"https://github.com/UKHomeOffice/passports-nunjucks-test#readme","bugs":{"url":"https://github.com/UKHomeOffice/passports-nunjucks-test/issues"},"dist":{"shasum":"e0bb2c3d76aacca6efe6b138e644b8ed49ce2aad","tarball":"https://registry.npmjs.org/hmpo-nunjucks-test/-/hmpo-nunjucks-test-1.2.2.tgz","fileCount":10,"integrity":"sha512-OsEsxkHbgV14bVaMaSIOqKU6IW7fI6gPWoFBJ8IyAUPyjyVkIEA5Q1vc8zVj5PSOEguj0F4PoJQgt0OVLHB0fA==","signatures":[{"sig":"MEUCIQCwt7zwVXlOueRGy/C6tOrf9teRcVs9axoFovTWuUULjQIgWl32YoeWKeBKDLSURnp+a/dFt115ZEr2JUj4aw0OqaM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7748,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmTDRCRA9TVsSAnZWagAATWoP/1wXijXwUGNzJyEHxMxq\nPtPdVVhlSAZw0SnnaysSBvqzK0GvDqSIJU5Q1rgsZLSOwLko13B+ZDFsIjGa\n3AtApwk4Wux2lHZxkFtu6Ubpf8g8luYF4e/HxTzGLRQkd42A4VeYUepiDIg4\novho7It0aYpqCJzWWgYMovGdcxAI7NoS3ZqmLlC4cJ3n+7/e6R2Htk2reNGu\nyGS1aIcFYWS7DntPXaDz3fgMLQ6bK1cm+83BL+R0W8y/JRwed6my1G/vNqax\n5t6UrxLA1n9GCdWKcUjJazBwGE7yuiHbli0ovwzYHPVEDTyzuerGkxkQtBeP\noIqeuFM2JxPR15/kYkhQYxN29oKDY3uXqlczMO2yWHtrNpMRLMhhPuwA7x64\nFdAd9pW9Po24TgYkzNXICNtmCLm7JAE7XNur2UmhyPCxChJZg5rwar1djMl2\nXLBPZ+ahvL/unV5T9jR/eVgeDSlMbH270SnA+6S3ObDrhNWEfVqsN0Dctp53\nW8T9edDtVOZBr4j4UUaeRCtY8Q2Req8VUT3b/oM/QbD8OHqCfq5n8YYNA/W7\nuFTPljx0EhgSjTD5xW+AnvQS068/IBgAqkjh1Tih42KNC4xu3UkPSn7jZOm3\niTqt+XUFOZ3sQrdachCOl24dD2PZZJhXIywyJevGucFMCNdBJYVaF5E62yoh\n4ter\r\n=krM2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"89f4b71b17791a2b85fdeeff96f887da1ec396af","scripts":{"test":"mocha test && npm audit"},"_npmUser":{"name":"hughepaul","email":"paul@hughe.co.uk"},"repository":{"url":"git+https://github.com/UKHomeOffice/passports-nunjucks-test.git","type":"git"},"_npmVersion":"6.14.8","description":"test nunjucks template generation","directories":{},"_nodeVersion":"12.18.4","dependencies":{"lodash":"^4.17.21","cheerio":"^1.0.0-rc.9","nunjucks":"^3.2.3","deep-clone-merge":"^1.5.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^7.2.0","hmpo-components":"latest"},"peerDependencies":{"hmpo-components":"*"},"_npmOperationalInternal":{"tmp":"tmp/hmpo-nunjucks-test_1.2.2_1620652241090_0.6422396383525193","host":"s3://npm-registry-packages"}},"1.2.3":{"name":"hmpo-nunjucks-test","version":"1.2.3","author":{"name":"HMPO"},"license":"MIT","_id":"hmpo-nunjucks-test@1.2.3","maintainers":[{"name":"hughepaul","email":"paul@hughe.co.uk"}],"homepage":"https://github.com/UKHomeOffice/passports-nunjucks-test#readme","bugs":{"url":"https://github.com/UKHomeOffice/passports-nunjucks-test/issues"},"dist":{"shasum":"459398812d5676b12ad1e86b5ec04223f85806b5","tarball":"https://registry.npmjs.org/hmpo-nunjucks-test/-/hmpo-nunjucks-test-1.2.3.tgz","fileCount":10,"integrity":"sha512-4VfwEaIu68LJ1NyefwN+7PmYyeV38nbA1/k05KpUPcZdxZQyJJCiM0MU1dMXdlq1/7ODUGwbiO/mc/2LNAUIjg==","signatures":[{"sig":"MEYCIQDnO3a3rSjKqS2KuAwUnA2DSyu2bE/AizDD0s+miqPtNQIhAKyIFIBXtoE23iPKSladx340AFCR8S7fqOsUpexyO2jd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7749,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0ca5CRA9TVsSAnZWagAALKUP/ApdUCeOmP57VZTeasCF\n/O073otb1ggbInueAK+iJEXLCrjfrN4DDgabFHVqQQHqKwUfufFqs1e8dQAx\nTw6wgK4j6DyBfPowNwbPhS4ZfhAVMVn7YepmG91qcoN3VHe7odiCWLHR0q/G\nA7WNMOYWHq+vrMoPTys2/B7Ji6vWlTJWP+enh5X+CS1wPbxpBY80bAVaYBnV\nR8DhP2zXsV4aQss4LG1KTcXhAtjDBFgWn/f+yNc6BiccnUNmzNO2unmafNnM\nDjn9AlnvG0eolmaYObF4exlxRaRI1ZJyITWHg7x0o+u8qdE0+XbA0nP31kBV\nt29hm3zV+EiGMtC3NeopLC06pDLK6y0iR0P+gsuArE/gRDqQRb8X90TUkFGa\nXZm/9mWmT/3yW+zHzaafz6o0qFFy89JCJi999+9GLCCNHOucSjccQBSct3iu\nM3Aoj/cTbBk0CAT4AOJQApO5BINaHNz/T87S5toCstJk+EFPL0Jxp0ljmNws\nwSBb+9H5qPRaMYD7HABOUNG23TpMjFzjU+AJpDUyyZOX8h6ibCM61d3dVIHs\nLRtZEvssbC/hPDM0A/KS0RQ9GXqZ+b4Qb7i6aV5+ho1tl/tF8mZa5z5qTGbB\n3iAAxUy6kVvPqwcECckzgur3LO6kgLQIxb+Kapx40iZAxhnd+hQBYCLWYZxE\nLW0T\r\n=Ui6j\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"64fa50863fe9171475237692b383592766e44d43","scripts":{"test":"mocha test && npm audit"},"_npmUser":{"name":"hughepaul","email":"paul@hughe.co.uk"},"repository":{"url":"git+https://github.com/UKHomeOffice/passports-nunjucks-test.git","type":"git"},"_npmVersion":"6.14.13","description":"test nunjucks template generation","directories":{},"_nodeVersion":"12.18.4","dependencies":{"lodash":"^4.17.21","cheerio":"^1.0.0-rc.10","nunjucks":"^3.2.3","deep-clone-merge":"^1.5.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.0.1","hmpo-components":"latest"},"peerDependencies":{"hmpo-components":"*"},"_npmOperationalInternal":{"tmp":"tmp/hmpo-nunjucks-test_1.2.3_1624360633432_0.08823252191279862","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"hmpo-nunjucks-test","version":"1.3.0","author":{"name":"HMPO"},"license":"MIT","_id":"hmpo-nunjucks-test@1.3.0","maintainers":[{"name":"hughepaul","email":"paul@hughe.co.uk"}],"homepage":"https://github.com/UKHomeOffice/passports-nunjucks-test#readme","bugs":{"url":"https://github.com/UKHomeOffice/passports-nunjucks-test/issues"},"dist":{"shasum":"03c7cb53fc9397e0e5cfff9c544def75a2610bf3","tarball":"https://registry.npmjs.org/hmpo-nunjucks-test/-/hmpo-nunjucks-test-1.3.0.tgz","fileCount":10,"integrity":"sha512-5iLsuYt/j9MHsSill1xjMfNCrIRbEanUyROiuIxXaFqxI5scnzUDLg6i0mdi0mo5+RLEnyfJK9lQbM4Drz/omQ==","signatures":[{"sig":"MEUCIE0SscNTgmLHK+rZYfxT6hiv/rIbSLmiSoBeJBWIKe28AiEAzFs650BdZsrlnKDmYhhW48z6Xs6CIcfJRBHM0hfT5E4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11490,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFpB/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqyeQ/+ONeo1Ie+wGS/TYjJNxEkCaCsNahJhNdb4x2LstmFOljxH8Uw\r\njk7I08Btf9z5N6dyVc7IT/T6/mwo+VxrXo4VN2xek1WhybNzPbCPC8Xz3a2Y\r\nL6SDtvHhsA1nFwSasxSLrS+XE+6Uns4kkXDTTxDrFTSjI2X2olEFvYrMjns4\r\nSZ2KyvCO1gZema19465kNSLU1AUf3pXHwJaDBVM4VgUTac72U5NckwJ00cJd\r\nqXZIxki8KLOWamVOEa5dQ5JDqkJPFmz5OFhPII2/SJBleJaspQXK1QCWfB1S\r\ncpNGgi2gBEt4DhBG4tX1UXKoDOQVOE9CtHeEIvGBJmaI04gPfiZZq15ZNLLp\r\nLe1wocF+ZknGnGVnspqjS4EPRCJlLXjpt1KufDQ3eggA+/SqnFDTHKPEvZus\r\nHFoVQz9AumJ4lEKvEQmg/3fBtYH17gxshXO5gEQXHic5mdOW/z9OMehlO6sM\r\nePJM4MGOZajGleDlORLRb7M9SiUlTTcc1gURggtoVCkAEX+8bIbNvHR/JzDr\r\n4EJHxBdU29QIrNi/ftQJI+ynneMM3N+1Q6478Uyi3HkL12v8lU9Dwiv0a5DJ\r\nLW4/F9xUesHaxzM3rNer0S3CR37QEhMEOuVMbTY/aau0l2InPVRIbbiD22W7\r\nGauEdxmCFCFDNhedJpg5kJdFQ7R+zAsYldk=\r\n=VGNo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"bbb5aca129ca629f59bd19cb7b81309125766c73","scripts":{"test":"mocha test && npm audit"},"_npmUser":{"name":"hughepaul","email":"paul@hughe.co.uk"},"repository":{"url":"git+https://github.com/UKHomeOffice/passports-nunjucks-test.git","type":"git"},"_npmVersion":"6.14.15","description":"test nunjucks template generation","directories":{},"_nodeVersion":"12.18.4","dependencies":{"lodash":"^4.17.21","cheerio":"^1.0.0-rc.10","nunjucks":"^3.2.3","deep-clone-merge":"^1.5.3"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^9.2.1","hmpo-components":"latest"},"peerDependencies":{"hmpo-components":"*"},"_npmOperationalInternal":{"tmp":"tmp/hmpo-nunjucks-test_1.3.0_1645645951724_0.5680327226705313","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"hmpo-nunjucks-test","version":"1.3.1","author":{"name":"HMPO"},"license":"MIT","_id":"hmpo-nunjucks-test@1.3.1","maintainers":[{"name":"hughepaul","email":"paul@hughe.co.uk"}],"homepage":"https://github.com/UKHomeOffice/passports-nunjucks-test#readme","bugs":{"url":"https://github.com/UKHomeOffice/passports-nunjucks-test/issues"},"dist":{"shasum":"ca0abd53352af73efd029d1f8006f2084df54e44","tarball":"https://registry.npmjs.org/hmpo-nunjucks-test/-/hmpo-nunjucks-test-1.3.1.tgz","fileCount":11,"integrity":"sha512-M6O/vdH0Op1Q+zWpt+By6eDOGcVkuJQwJ9mcHhd5+OzO2iRzkmai62uFewrkrLjmJlGEp7Hr9E67vKqZxRHiSA==","signatures":[{"sig":"MEUCIGNXGNy1iYZtBdWM3MGXxwJOLT5sfNcDeHFeBlhtrZv+AiEAue4NVYTC1nQkRBztvdUcl+QOMbJRuNpYNoUniSk8PgI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12001,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiH1OHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr2vRAAgnXyL6dW/7YHSpIA3aatMVAjvjGAln5+vrIdcKZbcy4z+q1j\r\nMVL3CIsOHdLp0LEPsWvipY/Sc/hx1+Gl3VUfVKrBKtD9OGeg8gwZjYfL03+R\r\nIF/B9egxdTicObmNSjRaqFSpvsjNcEroUmfDII5wVm8JfHzOSc+3udBgrEh9\r\njUIeS4/dgtoTqLc4EWaAUMnOv1FBgFw1v/ph5fHNtCvW5l3sIBVbZtSRAUda\r\nAwK+QJcvJlFAWPyrlSNJfjMCdz/Wb4yU6QtNCsq2emS37thcDIXUneTEknJg\r\nCZz/avY/v6jxOYmcBoMcsgvhx7N/ronHNyf6FdC/VAZ1uEG3dxOVPnHjsZIx\r\nNL7N9Af4sBI6PJ2ROsoE8iO2MPjJWprSJEXgHKFDqB2Bg/1lH5c963KGUFlK\r\n/gCOuAcG4l4HWqshxKvIDbDFZZ5jGMPDUCLraUuv+vDqDINfdTWYFe8RZQBb\r\nimk+ii8x2vbrlDDbMNsIeL+DyK+//ZFZqBTs3WvvvAk/ARotCYlPKROJdOB/\r\nmZgl+t6sM9pnHMG+6QUCT7lTbOJ5mRxIVIeG2KDNfqW/MmpJr9uHaM7XkVkB\r\nU/fxqdvaVVVTv2FOmf7Ukv5Bb8B7mbgGbsmqEyRLXyCzNXNG/rmfpXWRoObr\r\nF+hOoe7rQdYKU9npEcs1LqKR+aj124u00yc=\r\n=IZrk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"d53e9b5b2bc8be3c6516b53c6dce732fb1dbb1ee","scripts":{"test":"mocha test && npm audit"},"_npmUser":{"name":"hughepaul","email":"paul@hughe.co.uk"},"repository":{"url":"git+https://github.com/UKHomeOffice/passports-nunjucks-test.git","type":"git"},"_npmVersion":"6.14.15","description":"test nunjucks template generation","directories":{},"_nodeVersion":"12.18.4","dependencies":{"lodash":"^4.17.21","cheerio":"^1.0.0-rc.10","nunjucks":"^3.2.3","deep-clone-merge":"^1.5.4"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^9.2.1","hmpo-components":"latest"},"peerDependencies":{"hmpo-components":"*"},"_npmOperationalInternal":{"tmp":"tmp/hmpo-nunjucks-test_1.3.1_1646220167279_0.2805861276646793","host":"s3://npm-registry-packages"}},"1.3.2":{"name":"hmpo-nunjucks-test","version":"1.3.2","author":{"name":"HMPO"},"license":"MIT","_id":"hmpo-nunjucks-test@1.3.2","maintainers":[{"name":"hughepaul","email":"paul@hughe.co.uk"}],"homepage":"https://github.com/UKHomeOffice/passports-nunjucks-test#readme","bugs":{"url":"https://github.com/UKHomeOffice/passports-nunjucks-test/issues"},"dist":{"shasum":"de6226118de3b07c15764841839df870190d21ad","tarball":"https://registry.npmjs.org/hmpo-nunjucks-test/-/hmpo-nunjucks-test-1.3.2.tgz","fileCount":11,"integrity":"sha512-PhrkX9c2sMpBVUdj2TVKokcWKShLoNOUtBqfTkePXbJKWJHgG8XgONU9hILvO6nurcTbDaBDXd+nO3FvyF4DeQ==","signatures":[{"sig":"MEYCIQCEceUftgk9ZVZtcWlM113B/VaN0nsRRAh3Vf4boP2pDwIhAODmK1ta+oZ1odOENrxsYOi3cjFUl4zd37b25Ek95rVh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12008,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJitFk2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmowuw//aSZM5nSmcgAzQx/Ov2X08Cjw9mRJEbZ+zpwy3Jm8YK1w7VsV\r\n6o2YMA9l6lhUNSVpJ6YjGMcQOuGtoyxZlX10IDFiT2rID52kAJPuG4Bt9gjF\r\nEq926gnw+WYpF8dkcf1jp9T2UfKcTTFEdfioGCosaRGitJn/8gFuhqeucRmA\r\nkPRn8uPIj7RYoFkSC6xD63SFooDyuj1rEVtMa4ckLeILyEHsF+LNisG3SD4G\r\nxl2LiEHRynVL9Lz4k0odtJ/rqlCEM6dmHe4EA+AoPGg9lWsnjJnyM4PL/Xjq\r\nllEJBMLR1lOQF5tWA4IzeE/hZn+lap7T3/njDHD+45x7HZv5ko2SHWe2TiZS\r\n3qolJwuAlnwPcNKr2/WOlhVkqzqHGV33rH80MhWd5mqB1VhRohon8+Pzvxts\r\nfKt9Ym5/aTeCqNg/7q9VobodY27yTv9x9LnJY9XmeMMQpG/JMPbRMdlTr7DN\r\nxJ3oS3utcPlhCC9AZWr5wj+BOkO8L6ORLR+SlVLxXgLoA5e0fth0t2JOecFE\r\nnZAaRsmhN+tghRbWQSHq0ecykxc0lr2C8k/TUyNrU4Spg7tXO/rrVoYzbeBX\r\nw4SMjFmTvu/f2O+L1KgnP+w21Q7XT0yCSQ/tmx88+T5mtezfeKmKeUmkj7UN\r\nv6C1sEkE/ycLfg2wM4cEBf+mj3B9KQ+D0LQ=\r\n=qX/C\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"9f66a4a4959b5ea39bf80ffee95c542e3c3d964c","scripts":{"test":"mocha test && npm audit"},"_npmUser":{"name":"hughepaul","email":"paul@hughe.co.uk"},"repository":{"url":"git+https://github.com/UKHomeOffice/passports-nunjucks-test.git","type":"git"},"_npmVersion":"6.14.15","description":"test nunjucks template generation","directories":{},"_nodeVersion":"12.18.4","dependencies":{"lodash":"^4.17.21","cheerio":"^1.0.0-rc.11","nunjucks":"^3.2.3","deep-clone-merge":"^1.5.4"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","hmpo-components":"latest"},"peerDependencies":{"hmpo-components":"*"},"_npmOperationalInternal":{"tmp":"tmp/hmpo-nunjucks-test_1.3.2_1655986486311_0.044781297032759904","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"hmpo-nunjucks-test","version":"1.4.0","author":{"name":"HMPO"},"license":"MIT","_id":"hmpo-nunjucks-test@1.4.0","maintainers":[{"name":"hughepaul","email":"paul@hughe.co.uk"}],"homepage":"https://github.com/UKHomeOffice/passports-nunjucks-test#readme","bugs":{"url":"https://github.com/UKHomeOffice/passports-nunjucks-test/issues"},"dist":{"shasum":"86c3dc095082ebf486f594377b78f689a1623f2b","tarball":"https://registry.npmjs.org/hmpo-nunjucks-test/-/hmpo-nunjucks-test-1.4.0.tgz","fileCount":13,"integrity":"sha512-PfOR81fHwL+zYPgqCb1HdIv8rNrBOtRmBk8x75reBp2U4/8zjniURjjYrhkHrVjuw82ky6Z1xY+2i4AUlMmOCw==","signatures":[{"sig":"MEUCIQCoRu7FG1YoEUTNZc3fHQSGh34Z20DmyHamJNzzJRLgzgIgSlYfh+J2zV+DqUpGhytrL20hAnxZAJ2ZEchcYf1uYjk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14453,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGHjpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpagQ/7B25sG2fWbIBUx1tAODI3dvvSLXMUdz1oFnKQd8E4oTYpGl5K\r\ncDvPWfm0o87wEMgnNsGttBtJB1bqPsCLagdUPpRvqarfL75GGHDs6pWmpVBo\r\nxgV7tDm5MbJy9VNF2P/HOGwSwm1WaUFYQ/ad96drxiO5+zIpLTTfLRFKPPMv\r\nS0U6n53Aa9EC2XosVAG5Q59v5kJRPYa72goMH+S9cvb6efgYmC5w3S2rt0iX\r\nqTMkwbjj8RpYBttbKNPsAp/wxycOcNFqroFUKkmbJq5fOeC4+yJ+if18CMAT\r\nTgOXfnBRd+UtHINnUvqzNKD2be1jT3HswLpVH58YiNa31c39sO8OGFnPyPXf\r\nHqdNnhJD8ONh+eAnNDtcSQcuL2t+2BG5vY6ljqeoobFumS11u9DYHwXqo45i\r\nu83R9eByo7IzaO1HcBSxL89l+wh2IkyBHv4KgfzB8f1UG6sXiUXt8vr1qNxe\r\nC23/oUHUG/B688HZhvaHKwaltNozNdIhSwZZLIb7nULMa7+bvskhBdIyOCHZ\r\ns0yn1bb15oAt48npEzGbJP1mkwqO/iRe4HiMG28O8mALZYWH6QTDEhpx0VE8\r\nbsotu13Wq3ZCUeg1yEWVbQ3EPmkJHDpBDdhqMP0S00/9mxlqgpmci0FNP3yZ\r\nNbthPpLgOoNdl/dx+zFg/o8bkV1uNzwCI/s=\r\n=EqBn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c7457300bc07fd8343b0fa8d14a2fc0c4b73de6f","scripts":{"test":"mocha test && npm audit"},"_npmUser":{"name":"hughepaul","email":"paul@hughe.co.uk"},"repository":{"url":"git+https://github.com/UKHomeOffice/passports-nunjucks-test.git","type":"git"},"_npmVersion":"8.16.0","description":"test nunjucks template generation","directories":{},"_nodeVersion":"16.15.1","dependencies":{"lodash":"^4.17.21","cheerio":"^1.0.0-rc.11","js-yaml":"^4.1.0","nunjucks":"^3.2.3","deep-clone-merge":"^1.5.4"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","hmpo-components":"latest"},"peerDependencies":{"hmpo-components":"*"},"_npmOperationalInternal":{"tmp":"tmp/hmpo-nunjucks-test_1.4.0_1662548200985_0.7257974054052987","host":"s3://npm-registry-packages"}},"1.4.1":{"name":"hmpo-nunjucks-test","version":"1.4.1","author":{"name":"HMPO"},"license":"MIT","_id":"hmpo-nunjucks-test@1.4.1","maintainers":[{"name":"hughepaul","email":"paul@hughe.co.uk"}],"homepage":"https://github.com/HMPO/hmpo-nunjucks-test#readme","bugs":{"url":"https://github.com/HMPO/hmpo-nunjucks-test/issues"},"dist":{"shasum":"f937f3288ad8578864d515ab031288cff46fb046","tarball":"https://registry.npmjs.org/hmpo-nunjucks-test/-/hmpo-nunjucks-test-1.4.1.tgz","fileCount":13,"integrity":"sha512-IfZgEOic81DXt53oQ0OHNMHYXNeo3TruylQ2iMX76axTJcxjKce176L2k3J/JLPqi1TjQv/CQHN20V4/aeKsaQ==","signatures":[{"sig":"MEQCIBBG4Qwk8cLBz0hysCnFp9T2UG2GSZV1WOjJNwLtaSTSAiBCjH3U7rzemLVHTGuv2w+/lBpN8HYuikaAJQ3swGj4lA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14414,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkStgyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpIbQ/9GN9lx9fY7OIb/lRTjVKvK6FbGEvazbXPRYewknk9Gl/SdSlS\r\n8IH1vMG6sTcmEKFxWpJhhbcSKq1yOSgmpOvLTOTf57qKJElhy8v8OOpWY56y\r\nD86+6vQKw1/xLUMnEqKYACQzgjTqFCXMh6ijv9nVS0pQjeSokkjrClpW6fDf\r\nfvn39mReT+z15GY8bcVFIu5sKL7vBqijIeNxlc6WDyNRtgF7CrKYgnrsKaMr\r\ngbka1gGTlsK1x5Vp8q1EtrAWK6UhBtFFh6XUbVE1gCaLZwkMmwQN5c6l6YTH\r\nEQ3MgPe+7LoSgdF6rZpw//FwwCZHTkIt++frxsbT30V3nSaR7Mvs08D5ftFR\r\nqMudGo/MXCn3/BEKk8qISj8lRPPE1YaigH7i0XPzm89s0oA6W8c/6YhRsPhl\r\n+lyXhEl4vTvtvVlF3Wdr58Qtln7OsWFDrgN20xVhqxp1PQixLGBHaFWON9pZ\r\nKm6blbIONlxbVCjzrSJSoeKzwwNNtgFsL8+oGSXYiC/mbuDy553WomucPhoJ\r\nW1GvGapb1TEWvN24I/ZyybVMqOV3AjQqQDGa6nWwddwX7J3v6PnQgWlz+9NX\r\nvlvclz2S9xS4IVro6WynEwQWUkqStzwfH076M7Nrj2owcawsk4OidJWogZw0\r\nLyxsh3nOuYuQZEPtRDjs3JsYuyLsGG9betg=\r\n=+dh8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"2aa645325b84c6131c3ee68d1fbb143f023557b0","scripts":{"test":"mocha test && npm audit"},"_npmUser":{"name":"hughepaul","email":"paul@hughe.co.uk"},"repository":{"url":"git+https://github.com/HMPO/hmpo-nunjucks-test.git","type":"git"},"_npmVersion":"8.11.0","description":"test nunjucks template generation","directories":{},"_nodeVersion":"16.15.1","dependencies":{"lodash":"^4.17.21","cheerio":"^1.0.0-rc.11","js-yaml":"^4.1.0","nunjucks":"^3.2.4","deep-clone-merge":"^1.5.4"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","hmpo-components":"latest"},"peerDependencies":{"hmpo-components":"*"},"_npmOperationalInternal":{"tmp":"tmp/hmpo-nunjucks-test_1.4.1_1682626610192_0.28574423042463115","host":"s3://npm-registry-packages"}},"1.4.2":{"name":"hmpo-nunjucks-test","version":"1.4.2","author":{"name":"HMPO"},"license":"MIT","_id":"hmpo-nunjucks-test@1.4.2","maintainers":[{"name":"georgeeker","email":"george.eker@hotmail.co.uk"},{"name":"msjhall","email":"m.hall@kainos.com"},{"name":"samchatfield","email":"samchatfield97@gmail.com"}],"homepage":"https://github.com/HMPO/hmpo-nunjucks-test#readme","bugs":{"url":"https://github.com/HMPO/hmpo-nunjucks-test/issues"},"dist":{"shasum":"9e8fa28c107e30db8c70b2b0a742549252b8a203","tarball":"https://registry.npmjs.org/hmpo-nunjucks-test/-/hmpo-nunjucks-test-1.4.2.tgz","fileCount":13,"integrity":"sha512-p7vM3F+UmRqvr3xodAp6HNK6hsK/Ns9xeCBQJobIhrDXCmzfqoXNVUm2beXe0fJXgXbt1eQAptHI06INEDOGQw==","signatures":[{"sig":"MEUCIQCBBq/QIkGBsUldL0Xj1nEHscLpHFmVAwQ+7LpRQS6xNQIgP/JbHl+0fdjccV5kGFFtUHnivkfM/visg+H5Xq0InE0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14410},"main":"index.js","gitHead":"a62977079b47ddd89df63895cffb7dcb2d88e380","scripts":{"test":"mocha test && npm audit"},"_npmUser":{"name":"samchatfield","email":"samchatfield97@gmail.com"},"repository":{"url":"git+https://github.com/HMPO/hmpo-nunjucks-test.git","type":"git"},"_npmVersion":"10.8.1","description":"test nunjucks template generation","directories":{},"_nodeVersion":"20.16.0","dependencies":{"lodash":"^4.17.21","cheerio":"^1.0.0-rc.12","js-yaml":"^4.1.0","nunjucks":"^3.2.4","deep-clone-merge":"^1.5.4"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.5.0","mocha":"^10.7.0","hmpo-components":"latest"},"peerDependencies":{"hmpo-components":"*"},"_npmOperationalInternal":{"tmp":"tmp/hmpo-nunjucks-test_1.4.2_1722523288402_0.5391337160286072","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"hmpo-nunjucks-test","version":"2.0.0","author":{"name":"HMPO"},"license":"MIT","_id":"hmpo-nunjucks-test@2.0.0","maintainers":[{"name":"georgeeker","email":"george.eker@hotmail.co.uk"},{"name":"msjhall","email":"m.hall@kainos.com"},{"name":"samchatfield","email":"samchatfield97@gmail.com"},{"name":"rewaz.ismail","email":"rewaz96@hotmail.com"}],"homepage":"https://github.com/HMPO/hmpo-nunjucks-test#readme","bugs":{"url":"https://github.com/HMPO/hmpo-nunjucks-test/issues"},"dist":{"shasum":"ec7c3a0c57e7bc575580b0d9ddbdeb2d8bf98458","tarball":"https://registry.npmjs.org/hmpo-nunjucks-test/-/hmpo-nunjucks-test-2.0.0.tgz","fileCount":14,"integrity":"sha512-TyrawOsFX7ukc2x181J0xrew0F80fg5mT1btW3INaiAuwn3J8LUEm0bJDDIP5ItSnf/mW6XgC+Ma5NG1HTs9pw==","signatures":[{"sig":"MEYCIQCgRyi9pDwQ1w/cV9uMKgoB6JJLeSBLmJ2lRp39dW33pgIhAJ5A6v2/uiZAYMBLTbUCiPsj8SzKx3evYHJVmLkTbOK6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14447},"main":"index.js","gitHead":"52c925b8dbb174aceb2c560694b1f7c1f24079cb","scripts":{"test":"mocha test && npm audit","prepare":"husky"},"_npmUser":{"name":"rewaz.ismail","email":"rewaz96@hotmail.com"},"repository":{"url":"git+https://github.com/HMPO/hmpo-nunjucks-test.git","type":"git"},"_npmVersion":"10.9.0","description":"test nunjucks template generation","directories":{},"_nodeVersion":"22.9.0","dependencies":{"husky":"^9.1.6","lodash":"^4.17.21","cheerio":"^1.0.0","js-yaml":"^4.1.0","nunjucks":"^3.2.4","deep-clone-merge":"^1.5.5"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.5.0","mocha":"^10.7.3","hmpo-components":"latest"},"peerDependencies":{"hmpo-components":"*"},"_npmOperationalInternal":{"tmp":"tmp/hmpo-nunjucks-test_2.0.0_1728920894680_0.24411676662297732","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"hmpo-nunjucks-test","version":"2.0.1","author":{"name":"HMPO"},"license":"MIT","_id":"hmpo-nunjucks-test@2.0.1","maintainers":[{"name":"georgeeker","email":"george.eker@hotmail.co.uk"},{"name":"msjhall","email":"m.hall@kainos.com"},{"name":"samchatfield","email":"samchatfield97@gmail.com"},{"name":"rewaz.ismail","email":"rewaz96@hotmail.com"}],"homepage":"https://github.com/HMPO/hmpo-nunjucks-test#readme","bugs":{"url":"https://github.com/HMPO/hmpo-nunjucks-test/issues"},"dist":{"shasum":"a9a015ec724292349c5296881c100016a7556b5e","tarball":"https://registry.npmjs.org/hmpo-nunjucks-test/-/hmpo-nunjucks-test-2.0.1.tgz","fileCount":14,"integrity":"sha512-zDcsTHpx9XpQtEhUTyOkSSGvYarKeBBo/vnSzIkC+ksG+sIatKgV34wf3OrdUYT3JUkU6Vg1Q+WwFrOsF+S33g==","signatures":[{"sig":"MEUCIQDpRZEdIVziUmplexEqRc1dHggG10Q5XteLzLAm6i+WpwIgWdTITnqc3kBX3VTJFT7plvomQsDq1VUXQkB6/VUZlH8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14447},"main":"index.js","gitHead":"156df9a51df941c7e080d640b3243ec9c784bf92","scripts":{"test":"mocha test && npm audit","prepare":"husky"},"_npmUser":{"name":"samchatfield","email":"samchatfield97@gmail.com"},"repository":{"url":"git+https://github.com/HMPO/hmpo-nunjucks-test.git","type":"git"},"_npmVersion":"10.8.2","description":"test nunjucks template generation","directories":{},"_nodeVersion":"20.18.2","dependencies":{"husky":"^9.1.6","lodash":"^4.17.21","cheerio":"^1.0.0","js-yaml":"^4.1.0","nunjucks":"^3.2.4","deep-clone-merge":"^1.5.5"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.5.0","mocha":"^10.7.3","hmpo-components":"latest"},"peerDependencies":{"hmpo-components":"*"},"_npmOperationalInternal":{"tmp":"tmp/hmpo-nunjucks-test_2.0.1_1738679530578_0.20250675111052674","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"hmpo-nunjucks-test","version":"3.0.0","author":{"name":"HMPO"},"license":"MIT","_id":"hmpo-nunjucks-test@3.0.0","maintainers":[{"name":"ntotten-hmpo","email":"nathan.totten@digital.homeoffice.gov.uk"},{"name":"fionajosephsamy_homeoffice","email":"FionaJoseph.Samy@digital.homeoffice.gov.uk"},{"name":"carl.mendoza","email":"carl.mendoza@digital.homeoffice.gov.uk"},{"name":"myles.muda","email":"myles.muda@digital.homeoffice.gov.uk"},{"name":"sam.dagnall","email":"sam.dagnall@digital.homeoffice.gov.uk"},{"name":"kmoorewilson","email":"kelly.moore@hotmail.co.uk"},{"name":"taylor.crawford","email":"taylor.crawford@digital.homeoffice.gov.uk"},{"name":"rhyad-zergane-ho-1","email":"rhyad.zergane1@digital.homeoffice.gov.uk"},{"name":"georgeeker","email":"george.eker@hotmail.co.uk"},{"name":"moreilly5","email":"matthewdoreilly@gmail.com"},{"name":"m24murray","email":"matthewmu@kainos.com"},{"name":"cmcgee480","email":"conor.mcgee@digital.homeoffice.gov.uk"},{"name":"radovan-d-ho","email":"Radovan.Dacej@digital.homeoffice.gov.uk"},{"name":"msjhall","email":"michael.hall@digital.homeoffice.gov.uk"}],"homepage":"https://github.com/HMPO/hmpo-nunjucks-test#readme","bugs":{"url":"https://github.com/HMPO/hmpo-nunjucks-test/issues"},"dist":{"shasum":"8553ab42ed1ea6f84725320bec9d643b0475adf5","tarball":"https://registry.npmjs.org/hmpo-nunjucks-test/-/hmpo-nunjucks-test-3.0.0.tgz","fileCount":17,"integrity":"sha512-y8ulv0koi5Je0KoyBAE5u0KXojcucnY1toDRkxxknnWyurFM1ZAJRj1Z9VeJ3+VfuytwTyYV5jJPID+G8bt/cg==","signatures":[{"sig":"MEUCIQCz81Cb8VlYz2+oc6fSJwupBoOBt6c/JDqzkdymPqROAgIgancrt9I5O9mBnji9Ad+YdBXxqilrEe3oJggu20FYkHg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34245},"main":"index.js","engines":{"node":"24.x"},"gitHead":"d57d173839355a3e5d096c666c3ea88d3c16a3af","scripts":{"test":"mocha test && npm audit","prepare":"husky"},"_npmUser":{"name":"ntotten-hmpo","email":"nathan.totten@digital.homeoffice.gov.uk"},"overrides":{"mocha":{"diff":"^8.0.3","serialize-javascript":"^7.0.4"}},"repository":{"url":"git+https://github.com/HMPO/hmpo-nunjucks-test.git","type":"git"},"_npmVersion":"11.9.0","description":"test nunjucks template generation","directories":{},"_nodeVersion":"24.14.0","dependencies":{"husky":"^9.1.6","lodash":"^4.17.21","cheerio":"^1.0.0","js-yaml":"^4.1.0","nunjucks":"^3.2.4","deep-clone-merge":"^1.5.5"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.5.0","mocha":"^11.3.0","hmpo-components":"latest"},"peerDependencies":{"hmpo-components":"*"},"_npmOperationalInternal":{"tmp":"tmp/hmpo-nunjucks-test_3.0.0_1773062961880_0.2016997419866291","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2019-05-11T22:43:16.096Z","modified":"2026-03-11T17:57:47.983Z","1.0.1":"2019-05-11T22:43:16.201Z","1.0.2":"2019-05-11T23:00:11.008Z","1.0.3":"2019-05-11T23:25:54.039Z","1.1.0":"2019-05-12T10:23:18.752Z","1.2.0":"2020-01-31T18:39:43.600Z","1.2.1":"2020-03-18T12:56:18.480Z","1.2.2":"2021-05-10T13:10:41.234Z","1.2.3":"2021-06-22T11:17:13.666Z","1.3.0":"2022-02-23T19:52:31.854Z","1.3.1":"2022-03-02T11:22:47.449Z","1.3.2":"2022-06-23T12:14:46.451Z","1.4.0":"2022-09-07T10:56:41.212Z","1.4.1":"2023-04-27T20:16:50.401Z","1.4.2":"2024-08-01T14:41:28.596Z","2.0.0":"2024-10-14T15:48:14.886Z","2.0.1":"2025-02-04T14:32:10.758Z","3.0.0":"2026-03-09T13:29:22.069Z"},"bugs":{"url":"https://github.com/HMPO/hmpo-nunjucks-test/issues"},"author":{"name":"HMPO"},"license":"MIT","homepage":"https://github.com/HMPO/hmpo-nunjucks-test#readme","repository":{"url":"git+https://github.com/HMPO/hmpo-nunjucks-test.git","type":"git"},"description":"test nunjucks template generation","maintainers":[{"email":"nathan.totten@digital.homeoffice.gov.uk","name":"ntotten-hmpo"},{"email":"leonardo.bishop@digital.homeoffice.gov.uk","name":"leonardobishop-hmpo"},{"email":"lee.service@digital.homeoffice.gov.uk","name":"lee.service"},{"email":"FionaJoseph.Samy@digital.homeoffice.gov.uk","name":"fionajosephsamy_homeoffice"},{"email":"carl.mendoza@digital.homeoffice.gov.uk","name":"carl.mendoza"},{"email":"myles.muda@digital.homeoffice.gov.uk","name":"myles.muda"},{"email":"sam.dagnall@digital.homeoffice.gov.uk","name":"sam.dagnall"},{"email":"kelly.moore@hotmail.co.uk","name":"kmoorewilson"},{"email":"taylor.crawford@digital.homeoffice.gov.uk","name":"taylor.crawford"},{"email":"rhyad.zergane1@digital.homeoffice.gov.uk","name":"rhyad-zergane-ho-1"},{"email":"george.eker@hotmail.co.uk","name":"georgeeker"},{"email":"matthewdoreilly@gmail.com","name":"moreilly5"},{"email":"matthewmu@kainos.com","name":"m24murray"},{"email":"conor.mcgee@digital.homeoffice.gov.uk","name":"cmcgee480"},{"email":"Radovan.Dacej@digital.homeoffice.gov.uk","name":"radovan-d-ho"},{"email":"michael.hall@digital.homeoffice.gov.uk","name":"msjhall"}],"readme":"# hmpo-nunjucks-test\n\nA Nunjucks templating engine testing library.\n\n## Overview of Functions\n\n### `renderer(views, locales, globals?, filters?, realistic?)`\n\nCreates a rendering function for Nunjucks templates with support for localization and dynamic rendering.\n\nThis function sets up a Nunjucks environment with the provided view directories and localization files. It can render templates, strings, and components with dynamic context, including support for translations.\n\nThe function also includes error handling for missing translations and the ability to conditionally render based on certain flags.\n\n#### Parameters\n\n* `views` (`string` or `string[]`)  - Path(s) to the directories containing Nunjucks templates. Can be a single directory or an array of directories.\n\n* `locales` (`string[]`) - An array of paths to localization files (JSON or YAML) that contain translations for various languages.\n\n* `[globals=require('hmpo-components/lib/globals')]` (`Object`) - An object that provides global functions/variables to be used in the templates.\n\n* `[filters=require('hmpo-components/lib/filters')]` (`Object`) - An object containing custom filters to be added to Nunjucks.\n\n* `[realistic=false]` (`boolean`) - A flag that determines if the translation function should behave in a more \"realistic\" manner, e.g., fallback to the default value if a key is missing.\n\n#### Returns\n\n* `function` - A render function that can be used to render templates, strings, or components. This function accepts an options object and an optional context object, and returns the rendered HTML output.\n\n#### Example Usage\n\n```javascript\nconst path = require('path');\nlet nunjucksTest = require('hmpo-nunjucks-test');\n\nlet myRenderFunc = nunjucksTest.renderer(\n    [\n        path.resolve(__dirname, 'views')    // Path to views\n    ],\n    [   // Paths to locale files\n        path.resolve(__dirname, 'locale', 'locale1.json'),\n        path.resolve(__dirname, 'locale', 'locale2.yaml')\n    ]\n);\n\n// This will return a render() function to myRenderFunc.\n```\n\n### `render(options, context = {})`\n\nThe `render` function is used to render templates, strings, or components using the Nunjucks templating engine. It also supports translations and context resolution.\n\nThis is the function returned by the previously mentioned `renderer` function.\n\n#### Parameters\n\n* `options` (`Object` | `string`) - Options to control the rendering process.\n  * If a string is passed, it is treated as a template to render.\n  * If an object is passed, it can contain one of the following properties:\n    * `template` (`string`) - The path to the template to render.\n    * `string` (`string`) - A raw string containing Nunjucks template code.\n    * `component` (`string`) - The name of a component / macro to render.\n    * `caller` (`string`) - The caller's content to pass to the component (if using `component`).\n    * `params` (`Object`) - Parameters to pass to the component (if using `component`).\n    * `ctx` (`boolean`) - Whether to include the context (`true` includes context).\n    * `ignore` (`Array` | `string`) - Keys to ignore during translation.\n    * `translate` (`boolean`) - Whether to perform translation (defaults to `true`).\n\n* `context` (`Object`) - The context to pass to the Nunjucks template rendering. Default is an empty object. It can contain:\n  * `translate` (`function`) - A function to provide translations for the keys.\n  * `ctx` (`function`) - A function to access the context.\n\n#### Returns\n\n* `string` - The rendered HTML output as a string.\n\n#### Example Usage\n\nAssuming you have already imported and set up `hmpo-nunjucks-test` as seen in `renderer` example usage.\n\nRendering a template:\n\n```javascript\nconst output = render({\n    template: 'exampleTemplate.html',\n    translate: true\n});\n```\n\nRendering a component:\n\n```javascript\nconst output = render({\n    component: 'myComponent',\n    params: { a: 1, b: 2 },\n    ctx: true\n});\n```\n\nRendering a String with Translation:\n\n```javascript\nconst output = render({\n    string: '<b>{{ translate(\"key1\") }}</b>',\n    translate: true\n});\n```\n\n### `cleanHtml($)`\n\nCleans HTML content by removing unnecessary whitespace and formatting issues.\nThis function processes the HTML content by:\n\n* Replacing the HTML character code `&#x2019;` with the right single quotation mark (`’`).\n* Removing whitespace after opening tags and before closing tags.\n* Removing all newlines and excessive spaces within the HTML string.\n* Trimming leading and trailing whitespace from the final HTML.\n\nThis function is useful for \"cleaning\" HTML content, making it more compact and free of extra spaces and newlines.\n\nUses `Cheerio JS`. See their [docs](https://cheerio.js.org/docs/intro) for more info.\n\n#### Parameters\n\n* `$` (`Cheerio Object`) - A Cheerio object containing the HTML content to clean.\n\n#### Returns\n\n* `string` - The cleaned HTML as a string, with unnecessary whitespace removed.\n\n#### Example Usage\n\nAssuming you have already imported and set up `hmpo-nunjucks-test` as seen in `renderer` example usage.\n\n```javascript\nconst cheerio = require('cheerio');\nconst htmlContent = cheerio.load('<div><p>  This is a test &#x2019; string  </p>  <p>Another test.</p></div>');\nconst cleanedHtml = cleanHtml(htmlContent);\nconsole.log(cleanedHtml); \n\n// Output: \n// '<div><p>This is a test ’ string</p><p>Another test.</p></div>'\n```\n\n### `formatHtml($)`\n\nFormats HTML content by cleaning up whitespace and adding newlines around tags.\nThis function processes the HTML content by:\n\n* Replacing HTML character code `&#x2019;` with the right single quotation mark (`’`).\n* Adding newlines before opening tags to ensure clean formatting.\n* Adding newlines after closing tags to separate them visually.\n* Removing multiple consecutive newlines and spaces, ensuring a single newline between elements.\n* Trimming any leading or trailing whitespace.\n\nUses `Cheerio JS`. See their [docs](https://cheerio.js.org/docs/intro) for more info.\n\n#### Parameters\n\n* `$` (`Cheerio Object`) - A Cheerio object containing the HTML content to clean.\n\n#### Returns\n\n* `string` - The cleaned HTML as a string, with unnecessary whitespace removed.\n\n#### Example Usage\n\nAssuming you have already imported and set up `hmpo-nunjucks-test` as seen in `renderer` example usage.\n\n```javascript\nconst cheerio = require('cheerio');\nconst htmlContent = cheerio.load('<div><p>  This is a test &#x2019; string  </p>  <p>Another test.</p></div>');\nconst formattedHtml = formatHtml(htmlContent);\nconsole.log(formattedHtml); \n\n// Output: \n// '<div>\\n<p>This is a test ’ string</p>\\n<p>Another test.</p>\\n</div>'\n```\n\n### A Combined Example\n\n```javascript\nconst nunjucksTest = require('hmpo-nunjucks-test');\n\nconst views = [\n    '/component/path,\n];\n\nconst locales = [\n    '/localiation/file.json'\n];\n\n\n// render templates with placeholders or simple translations.\n// render options: { template, string, component, ignore = [], translate = false }\nconst render = nunjucksTest.renderer(views, locales);\n\n// cheerio interface to rendered template\nconst $ = render({ template: 'template/in/search/path.njk' })\n\n// rendered string\nconst $ = render({ string: '<h1>hello</h1>' })\n\n// rendered component blah() in ./macro.njk\nconst $ = render({ component: 'component/in/search/blah' })\n\n\n// more realistic localisation using multiple keys\n// render options: { template, string, component }\nconst renderWithRealisticI18n = nunjucksTest.renderer(views, locales, undefined, undefined, true);\nconst $ = renderWithRealisticI18n({ template: 'template/in/search/path.njk' })\n\n\n// tool to simplify rendered HTML for single line comparisons\nconst cleanHtml = nunjucksTest.cleanHtml;\nconst htmlString = cleanHtml($('h1'));\n\n```\n\n### Further Examples\n\nYou can find more applied examples with expected outputs in our [tests](/test/index.js).\n\nThere are also example usages in:\n\n* [crpf-leo-alpha tests](https://github.com/HMPO/crpf-leo-alpha/blob/87c2505b8dae0493ed1e533b7aa84c9098e13994/test/unit/helper.js#L4)\n* [hmpo-components tests](https://github.com/HMPO/hmpo-components/blob/3f7c5c97be49c4067877f6d2056b6369909bef17/test/helpers.js#L4)\n","readmeFilename":"README.md"}