{"_id":"rollup-plugin-polyfill","_rev":"8-9c25fd85535bbc8ee37e04e287828246","name":"rollup-plugin-polyfill","dist-tags":{"latest":"4.2.0"},"versions":{"1.0.0":{"name":"rollup-plugin-polyfill","version":"1.0.0","description":"Rollup Plugin to include a polyfill in your bundle. Literally injects a require statement in your bundle, which you can then use `rollup-plugin-node-resolve` to resolve.","main":"index.js","scripts":{},"repository":{"type":"git","url":"git+https://github.com/JRJurman/rollup-plugin-polyfill.git"},"keywords":[],"author":{"name":"Jesse Jurman","email":"j.r.jurman@gmail.com","url":"https://github.com/jrjurman"},"license":"MIT","bugs":{"url":"https://github.com/JRJurman/rollup-plugin-polyfill/issues"},"homepage":"https://github.com/JRJurman/rollup-plugin-polyfill#readme","gitHead":"bdc4935f54136af6de19eca6dad7b76c091847cf","_id":"rollup-plugin-polyfill@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"jrjurman","email":"j.r.jurman@gmail.com"},"dist":{"integrity":"sha512-7E9l9DlTPVm+ppbliVre4HZ5N8OIXhexdXbwENzMrPCfZ4jryDq2zNFNIi79XNPXODF87Onior8acTBcSgsCzg==","shasum":"aa2ddfa4ea576cee9be3e8c4c662453c4fe71655","tarball":"https://registry.npmjs.org/rollup-plugin-polyfill/-/rollup-plugin-polyfill-1.0.0.tgz","fileCount":3,"unpackedSize":1815,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBbpNM99cCgpBcgzrLcoaV6vwUwPZpic+siBVmQGH/WZAiAu5t6jsb1aTNz+vw+8f7q8eOMfh6Zy1fibu8fFD/csxA=="}]},"maintainers":[{"name":"jrjurman","email":"j.r.jurman@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-polyfill_1.0.0_1518747200674_0.08534231631929745"},"_hasShrinkwrap":false},"2.0.0":{"name":"rollup-plugin-polyfill","version":"2.0.0","description":"Rollup Plugin to include a polyfill in your bundle. Literally injects a require or import statement in your bundle, which you can then use `rollup-plugin-node-resolve` to resolve.","main":"index.js","scripts":{},"repository":{"type":"git","url":"git+https://github.com/JRJurman/rollup-plugin-polyfill.git"},"keywords":[],"author":{"name":"Jesse Jurman","email":"j.r.jurman@gmail.com","url":"https://github.com/jrjurman"},"license":"MIT","bugs":{"url":"https://github.com/JRJurman/rollup-plugin-polyfill/issues"},"homepage":"https://github.com/JRJurman/rollup-plugin-polyfill#readme","dependencies":{"magic-string":"^0.22.4"},"gitHead":"abaf70f7e0eb5a50d67145a02b3062c639157979","_id":"rollup-plugin-polyfill@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"jrjurman","email":"j.r.jurman@gmail.com"},"dist":{"integrity":"sha512-9YFT1hWOOGYA52lkerYC4Xb94Zo9otP/nj2CEL10at2n8W4PkcvJQXpMwQx5lSScG9yoGxdoGibZDA0LdhItrQ==","shasum":"b4ec948fee70d9b15efeb249718d968eb8a05a5a","tarball":"https://registry.npmjs.org/rollup-plugin-polyfill/-/rollup-plugin-polyfill-2.0.0.tgz","fileCount":3,"unpackedSize":2327,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpkWaGbdMc/k6zQO8sndJoEifWMFP2GvxtmjLG+7P+tgIhAO2hd/DuzhdOL0Uk/lbtvwETOQN21jpgToFbO6FBurjQ"}]},"maintainers":[{"name":"jrjurman","email":"j.r.jurman@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-polyfill_2.0.0_1520694018707_0.4581778134968746"},"_hasShrinkwrap":false},"2.0.1":{"name":"rollup-plugin-polyfill","version":"2.0.1","description":"Rollup Plugin to include a polyfill in your bundle. Literally injects a require or import statement in your bundle. This is useful if you only want to include certain logic in some variants of your build (e.g. polyfills for a UMD).","main":"index.js","scripts":{},"repository":{"type":"git","url":"git+https://github.com/JRJurman/rollup-plugin-polyfill.git"},"keywords":[],"author":{"name":"Jesse Jurman","email":"j.r.jurman@gmail.com","url":"https://github.com/jrjurman"},"license":"MIT","bugs":{"url":"https://github.com/JRJurman/rollup-plugin-polyfill/issues"},"homepage":"https://github.com/JRJurman/rollup-plugin-polyfill#readme","dependencies":{"magic-string":"^0.22.4"},"gitHead":"860e5c9b1079750313d18fe6314b47d80e2fe1ca","_id":"rollup-plugin-polyfill@2.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"jrjurman","email":"j.r.jurman@gmail.com"},"dist":{"integrity":"sha512-K8lf4oXQrNXjDbL1Nx/BuiaCPwaSdxrNE6mO5OCFeZtY+CDUTX5JoXwjLmBTh3ykl8wK8tkhw6DInxqsppqdZA==","shasum":"d514a748c8ff1d424473a8545909f19f69ea8f43","tarball":"https://registry.npmjs.org/rollup-plugin-polyfill/-/rollup-plugin-polyfill-2.0.1.tgz","fileCount":8,"unpackedSize":3438,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF8agC6GfG8Ck7kOjdZVlZp+fM7ExiDssgIykhoK8d/nAiEAhZIC+qQ7FUsAVJrSZL79QjAwNB/GdRHtSH4GzASTALQ="}]},"maintainers":[{"name":"jrjurman","email":"j.r.jurman@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-polyfill_2.0.1_1520697368137_0.29028019267270744"},"_hasShrinkwrap":false},"3.0.0":{"name":"rollup-plugin-polyfill","version":"3.0.0","description":"plugin to prepends bundles with a source file or module","main":"src/index.js","scripts":{},"repository":{"type":"git","url":"git+https://github.com/JRJurman/rollup-plugin-polyfill.git"},"keywords":["rollup-plugin"],"author":{"name":"Jesse Jurman","email":"j.r.jurman@gmail.com","url":"https://github.com/jrjurman"},"license":"MIT","bugs":{"url":"https://github.com/JRJurman/rollup-plugin-polyfill/issues"},"homepage":"https://github.com/JRJurman/rollup-plugin-polyfill#readme","dependencies":{"magic-string":"^0.25.3"},"devDependencies":{"jest":"^24.8.0"},"gitHead":"7576801e9e410eaae5ba6ff0c10fde7c24c2d59f","_id":"rollup-plugin-polyfill@3.0.0","_npmVersion":"6.5.0","_nodeVersion":"11.3.0","_npmUser":{"name":"jrjurman","email":"j.r.jurman@gmail.com"},"dist":{"integrity":"sha512-LfJ1OR/wJrJdNDVNrdhVm7CgENfaNoQlFYMaQ0vlQH3zO+BMVrBMWDX9k6HVcr9gHsKbthrkiBzWRfFU9fr0hQ==","shasum":"9bec2f54cebd349b39ea25338a5cb389e4fa7f91","tarball":"https://registry.npmjs.org/rollup-plugin-polyfill/-/rollup-plugin-polyfill-3.0.0.tgz","fileCount":11,"unpackedSize":5004,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMDi+CRA9TVsSAnZWagAAW4IP/1WCMa6Jk9Oi50s8kRKx\nDZf8HxtcM6SwVMKR0ORUjpEzawic2krdvXCDY5xgWUjKeZpmZSWLrbTFyPjd\nTEpixTze9CyocoJauCmx6T/nrMC20PsMKE0H4xXZLqudLWww+cb9hcprOTnT\nIUeKbMui0Vm7MuXj/4OWp+AJK33bpc4dOF4O08gBYRLJTn2MCjrwzu9FOLpS\n1GQZn19ocnW/tEGudXlFckbDule3sf8X4f+6W4psWJI97y7qp+tSkyQ0u7w+\nr/scEAYC47a47X+4eurmyHIZvgXaaZH780+VZZY8vy+vhZmw3a8svvw1hE+r\nAdJKqkA+AW6YXGayNLJS9jSi3f8UUa6dZeNhdYdFsjMU2DeiflMBwvds102V\nSjcAhzbX/ZmLoX7do8uSnNjFzR4VmBAb2sPyZMgFt94qOyabuxTyDAJECLgB\nOhWMUr5mBPFGuA/hyFquKag32hDCb/4TchZJMi6mqRCgnMcNMkwaE1ie1EcI\nslUyxf2q+DHJdGVA6zBl/pt0aTAZzj/xzOEIck71wd3a0PGXAduItWSykmEv\nayeR9uj9pEAw9mPgs8RVu2CVfWXQurSwAZfjZi08fUD5FeCFRroagIJnDnIY\nnDcAN2Y92OH55VP0ZvlGieyFGWR24DWb9q2theiJ+etbjflMpbrDFrKPl1OV\nb5Cr\r\n=Odlo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYrZIiNZ/nZ3fje7sU/d7RnuNHjrGIvuaGX4M7NOFXfQIgK0aPrIORV9H8LBkLA1jZYK8tzG/zWcGHkPmuQvgvKK4="}]},"maintainers":[{"name":"jrjurman","email":"j.r.jurman@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-polyfill_3.0.0_1563441341460_0.8314426955438663"},"_hasShrinkwrap":false},"4.0.0":{"name":"rollup-plugin-polyfill","version":"4.0.0","description":"plugin to prepends bundles with a source file or module","main":"src/index.js","scripts":{"test":"jest","prepublishOnly":"npm test"},"repository":{"type":"git","url":"git+https://github.com/JRJurman/rollup-plugin-polyfill.git"},"keywords":["rollup-plugin"],"author":{"name":"Jesse Jurman","email":"j.r.jurman@gmail.com","url":"https://github.com/jrjurman"},"license":"MIT","bugs":{"url":"https://github.com/JRJurman/rollup-plugin-polyfill/issues"},"homepage":"https://github.com/JRJurman/rollup-plugin-polyfill#readme","engines":{"node":">=10.0.0"},"peerDependencies":{"rollup":"^2.67.0"},"devDependencies":{"@rollup/plugin-commonjs":"^21.0.1","jest":"^27.4.7","rollup":"^2.67.0"},"gitHead":"e063376496e0328169001d74e70b19156d3f908c","_id":"rollup-plugin-polyfill@4.0.0","_nodeVersion":"17.3.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-ghnPr/mrLcUvL82Yw1ykvvtyQdKX027p/yjiPSNH1G3FEFRcCD2Uo5Kv47RXbuUBMLFjXn96jLFpczRtc7NP0g==","shasum":"0b9b719dc660aae787473f75f887aa54985a2202","tarball":"https://registry.npmjs.org/rollup-plugin-polyfill/-/rollup-plugin-polyfill-4.0.0.tgz","fileCount":4,"unpackedSize":5563,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiA85UCRA9TVsSAnZWagAAY/IP/jmf3PkNa4RhhEFyWvCT\nbaCtn5dGXlMVl9Sxv+NmtowgGfWIrUoVKPULl5ksIMbPnCeJiEfdUf/4Fi3V\nYevxYlrYd8THuqOcVZtxCCeiITRJLBn7k53w0gjuBR+eoogb9xby7DuPAqRf\nRHI1m/u2Mrfoz1g0SIgRyBwYM6aHd+4PTibe5xybXQ4sysJYhnbuxCtfPMTK\nJrBUbYL5S95MaiVa61ANBjL7jjsRm1feI8wiFCBEwuJ0wYTE/Luc+ZsyL5PC\nhKFef4EA/BzJUXtnDtb6CoOmEIoJcPbrLXU7WUgzKcXoGxAi5D+YN1+MHEXk\nLXNNau+M+ZEzY/2OxDZoIFW38ANzgRZ9AIG+57ww8KpdD8VoWxzzryIZFeF7\nKtWr75zh9F5nF/aaZgiajVEOzZHs2lYzmRW5UIoGiiB+n/sYeeUoSLAUeIuT\nb0yvBkBRF7d7DRPudVDuJKAmN8KyjnVGUcKt8ud9ap7EfNkSVPBq0F3mL1IR\ncVgdm/DwXXuglK1eRToBRnGOo4bw8MKULBIdkyRoYgdzthMZ6dZP3eDecX5e\np3GSHnAA4dXSJ55+hfPfwhnozRsqppEVic7NOnkKvrrQex6BKGj5UVeRrorW\nULkur/BT1f+A0tJllH4eg9gfdjo7lbJxmxsHR964PIt69Ah0p+RRdN7Jd7bF\nIGpw\r\n=PpSB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA2r/tx50v22ewNVDeS9kk18W8/Y5lJXijH1on/lY6mXAiAWu75rU4tBs84LVOO1n29ZCkDh0Jjj0uHAKM6vNn8FKQ=="}]},"_npmUser":{"name":"jrjurman","email":"j.r.jurman@gmail.com"},"directories":{},"maintainers":[{"name":"jrjurman","email":"j.r.jurman@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-polyfill_4.0.0_1644416596811_0.7777911187218567"},"_hasShrinkwrap":false},"4.1.0":{"name":"rollup-plugin-polyfill","version":"4.1.0","description":"plugin to prepends bundles with a source file or module","main":"src/index.js","scripts":{"test":"jest","prepublishOnly":"npm test"},"repository":{"type":"git","url":"git+https://github.com/JRJurman/rollup-plugin-polyfill.git"},"keywords":["rollup-plugin"],"author":{"name":"Jesse Jurman","email":"j.r.jurman@gmail.com","url":"https://github.com/jrjurman"},"license":"MIT","bugs":{"url":"https://github.com/JRJurman/rollup-plugin-polyfill/issues"},"homepage":"https://github.com/JRJurman/rollup-plugin-polyfill#readme","engines":{"node":">=10.0.0"},"peerDependencies":{"rollup":"^2.67.0 || ^3.0.0"},"devDependencies":{"@rollup/plugin-commonjs":"^23.0.3","jest":"^29.3.1","rollup":"^3.5.1"},"gitHead":"1c3ae4decf0a7e377426a10a956d07d16ef45ad1","_id":"rollup-plugin-polyfill@4.1.0","_nodeVersion":"19.6.1","_npmVersion":"9.6.4","dist":{"integrity":"sha512-6disKV1pqqxqcEdpF22ZFDTJ1+UFe2x44RGZLeZJVYFihuswbFwBWLXT60yPozMFLi4HCDN/Tw0BSJoH1uRCjA==","shasum":"a450906578564153d0aad7ddbb5f81add5366068","tarball":"https://registry.npmjs.org/rollup-plugin-polyfill/-/rollup-plugin-polyfill-4.1.0.tgz","fileCount":4,"unpackedSize":5572,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwIXt1gP223Ki0g90HNs1WLdnBIiWaC4Z/mt3b7HixyAIgeqEEfBt1DyMQ19ccCjUDC/DCSXtKEowlRhKi18+DV4o="}]},"_npmUser":{"name":"jrjurman","email":"j.r.jurman@gmail.com"},"directories":{},"maintainers":[{"name":"jrjurman","email":"j.r.jurman@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-polyfill_4.1.0_1683560700086_0.9919806540303171"},"_hasShrinkwrap":false},"4.2.0":{"name":"rollup-plugin-polyfill","version":"4.2.0","description":"plugin to prepends bundles with a source file or module","main":"src/index.js","scripts":{"test":"jest","prepublishOnly":"npm test"},"repository":{"type":"git","url":"git+https://github.com/JRJurman/rollup-plugin-polyfill.git"},"keywords":["rollup-plugin"],"author":{"name":"Jesse Jurman","email":"j.r.jurman@gmail.com","url":"https://github.com/jrjurman"},"license":"MIT","bugs":{"url":"https://github.com/JRJurman/rollup-plugin-polyfill/issues"},"homepage":"https://github.com/JRJurman/rollup-plugin-polyfill#readme","engines":{"node":">=10.0.0"},"peerDependencies":{"rollup":"^2.67.0 || ^3.0.0 || ^4.0.0"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.5","jest":"^29.7.0","rollup":"^4.0.2"},"gitHead":"6c9e279d7afe8c6056474421dcea2f1d9241190a","_id":"rollup-plugin-polyfill@4.2.0","_nodeVersion":"19.6.1","_npmVersion":"9.6.4","dist":{"integrity":"sha512-6eeOyn7nr2/xUOtB+MhydvqLrNKcSybGneOuWA+t8Q4rR9NQyeapzwuu5n6nX8OFfY1WI1sHconAofaC44IpuA==","shasum":"414c7ffca0557bf29a8f4e073b8eb7f4d02dac42","tarball":"https://registry.npmjs.org/rollup-plugin-polyfill/-/rollup-plugin-polyfill-4.2.0.tgz","fileCount":4,"unpackedSize":5582,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpXFtkrqtpldT5er6PzJhcFwDetYjEZ5gh++wf0H24uAIhAOntSmFwf2fCQQ3x7Fm1er7DWoT9Z9TCLw1eeucT9cW9"}]},"_npmUser":{"name":"jrjurman","email":"j.r.jurman@gmail.com"},"directories":{},"maintainers":[{"name":"jrjurman","email":"j.r.jurman@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-polyfill_4.2.0_1697000743999_0.10191981460110044"},"_hasShrinkwrap":false}},"time":{"created":"2018-02-16T02:13:20.674Z","1.0.0":"2018-02-16T02:13:20.740Z","modified":"2023-10-11T05:05:44.462Z","2.0.0":"2018-03-10T15:00:18.800Z","2.0.1":"2018-03-10T15:56:08.251Z","3.0.0":"2019-07-18T09:15:41.582Z","4.0.0":"2022-02-09T14:23:16.999Z","4.1.0":"2023-05-08T15:45:00.293Z","4.2.0":"2023-10-11T05:05:44.268Z"},"maintainers":[{"name":"jrjurman","email":"j.r.jurman@gmail.com"}],"description":"plugin to prepends bundles with a source file or module","homepage":"https://github.com/JRJurman/rollup-plugin-polyfill#readme","keywords":["rollup-plugin"],"repository":{"type":"git","url":"git+https://github.com/JRJurman/rollup-plugin-polyfill.git"},"author":{"name":"Jesse Jurman","email":"j.r.jurman@gmail.com","url":"https://github.com/jrjurman"},"bugs":{"url":"https://github.com/JRJurman/rollup-plugin-polyfill/issues"},"license":"MIT","readme":"# rollup-plugin-polyfill\nRollup Plugin to include a polyfill in your bundle.\nLiterally injects a require or import statement in the beginning of your entry files.\nThis is useful if you only want to include certain logic in some variants of\nyour build.\n\n## API\n### `polyfill(packages)`\n* `packages` is a list of modules to be resolved in your bundle.\n\n## Usage\nCheck out the example folder to see more configurations\n```javascript\nconst polyfill = require('rollup-plugin-polyfill')\nconst resolve = require('rollup-plugin-node-resolve')\nconst commonjs = require('rollup-plugin-commonjs')\n\nconst plugins = [\n  resolve(),\n  commonjs(),\n  polyfill(['es6-object-assign/auto', './string-reverse.js']),\n]\n\nexport default {\n  input: 'index.js',\n  output: {\n    file: 'bundle.js',\n    format: 'iife',\n    name: 'example'\n  },\n  plugins: plugins\n}\n```\n","readmeFilename":"README.md"}