{"name":"babel-plugin-polyfill-corejs3","version":"1.0.0","description":"A Babel plugin to inject imports to core-js@3 polyfills","repository":{"type":"git","url":"git+https://github.com/babel/babel-polyfills.git","directory":"packages/babel-plugin-polyfill-corejs3"},"license":"MIT","publishConfig":{"access":"public"},"engines":{"node":"^20.19.0 || >=22.12.0"},"type":"module","exports":{".":"./lib/index.js","./package.json":"./package.json"},"keywords":["babel-plugin"],"dependencies":{"@babel/helper-define-polyfill-provider":"^1.0.0","core-js-compat":"^3.48.0"},"devDependencies":{"@babel/core":"^8.0.0","@babel/helper-plugin-test-runner":"^8.0.0","@babel/plugin-proposal-decorators":"^8.0.0","@babel/plugin-transform-class-properties":"^8.0.0","@babel/plugin-transform-classes":"^8.0.0","@babel/plugin-transform-for-of":"^8.0.0","@babel/plugin-transform-modules-commonjs":"^8.0.0","@babel/plugin-transform-runtime":"^8.0.0","@babel/plugin-transform-spread":"^8.0.0","core-js":"^3.48.0","core-js-pure":"^3.48.0"},"peerDependencies":{"@babel/core":"^7.4.0 || ^8.0.0"},"gitHead":"6ef4cbfa11a278111869ca5ccab9e1d805ab69f7","bugs":{"url":"https://github.com/babel/babel-polyfills/issues"},"homepage":"https://github.com/babel/babel-polyfills#readme","_id":"babel-plugin-polyfill-corejs3@1.0.0","_nodeVersion":"26.1.0","_npmVersion":"lerna/3.22.1/node@v26.1.0+arm64 (darwin)","dist":{"integrity":"sha512-yIkslVjbmml2Xjb6XhFW7lISXHsqk6cesxTdDsXoMom4Lnb99DbD3OQbSOoM5Z+ASh8YXYaLAsRQrU2Jeh3Qig==","shasum":"3abc188f97898ce67fe714a0dd971120c696501d","tarball":"http://registry-npm.ywwl.com/babel-plugin-polyfill-corejs3/download/babel-plugin-polyfill-corejs3-1.0.0.tgz","fileCount":7,"unpackedSize":320745,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCMaLCCfRZIc7NO2mMmF/s0PCwoEnJxfo5SU7SMJPTxdgIhAJUDCK2o3+NZXte4xSZKfZ2WsmLmPzZEyLXc2bQxbwno"}],"size":68254,"noattachment":false,"key":"/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-1.0.0.tgz"},"_npmUser":{"name":"nicolo-ribaudo","email":"hello+npm@nicr.dev"},"directories":{},"maintainers":[{"name":"nicolo-ribaudo","email":"hello+npm@nicr.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/babel-plugin-polyfill-corejs3_1.0.0_1781722148421_0.9918172854913199"},"_hasShrinkwrap":false,"readme":"# babel-plugin-polyfill-corejs3\n\n## Install\n\nUsing npm:\n\n```sh\nnpm install --save-dev babel-plugin-polyfill-corejs3\n```\n\nor using yarn:\n\n```sh\nyarn add babel-plugin-polyfill-corejs3 --dev\n```\n\n## Usage\n\nAdd this plugin to your Babel configuration:\n\n```json\n{\n  \"plugins\": [[\"polyfill-corejs3\", { \"method\": \"usage-global\", \"version\": \"3.48\" }]]\n}\n```\n\nThis package supports the `usage-pure`, `usage-global`, and `entry-global` methods.\nWhen `entry-global` is used, it replaces imports to `core-js`.\n\n## Options\n\nSee [here](../../docs/usage.md#options) for a list of options supported by every polyfill provider.\n\n### `version`\n\n`string`, defaults to `\"3.0\"`.\n\nThis option only has an effect when used alongside `\"method\": \"usage-global\"` or `\"method\": \"usage-pure\"`. It is recommended to specify the minor version you are using as `core-js@3.0` may not include polyfills for the latest features. If you are bundling an app, you can provide the version directly from your node modules:\n\n```js\n{\n  plugins: [\n    [\"polyfill-corejs3\", {\n      \"method\": \"usage-pure\",\n      // use `core-js/package.json` if you are using `usage-global`\n      \"version\": require(\"core-js-pure/package.json\").version\n    }]\n  ]\n}\n```\n\nIf you are a library author, specify a reasonably modern `core-js` version in your\n`package.json` and provide the plugin the minimal supported version.\n\n```json\n{\n  \"dependencies\": {\n    \"core-js\": \"^3.48.0\"\n  }\n}\n```\n```js\n{\n  plugins: [\n    [\"polyfill-corejs3\", {\n      \"method\": \"usage-global\",\n      // improvise if you have more complicated version spec, e.g. > 3.1.4\n      \"version\": require(\"./package.json\").dependencies[\"core-js\"]\n    }]\n  ]\n}\n```\n\n### `proposals`\n\n`boolean`, defaults to `false`.\n\nThis option only has an effect when used alongside `\"method\": \"usage-global\"` or `\"method\": \"usage-pure\"`. When `proposals` are `true`, any ES proposal supported by core-js will be polyfilled as well.","publish_time":1781722148574,"_cnpm_publish_time":1781722148574,"dist-tags":{"latest":"1.0.0","next":"1.0.0-rc.2"}}