{"_id":"apostrophe-browser-requirements","_rev":"43-ac77769e3799fb82b0f374dc452261f7","name":"apostrophe-browser-requirements","dist-tags":{"latest":"2.0.1"},"versions":{"0.5.0":{"name":"apostrophe-browser-requirements","version":"0.5.0","keywords":["apostrophe"],"author":{"name":"P'unk Avenue LLC"},"license":"MIT","_id":"apostrophe-browser-requirements@0.5.0","maintainers":[{"name":"boutell","email":"boutell@boutell.com"}],"homepage":"https://github.com/punkave/apostrophe-browser-requirements#readme","bugs":{"url":"https://github.com/punkave/apostrophe-browser-requirements/issues"},"dist":{"shasum":"77e819a6b41c6c6c5046bedeb665539047b935ed","tarball":"https://registry.npmjs.org/apostrophe-browser-requirements/-/apostrophe-browser-requirements-0.5.0.tgz","integrity":"sha512-hBahiQZ7qruK0BlTpdNFOSX7hhFLW8rotG9dn0sS0UQ7NDFGgudAFiYa0aWr5/VYzI0rIUgd8QYDzm5Prm+Giw==","signatures":[{"sig":"MEQCICDUGJ5PjY+bINCeI3SyH9Ul83KWPNL7L31qjw7ZkiQeAiBA474BFhxYQr9T2I+cb+1jcuSQRBufDdR73mSnYz0NjA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"77e819a6b41c6c6c5046bedeb665539047b935ed","gitHead":"dedc770b28ff351b159e84099c3d5700dc86d4d8","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"boutell","email":"boutell@boutell.com"},"repository":{"url":"git+https://github.com/punkave/apostrophe-browser-requirements.git","type":"git"},"_npmVersion":"3.6.0","description":"Politely require certain minimum browser versions","directories":{},"_nodeVersion":"0.10.41","_npmOperationalInternal":{"tmp":"tmp/apostrophe-browser-requirements-0.5.0.tgz_1459285032044_0.17210378730669618","host":"packages-16-east.internal.npmjs.com"}},"0.5.1":{"name":"apostrophe-browser-requirements","version":"0.5.1","keywords":["apostrophe"],"author":{"name":"P'unk Avenue LLC"},"license":"MIT","_id":"apostrophe-browser-requirements@0.5.1","maintainers":[{"name":"boutell","email":"boutell@boutell.com"}],"homepage":"https://github.com/punkave/apostrophe-browser-requirements#readme","bugs":{"url":"https://github.com/punkave/apostrophe-browser-requirements/issues"},"dist":{"shasum":"9650f2468079c0a1d573843f6f2dad0d214f2f37","tarball":"https://registry.npmjs.org/apostrophe-browser-requirements/-/apostrophe-browser-requirements-0.5.1.tgz","integrity":"sha512-rA31Whao8bitfVr6jG+Bm4RH/y6JovmYA054RCcy5W9bsITDw8bjlkQa6lzhu1LdppPY0oTgex+YKEHx9TwEOQ==","signatures":[{"sig":"MEUCIEmM+7YBL4iJ+hGIDQRdPT+YE+oWZBV3yfa73oUjOOvAAiEAjwblY4OdlLENAGE4wI40Z0ql2N4lfKJ6DPoHp5RJAZg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"9650f2468079c0a1d573843f6f2dad0d214f2f37","gitHead":"559bb37da4436d6eebba0d7acf5e14d4a50d4f4c","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"boutell","email":"boutell@boutell.com"},"repository":{"url":"git+https://github.com/punkave/apostrophe-browser-requirements.git","type":"git"},"_npmVersion":"3.6.0","description":"Politely require certain minimum browser versions","directories":{},"_nodeVersion":"0.10.41","_npmOperationalInternal":{"tmp":"tmp/apostrophe-browser-requirements-0.5.1.tgz_1459285153041_0.47151228971779346","host":"packages-12-west.internal.npmjs.com"}},"0.5.2":{"name":"apostrophe-browser-requirements","version":"0.5.2","keywords":["apostrophe"],"author":{"name":"P'unk Avenue LLC"},"license":"MIT","_id":"apostrophe-browser-requirements@0.5.2","maintainers":[{"name":"boutell","email":"boutell@boutell.com"}],"homepage":"https://github.com/punkave/apostrophe-browser-requirements#readme","bugs":{"url":"https://github.com/punkave/apostrophe-browser-requirements/issues"},"dist":{"shasum":"bc8888a9f7a3afea36ca3eca857101d4a8cc5aff","tarball":"https://registry.npmjs.org/apostrophe-browser-requirements/-/apostrophe-browser-requirements-0.5.2.tgz","integrity":"sha512-hVzs8KT3TUQX6xijTO86dXuNb+LKGmPznh+8Pn2vbzNp8stRLtaj1+LtroFk3xlbPoumE4mVcDWDdZN40tyjXA==","signatures":[{"sig":"MEUCIHLp7ugKclqSOU98Tvtq+WwEVateEgjygXvaB6umrcbKAiEAzT2k0i9Eapx3HCijZVBAX9I916uRKsGfGUaNqc1rP+w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"bc8888a9f7a3afea36ca3eca857101d4a8cc5aff","gitHead":"da9eda5aa1f30d99798c7ffd57a247ea5f74a7ff","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"boutell","email":"boutell@boutell.com"},"repository":{"url":"git+https://github.com/punkave/apostrophe-browser-requirements.git","type":"git"},"_npmVersion":"3.6.0","description":"Politely require certain minimum browser versions","directories":{},"_nodeVersion":"0.10.41","_npmOperationalInternal":{"tmp":"tmp/apostrophe-browser-requirements-0.5.2.tgz_1459371043531_0.8272903487086296","host":"packages-12-west.internal.npmjs.com"}},"0.5.3":{"name":"apostrophe-browser-requirements","version":"0.5.3","keywords":["apostrophe"],"author":{"name":"P'unk Avenue LLC"},"license":"MIT","_id":"apostrophe-browser-requirements@0.5.3","maintainers":[{"name":"alexgilbert","email":"alex@punkave.com"},{"name":"austinstarin","email":"austin@punkave.com"},{"name":"boutell","email":"boutell@boutell.com"},{"name":"colpanik","email":"kerry@punkave.com"},{"name":"grdunn","email":"grdunn@gmail.com"},{"name":"jimmyh","email":"jimmy@punkave.com"},{"name":"kyjoya","email":"kyleejacker@gmail.com"},{"name":"mcoppola","email":"coppola@punkave.com"},{"name":"stuartromanek","email":"stuart@punkave.com"}],"homepage":"https://github.com/punkave/apostrophe-browser-requirements#readme","bugs":{"url":"https://github.com/punkave/apostrophe-browser-requirements/issues"},"dist":{"shasum":"97eafef298ae7472cb3a877aa0159a6be6babd86","tarball":"https://registry.npmjs.org/apostrophe-browser-requirements/-/apostrophe-browser-requirements-0.5.3.tgz","integrity":"sha512-7ugGTPCIl/h3zO6nY66hHwumUBmKFGBVeYVnWnA7xmYzTXgi6YjXPYr2n1YM81IaSCkI/slqYaRRkWLPAQ1LMw==","signatures":[{"sig":"MEUCIQCBeCdxvsqNKTeQUpVKiaWbvS5ehOuqcidNxwQcRtFq9QIgBpYBOITFYSUN7zHpCbKPEVBl6s3pN0YkTmKSMokMF4g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"97eafef298ae7472cb3a877aa0159a6be6babd86","gitHead":"321645caddbcd5adbb49c9f41d3639d47e79061d","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"boutell","email":"boutell@boutell.com"},"repository":{"url":"git+https://github.com/punkave/apostrophe-browser-requirements.git","type":"git"},"_npmVersion":"3.6.0","description":"Politely require certain minimum browser versions","directories":{},"_nodeVersion":"0.10.41","_npmOperationalInternal":{"tmp":"tmp/apostrophe-browser-requirements-0.5.3.tgz_1463516696690_0.4951205172110349","host":"packages-12-west.internal.npmjs.com"}},"0.5.4":{"name":"apostrophe-browser-requirements","version":"0.5.4","keywords":["apostrophe"],"author":{"name":"P'unk Avenue LLC"},"license":"MIT","_id":"apostrophe-browser-requirements@0.5.4","maintainers":[{"name":"alexgilbert","email":"alex@punkave.com"},{"name":"austinstarin","email":"austin@punkave.com"},{"name":"boutell","email":"boutell@boutell.com"},{"name":"colpanik","email":"kerry@punkave.com"},{"name":"grdunn","email":"grdunn@gmail.com"},{"name":"jimmyh","email":"jimmy@punkave.com"},{"name":"kyjoya","email":"kyleejacker@gmail.com"},{"name":"mcoppola","email":"coppola@punkave.com"},{"name":"stuartromanek","email":"stuart@punkave.com"}],"homepage":"https://github.com/punkave/apostrophe-browser-requirements#readme","bugs":{"url":"https://github.com/punkave/apostrophe-browser-requirements/issues"},"dist":{"shasum":"72d31e1c88f781814d1dc78c55589113d4604e06","tarball":"https://registry.npmjs.org/apostrophe-browser-requirements/-/apostrophe-browser-requirements-0.5.4.tgz","integrity":"sha512-UYvoIT+sH6VhA4jWQmnn6fOfT7i/WS9/OejFvbSigZTe/n9dVnZbDyXoVZFMZ5yn8dX6Lyq24amGO4mC9qAUcw==","signatures":[{"sig":"MEUCIFBk7k6dnJ9tojjSpT1CaYzadHaSyySqTTx5a2vzAwqbAiEAv7h9ojH+Qa5R48O0XBT+fflJ/CT3lK2XCKoHJuadb00=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"72d31e1c88f781814d1dc78c55589113d4604e06","gitHead":"27c20d581a712706fb5ae2bb990a5e614a4c6f5e","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"stuartromanek","email":"stuart@punkave.com"},"repository":{"url":"git+https://github.com/punkave/apostrophe-browser-requirements.git","type":"git"},"_npmVersion":"1.4.26","description":"Politely require certain minimum browser versions","directories":{},"_npmOperationalInternal":{"tmp":"tmp/apostrophe-browser-requirements-0.5.4.tgz_1463579584463_0.5542200410272926","host":"packages-12-west.internal.npmjs.com"}},"2.0.0":{"name":"apostrophe-browser-requirements","version":"2.0.0","keywords":["apostrophe"],"author":{"name":"P'unk Avenue LLC"},"license":"MIT","_id":"apostrophe-browser-requirements@2.0.0","maintainers":[{"name":"mtthwmnc","email":"matthew.mance@gmail.com"},{"name":"jimmyh","email":"jimmy@punkave.com"},{"name":"mcoppola","email":"mcoppola832@gmail.com"},{"name":"bobclewell","email":"bobclewell@gmail.com"},{"name":"grdunn","email":"grdunn@gmail.com"},{"name":"austinstarin","email":"austin@punkave.com"},{"name":"stuartromanek","email":"stuart@punkave.com"},{"name":"alexgilbert","email":"alex@punkave.com"},{"name":"colpanik","email":"kerry@punkave.com"},{"name":"boutell","email":"tom@punkave.com"}],"homepage":"https://github.com/punkave/apostrophe-browser-requirements#readme","bugs":{"url":"https://github.com/punkave/apostrophe-browser-requirements/issues"},"dist":{"shasum":"c61e49c98026e60389d189647c1b68d74aa7e27d","tarball":"https://registry.npmjs.org/apostrophe-browser-requirements/-/apostrophe-browser-requirements-2.0.0.tgz","integrity":"sha512-KE0R/WKoLxgdlKfYKNzx7xu+RMXAKWNUvxGWh92hRVy5XFX7ij80R2hopyHcyQVNJBApnOnuvXua8guIVXySYQ==","signatures":[{"sig":"MEQCIEwkryCU2VrPwUIMdYgs7MnxZpIMjCGl1knS93adOS4aAiBLMxtJHGOw/bRZpfrwim2qhVOliqESCkhPrmhrY5dgdQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"c8715b0c7103425e13144ee20965ced992484284","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"boutell","email":"tom@punkave.com"},"repository":{"url":"git+https://github.com/punkave/apostrophe-browser-requirements.git","type":"git"},"_npmVersion":"5.5.1","description":"Politely require certain minimum browser versions","directories":{},"_nodeVersion":"6.10.3","_npmOperationalInternal":{"tmp":"tmp/apostrophe-browser-requirements-2.0.0.tgz_1511192660665_0.6244884068146348","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"apostrophe-browser-requirements","version":"2.0.1","keywords":["apostrophe"],"author":{"name":"P'unk Avenue LLC"},"license":"MIT","_id":"apostrophe-browser-requirements@2.0.1","maintainers":[{"name":"mtthwmnc","email":"matthew.mance@gmail.com"},{"name":"jimmyh","email":"jimmy@punkave.com"},{"name":"mcoppola","email":"mcoppola832@gmail.com"},{"name":"bobclewell","email":"bobclewell@gmail.com"},{"name":"grdunn","email":"grdunn@gmail.com"},{"name":"austinstarin","email":"austin@punkave.com"},{"name":"stuartromanek","email":"stuart@punkave.com"},{"name":"alexgilbert","email":"alex@punkave.com"},{"name":"colpanik","email":"kerry@punkave.com"},{"name":"boutell","email":"tom@punkave.com"}],"homepage":"https://github.com/punkave/apostrophe-browser-requirements#readme","bugs":{"url":"https://github.com/punkave/apostrophe-browser-requirements/issues"},"dist":{"shasum":"3c571b6dcc109bf68a7f951b1a5122b4850976fa","tarball":"https://registry.npmjs.org/apostrophe-browser-requirements/-/apostrophe-browser-requirements-2.0.1.tgz","integrity":"sha512-B4cN5EB7bVBztxvmO7JnczOXsmLW5gCYEAl98DWklLBG2yZo4HFvax0zn+iJq1QBnpoLIPK3n2w+NnDcYNReBQ==","signatures":[{"sig":"MEUCIQCS7xzpU8MVhl1b1FHg56yzzgMpIKnWOI3H0dS7RjmJsgIgHyyh0GspJz/QwaOXEkyOBiUfdWXh5hpPgedFcTE0qZg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"4f181a0eda31410df52d5796e4b3701e20479ec1","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"boutell","email":"tom@punkave.com"},"repository":{"url":"git+https://github.com/punkave/apostrophe-browser-requirements.git","type":"git"},"_npmVersion":"5.5.1","description":"Politely require certain minimum browser versions","directories":{},"_nodeVersion":"6.10.3","_npmOperationalInternal":{"tmp":"tmp/apostrophe-browser-requirements-2.0.1.tgz_1511194183546_0.5539071385283023","host":"s3://npm-registry-packages"}}},"time":{"created":"2016-03-29T20:57:13.111Z","modified":"2026-01-26T19:09:28.537Z","0.5.0":"2016-03-29T20:57:13.111Z","0.5.1":"2016-03-29T20:59:15.157Z","0.5.2":"2016-03-30T20:50:45.765Z","0.5.3":"2016-05-17T20:24:59.114Z","0.5.4":"2016-05-18T13:53:06.791Z","2.0.0":"2017-11-20T15:44:20.731Z","2.0.1":"2017-11-20T16:09:44.548Z"},"bugs":{"url":"https://github.com/punkave/apostrophe-browser-requirements/issues"},"author":{"name":"P'unk Avenue LLC"},"license":"MIT","homepage":"https://github.com/punkave/apostrophe-browser-requirements#readme","keywords":["apostrophe"],"repository":{"url":"git+https://github.com/punkave/apostrophe-browser-requirements.git","type":"git"},"description":"Politely require certain minimum browser versions","maintainers":[{"email":"alex@apostrophecms.com","name":"alexgilbert"},{"email":"tom@apostrophecms.com","name":"boutell"},{"email":"stuart+npm@apostrophecms.com","name":"romanek"},{"email":"robert.means1969+apostrophecms@gmail.com","name":"bodonkey"},{"email":"kerry@punkave.com","name":"colpanik"},{"email":"greg.vanbrug@gmail.com","name":"gregvanbrug"},{"email":"stuart@punkave.com","name":"stuartromanek"},{"email":"mcoppola832@gmail.com","name":"mcoppola"},{"email":"jimmy@punkave.com","name":"jimmyh"},{"email":"austin.starin@gmail.com","name":"austinstarin"},{"email":"grdunn@gmail.com","name":"grdunn"},{"email":"anthony@apostrophecms.com","name":"falkodev"},{"email":"abea@mailbox.org","name":"alexbea"},{"email":"vjeudy@protonmail.com","name":"valjed"}],"readme":"# apostrophe-browser-requirements\n\nDisplay a polite message telling users with browsers that are too old that they must upgrade or switch browsers to view the site.\n\n```\nnpm install --save apostrophe-browser-requirements\n```\n\nIn app.js:\n\n```\nmodules: {\n  apostrophe-browser-requirements: {\n    minimums: {\n      // Currently only supports IE version detection\n      ie: 9\n    },\n    // optional, should be something simple for bc, not SVG\n    logo: '/images/my-custom-logo.png',\n    // The default: invite users to visit browsehappy.com for\n    // information about upgrading their browser. If you shut\n    // this off with `browseHappy: false`, you still get\n    // a helpful sentence about the supported alternatives\n    browseHappy: true    \n  }\n}\n```\n\nIn `layout.html`:\n\n```markup\n{# At the END of the DOM so it can easily remove everything else #}\n{% block extraBody %}\n{{ apos.browserRequirements.message() }}\n{% endblock %}\n```\n\nAnd optionally, in your CSS:\n\n```\n#apos-browser-requirements {\n  background-color: #somethingthatmatchesyourlogonicely\n}\n```\n\nIf you don't configure a logo, it looks a little \"unofficial,\" so we recommend providing one.\n\nYou can override `views/content.html` at project level if you need to change the text or don't want to link to `browsehappy.com`.\n\n## IE version support\n\nThis module can display the message on versions of IE going back to IE6.\n\n## \"What about Microsoft Edge?\"\n\nThis module treats Microsoft Edge as IE 12, 13, etc. Set the `ie` minimum accordingly.\n\n## \"What about blocking IE completely?\"\n\nOh come on kids, that browser's come a long way.\n\n## Changelog\n\n2.0.0: compatible with Apostrophe 2.x.\n","readmeFilename":"README.md"}