{"_id":"nuxt-polyfill","_rev":"5-4cf223e64e2d7d46c008af495a6d1f7b","name":"nuxt-polyfill","dist-tags":{"latest":"1.0.3"},"versions":{"0.0.1":{"name":"nuxt-polyfill","version":"0.0.1","description":"Ease adding polyfills to Nuxt.js projects using Polyfill.io among others","main":"dist/index.js","directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Timkor/nuxt-polyfill.git"},"keywords":["nuxt","vue","polyfill","service","module"],"author":{"name":"Timkor"},"license":"MIT","bugs":{"url":"https://github.com/Timkor/nuxt-polyfill/issues"},"homepage":"https://github.com/Timkor/nuxt-polyfill#readme","gitHead":"babe5ffa6599d7e2815d7c742e04161970a912b3","_id":"nuxt-polyfill@0.0.1","_npmVersion":"6.5.0","_nodeVersion":"8.12.0","_npmUser":{"name":"timkor","email":"timothy.korse@gmail.com"},"dist":{"integrity":"sha512-o2CpJMwiVAVWNsDvwjTHORLt96q+5H8zXq/eSnc6NQGrvRn9dL167gNyvraBr1/SISBzpoRBz/cISrFjNKqoKw==","shasum":"d6e3be12cf1da8306c26e7425216bdeef39adfe0","tarball":"https://registry.npmjs.org/nuxt-polyfill/-/nuxt-polyfill-0.0.1.tgz","fileCount":3,"unpackedSize":2064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOxh/CRA9TVsSAnZWagAAEKcQAI6kYZSzchBH8p9j2sRb\nR1v6lY7z3vAhqoolaFuLfrE/nmH6rTdNQ8coWjRHD6gL6x+EqcnYzw1Gw/bW\nx1hb7tIhyAsa1GlRUuvuh/9f54nCSVoVLAIvp2xgqTcIpXKF1o6DgI0NzhdL\nn9/BujPuBuBGW2Z4DCRV+KbuYL6trQJoF3q7ouakRVzaSWZnACRnDy08/6Uu\nGM8efB4C1wDamnpBAovOMc/RGZh+cChihlyvdWgxP7dvdHREyPyUW62umPpk\nBDYRFk50w8COsf5cjC4GnPclhmDI10c28TxvrO+w0c+sTeRAXJmp7Pi93IjT\nTJkjSGqGiNUUpRjM9k+Z+sE/6WxtXJn9P3XDhCk3bx1XjbgqtZqExPogOSar\nHFoNnJIw8QI0DRQkC80cwsc9vSuRNJZ4gfNxntUG1XOit7V0wmmbwa+a1x7b\nnvl39Jll7kzUqJ+bL10PbLmccKZ6ixST5DrCoeR94An+3eHK8mIaiUBRC86g\n+i/Hh+s8AXDLtM5LdquBF9sQudfE5+vhp8fBp8cr38IvBwUOwZ/eFyc7GDMa\nUxmOmzu/csEyRsvsaYOk+hZ1RivTGg9n0ODmBtHAPtqQqniwd3itZ/f9O6P8\nbo2Nmfv50wP5Un5T1KGVCtR7qxTurjBzIAKDXZZMVPu5sW4ySwUtQqm+YJYl\nJdtN\r\n=6Pcm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCH3mcIbc0PaRlMVkOFwhV0xo0iPdWBAlJpEhwQ1V+CvYCIQCGojnsw3BFvjqLQsXWChJ7NnMu0bZ9jyLo4dEBQIYqUg=="}]},"maintainers":[{"name":"timkor","email":"timothy.korse@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nuxt-polyfill_0.0.1_1547376766363_0.186369295105425"},"_hasShrinkwrap":false},"1.0.0":{"name":"nuxt-polyfill","version":"1.0.0","description":"Ease adding polyfills to Nuxt.js projects using Polyfill.io among others","main":"dist/index.js","directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Timkor/nuxt-polyfill.git"},"keywords":["nuxt","vue","polyfill","service","module"],"author":{"name":"Timkor"},"license":"MIT","bugs":{"url":"https://github.com/Timkor/nuxt-polyfill/issues"},"homepage":"https://github.com/Timkor/nuxt-polyfill#readme","gitHead":"a2d977b275a4b0b0694962cdf6632bea401f3b02","_id":"nuxt-polyfill@1.0.0","_npmVersion":"6.5.0","_nodeVersion":"8.12.0","_npmUser":{"name":"timkor","email":"timothy.korse@gmail.com"},"dist":{"integrity":"sha512-ZP1uSXgL91wexjr8MOOu4K9pgk9H1F6HravOVM77VLBwGkaUatWhRQO8qtj65LF/K5Q2XP0TZgKUij0RcGvV/A==","shasum":"20f8f46d6c138ae0ffb7cd16911ddbc4b14c9e1d","tarball":"https://registry.npmjs.org/nuxt-polyfill/-/nuxt-polyfill-1.0.0.tgz","fileCount":21,"unpackedSize":17067,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjPn8CRA9TVsSAnZWagAAHw8QAJMBHb+Vmii7dtbYZtwc\n1afI+UHtk7o8l3c3VtnZZjAHKgRwmwdIe+u0Q+VpR4qqkYawXtFkbwyMkiMq\nqcrip+VryUeSTs0obo6+4AO7C17vN2X1jtNwfoX85EC1KpgZlNHapeuU7Zmx\nDQKIHfVxP14Re9Du4EzbV8AF1Frbwz4R2TAY/nMa9jiI6gja8cGL6ddjK7jA\nzlHl7eYC6kUbMbcIPqWTpd4nmD6+tRM2iBUEU6J9hJeO8EUqPyBEMrgwpQaX\nweDVZYO7+H2OK8n2BtNDyQaMWheJJT7Dy1RZw9MAmYUqm57lxhWy8TY1LS5n\npTmbAb1V4+12exBffmHUbcvAQha5sk06IAcTU9huRJUCSVo1DI+hBzW687iZ\nJoJqgUCKfyMoSy5T1+UK9RFDG8pGDId+WsgQNceCRU0xYV7gCUKGXCbiR1NV\niS83+DJzZsL4+BGnMIoLKGx03m006tONjyCfAHGv1G7Bi+7a7jpF1CIMZqcH\nxMmZWRXZo0ucTvRv9IlVCWszMHERFnANh6XfVQLQGGn2XuVTEURa7z25DmTR\nCIknK5nKYNArwQRHoN3Hxz0oP0ejN8Rs/oj3VnjmKl2QDyeHz86xvfCUKHx6\nwGb5ZguPaHqcfdYpxWIpnhXIWxU9+GClD7SskscrGLOZFGnV4WjLIpHAiqMo\ncOg4\r\n=96l5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFjZzJeP3LIJlbz49MPB3YV2fM54NopR+rZ6ICg/qih1AiEAhlcE6C6ULbMYX0G4syGZjX77pE+KOIeSv9mGS5GPdko="}]},"maintainers":[{"name":"timkor","email":"timothy.korse@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nuxt-polyfill_1.0.0_1552742907901_0.3665911895756311"},"_hasShrinkwrap":false},"1.0.1":{"name":"nuxt-polyfill","version":"1.0.1","description":"Ease adding polyfills to Nuxt.js projects using Polyfill.io among others","main":"src/index.js","directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Timkor/nuxt-polyfill.git"},"keywords":["nuxt","vue","polyfill","service","module"],"author":{"name":"Timkor"},"license":"MIT","bugs":{"url":"https://github.com/Timkor/nuxt-polyfill/issues"},"homepage":"https://github.com/Timkor/nuxt-polyfill#readme","gitHead":"f54796ef401c3531037fd626128b8deafe1b2898","_id":"nuxt-polyfill@1.0.1","_npmVersion":"6.5.0","_nodeVersion":"8.12.0","_npmUser":{"name":"timkor","email":"timothy.korse@gmail.com"},"dist":{"integrity":"sha512-o2f6xW4lHZrhQbqh2XO5duCo245J+G+0ZCsDI1f6yS+GDnwDVtQqJlyMCm7TffQ/4xRrYoqdsZjIesNW+L75+A==","shasum":"d537c1f3d4fe5aa57055412f88f03a52ed3b9f21","tarball":"https://registry.npmjs.org/nuxt-polyfill/-/nuxt-polyfill-1.0.1.tgz","fileCount":21,"unpackedSize":17325,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjRSdCRA9TVsSAnZWagAAuIgP/jgfoHuykAOhBwl3pmUg\nYlV6GcUHXXWGM33w9Nxu0xEB8qxvcyfs0RKwbS9VJSjv2tLzNyDRkLMFOqYr\nSaXag93qnMda43P8uXb4IOgWKISZCqLNzBie1GMohNIcGjfNG4vQGurygw2G\nnda/6aX1JeHTeKaZFn1i+ajaPelpdamaMQrPKIz2CROoyhPbORhvCrVe3T/Y\n2uxyXEWFmI0g42TjZqSDyA17ENTStDkJBW1al9BWgia+SnMyBg/XZzjA5Ih2\nzeeObX9zcjPZxotLv5nKa9VhyyvXm2+R/rQdDyEWpHyKtlwyUd4SbvyopIz0\nqXkX17IkSEXN33ZWbJwB9eN+nyWGVzwNQjOEOlJxFqsRMjj4Acbd/+xyjwv7\n1ybJz9H/i9TE36+xp9UhjxWK2D8XP7t4z7W2iSYUyGO10JQanPP61Y+oh16V\n7+W+rFHninHRCUPb7sWVrKX8ZNhzSDqWREyh28lW8QWcF3BHOGBP93AUGwJc\nWOY5PLCLFQy8YrbjtSRJZZbJojuoHIZjSuGDjofK21uyW0XVTLYpUBwJWD43\niflNcFaXjuPuylXtYtgMbEcQplzkTfnmCumKDPVkJcpyDo+etRCz9yhlplkf\nfZqu5qja1Vh4BXJ5oUJ0rmuz9ZpHLZAsse/3vKKUN6AP3AAYy01SXy4bTV19\nGUla\r\n=igVy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE1FZvicIEzB4UsOFpXoWkOoLf2NeBMAuQE5EwKSDJPvAiEA3yE/RD25Qa5irDE7zYRweR3D/Hvu1QMazKGOC1lfixU="}]},"maintainers":[{"name":"timkor","email":"timothy.korse@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nuxt-polyfill_1.0.1_1552749724624_0.5889449674218421"},"_hasShrinkwrap":false},"1.0.2":{"name":"nuxt-polyfill","version":"1.0.2","description":"Ease adding polyfills to Nuxt.js projects using Polyfill.io among others","main":"src/index.js","directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Timkor/nuxt-polyfill.git"},"keywords":["nuxt","vue","polyfill","service","module"],"author":{"name":"Timkor"},"license":"MIT","bugs":{"url":"https://github.com/Timkor/nuxt-polyfill/issues"},"homepage":"https://github.com/Timkor/nuxt-polyfill#readme","gitHead":"da96fc73a8a520765fd45d78441703013b23f570","_id":"nuxt-polyfill@1.0.2","_npmVersion":"6.5.0","_nodeVersion":"8.12.0","_npmUser":{"name":"timkor","email":"timothy.korse@gmail.com"},"dist":{"integrity":"sha512-7W+HUv46dP7bFHjol0+b0qPeBwRmTn4lr9iDA1WY0Dnej38kIGZbqZYZz7wYK4+eZagJ/FvzMdDt151nO86Ssw==","shasum":"502077313647975d95cd57ceb52b6d94809ec995","tarball":"https://registry.npmjs.org/nuxt-polyfill/-/nuxt-polyfill-1.0.2.tgz","fileCount":22,"unpackedSize":18023,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnNgxCRA9TVsSAnZWagAALioP/2dRQeQWm1AFZhO+5iL/\niTH8Q+1jmt1aOKSf7k4/kj5JuzgpFt6mzd7pseahzef9/RolLj/NS8Y68ggO\nGuVWdtnK1KgDB1INDRbJiUGjTNQtufdKqf5+SfdMXZ2/Tt/pyun2vnweIOlt\nfWVvq8nGHCHNQ6t108EfX6ACsBZ7/amRO1m6c/Ne6GbNZh3jD4v1jaCENKvD\n96gzwH7YlFOHwTE4yMOYkjHwhPVc8/Zey7ds0Cd/qA9+3IsePJVc1mL1tdnX\nMIEilseRef8awEd6F7uOYLcQnmamvWP6KLjsf2n/qISz14kM1Qu7qKpmIF86\nfSyx2IEOkh9kx/vtHaJwWiJFfhM6+pWjdbgQ6JAxdYyN5QH8np508EZVLmz6\nt4oSVMDLa4R17oB+oHUEzOFw9i3LbCNJyGDVge2pPvUJtz0wwTHWVlDt7+A+\nbVIbLExr5RmDkwGTZAyc2MZatJLgNDxUJ+ssLoSsE2RagDFp6M3hl9YL+S7r\n+lqnflS0s0UQCZ+Vzw+gPcYaq5rPg6e0H9JYGEXuvW7e8fzrMS+Y9VTrVWeV\nDjXP1KOu74uTBsOclyhiLHUDQyN9rgK13iwsCe5n01Yk6N4Bzx1CDIH8f7g/\ndFUZG43DqQ3g/XGBWXHWA00UQiQutUv/1T4T0TOWtWlmksnm3OZr40e7097u\nTZ97\r\n=jHU4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICtRtQjj8sQdabbUARHciVrfM1KQ1s2rUKU1pjElFHwpAiEA8T8vyaSQ+WrrBS/pG0VG9Dh12JI9W7sKCmCTlsm9/m4="}]},"maintainers":[{"name":"timkor","email":"timothy.korse@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nuxt-polyfill_1.0.2_1553782832757_0.4753713391369814"},"_hasShrinkwrap":false},"1.0.3":{"name":"nuxt-polyfill","version":"1.0.3","description":"Ease adding polyfills to Nuxt.js projects using Polyfill.io among others","main":"src/index.js","directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Timkor/nuxt-polyfill.git"},"keywords":["nuxt","vue","polyfill","service","module"],"author":{"name":"Timkor"},"license":"MIT","bugs":{"url":"https://github.com/Timkor/nuxt-polyfill/issues"},"homepage":"https://github.com/Timkor/nuxt-polyfill#readme","gitHead":"dcaf9d8613b18e1b9afd4b7d17715ec43c276127","_id":"nuxt-polyfill@1.0.3","_npmVersion":"6.5.0","_nodeVersion":"8.12.0","_npmUser":{"name":"timkor","email":"timothy.korse@gmail.com"},"dist":{"integrity":"sha512-cYJoCxaHcTJpIsqs2xRuHf/KapODH1/HHGGGVJGjAMvog55jXxubsrtwBmZRV+QK1MZzpGQZWwSBz/JnTDvXhQ==","shasum":"b93d970153d6139a9fc0ea085480212adad13889","tarball":"https://registry.npmjs.org/nuxt-polyfill/-/nuxt-polyfill-1.0.3.tgz","fileCount":22,"unpackedSize":18289,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcoL1OCRA9TVsSAnZWagAAe9cP/0jCd2jeirOBNseeino2\nOazG1m5BXcojavSNa14QhoqEiWz/FI4vf8RgybeJlSmKKTl29cd/cZFv766R\n+UejJKwXpGgJ1ixltttYL1S5ggmqvyndWO4Rp4ILL3KMBCTHIfXtxqQuS8PW\np44mccgG08pHafnbN2Re8Xewpfalitj21uYD8tpjWW/mjO/49XBtaKaadun2\nDrnPSBkAf1yJ4YlDd7UamNhzgU6D7AxPqgLC/gX86oqkZJ2Aju4ZVymiVyBt\nYvDbBXpsWd0PRArHTBo1qIJLve3aQijFpHSqZ9qaMgZPyukybk98lrcvJ/NW\nPTJ7ayP3iuxjjDSPiJTfbLjjJkzalZYKp65/6fj+LNyLSuqOeJB6EeJ0DUn+\nInPH+D9V0B3fwYGnaT+/5xMEeWyG9gUJ2oRHKXKnk3mPxzuYuHN8/iHGQewP\n67w9yqHxzngZs7nXISgtc1gLCwq9/wEXQo+I0WM/dJnq+U2gn35D63Nhz6gi\nxmoXnm3xmeDcIEDNJ2uIiOxsp8f8JC1YSPZx/dFqgxln80vG/oS6F0mkdiog\nm4EMWH0ogwOAlfudOuyzMvPQiPh0mf2+Usfia6Cct1UUl8b8Vod7qGZNE6Tc\nQiSf2VBBwfv4rX7glYmo3hi3P+g1BB5Cqds+7hALrPxAm+sbYd3uyX8WH+Q3\nm1kK\r\n=L3wt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJIP5ctL+8gdnHwSu7PK3GBqvas4X1UKDczmQsf7QL6AiEA+sEYU8+2XgJdeFUNDdWdJggEwYHsWQY6rm9M9PwiHhk="}]},"maintainers":[{"name":"timkor","email":"timothy.korse@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nuxt-polyfill_1.0.3_1554038094122_0.11090891425548444"},"_hasShrinkwrap":false}},"time":{"created":"2019-01-13T10:52:46.362Z","0.0.1":"2019-01-13T10:52:46.481Z","modified":"2022-05-11T22:56:09.134Z","1.0.0":"2019-03-16T13:28:28.089Z","1.0.1":"2019-03-16T15:22:04.857Z","1.0.2":"2019-03-28T14:20:32.945Z","1.0.3":"2019-03-31T13:14:54.295Z"},"maintainers":[{"name":"timkor","email":"timothy.korse@gmail.com"}],"description":"Ease adding polyfills to Nuxt.js projects using Polyfill.io among others","homepage":"https://github.com/Timkor/nuxt-polyfill#readme","keywords":["nuxt","vue","polyfill","service","module"],"repository":{"type":"git","url":"git+https://github.com/Timkor/nuxt-polyfill.git"},"author":{"name":"Timkor"},"bugs":{"url":"https://github.com/Timkor/nuxt-polyfill/issues"},"license":"MIT","readme":"\r\n\r\n# nuxt-polyfill\r\n![npm](https://img.shields.io/npm/dt/nuxt-polyfill.svg)\r\n\r\nEase adding polyfills to your Nuxt.js project.\r\n\r\n**Requires** Nuxt >= 2\r\n\r\n## Features\r\n - ✔ Easy to configure\r\n - ❔ Lazy load polyfills **only if needed** by using `Feature Detection`\r\n - ⚡️ Aims to be as fast as possible\r\n - 🔧 Supports any polyfill as NPM package or JS file\r\n - ⭐️ Supports polyfills from [polyfill.io](https://polyfill.io)\r\n - Detect function can be called before loading the features\r\n - Polyfills are not included in the bundle but loaded separately\r\n\r\n## Getting started\r\n```\r\nnpm install nuxt-polyfill\r\n```\r\n\r\nAdd the module to your `nuxt.config.js`: \r\n\r\n```javascript\r\nexport default {\r\n    \r\n    // Configure polyfills:\r\n    polyfill: {\r\n        features: [\r\n            /* \r\n                Feature without detect:\r\n\r\n                Note: \r\n                  This is not recommended for most polyfills\r\n                  because the polyfill will always be loaded, parsed and executed.\r\n            */\r\n            {\r\n                require: 'url-polyfill' // NPM package or require path of file\r\n            },\r\n\r\n            /* \r\n                Feature with detect:\r\n\r\n                Detection is better because the polyfill will not be \r\n                loaded, parsed and executed if it's not necessary.\r\n            */\r\n            {\r\n                require: 'intersection-observer',\r\n                detect: () => 'IntersectionObserver' in window,\r\n            },\r\n\r\n            /*\r\n                Feature with detect & install:\r\n\r\n                Some polyfills require a installation step\r\n                Hence you could supply a install function which accepts the require result\r\n            */\r\n            {\r\n                require: 'smoothscroll-polyfill',\r\n\r\n                // Detection found in source: https://github.com/iamdustan/smoothscroll/blob/master/src/smoothscroll.js\r\n                detect: () => 'scrollBehavior' in document.documentElement.style && window.__forceSmoothScrollPolyfill__ !== true,\r\n\r\n                // Optional install function called client side after the package is required:\r\n                install: (smoothscroll) => smoothscroll.polyfill()\r\n            }\r\n        ]\r\n    },\r\n    \r\n    // Add it to the modules section:\r\n    modules: [\r\n        'nuxt-polyfill',\r\n    ]\r\n}\r\n```\r\n\r\n**Note:** You need to install the NPM packages manually.\r\n\r\nIn order to run this example:\r\n```\r\nnpm i url-polyfill intersection-observer smoothscroll-polyfill\r\n```\r\n\r\n\r\n## Useful polyfill links (including detection functions):\r\n - [https://github.com/Financial-Times/polyfill-library](https://github.com/Financial-Times/polyfill-library)\r\n\r\n## Documentation\r\n### feature.name\r\nType `String`. Not required.\r\n\r\n### feature.require\r\nType `String`. NPM package or require path of JS file.\r\n\r\n### feature.detect\r\nType `Function`. Detection function, should return a `Boolean`.\r\n\r\n### feature.install\r\nType `Function`. Installation function. First argument is the default export in the required file/package.\r\n\r\n### feature.mode\r\nNot supported yet. Only client polyfills are supported.\r\n\r\n## Roadmap\r\n - Support for server side polyfills\r\n - Support for require array (necessary for Intl polyfill)\r\n","readmeFilename":"README.md"}