{"library":"babel-plugin-transform-replace-object-assign","type":"library","category":null,"description":"This Babel plugin replaces all `Object.assign` calls with a custom implementation specified via the `moduleSpecifier` option, importing the shim from an npm package. At version 2.0.0 (latest release, last updated in 2018), the plugin requires `@babel/core@^7.0.0` as a peer dependency. It is similar to `babel-plugin-transform-object-assign` but allows using an external package (e.g., `object-assign`) instead of Babel's internal `_extends` helper, reducing bundle size by avoiding per-file function declarations. However, the plugin is explicitly deprecated by the author: the original Chrome bug it addressed (V8 issue #4118) has been fixed since Chrome 49. The plugin remains functional but is discouraged for new projects; developers should consider native `Object.assign` or `babel-plugin-transform-object-assign` instead.","language":"javascript","status":"deprecated","version":"2.0.0","tags":["javascript","assign","babel","babel-plugin"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-transform-replace-object-assign","imports":["plugins: [[\"transform-replace-object-assign\", { \"moduleSpecifier\": \"object-assign\" }]]","npm install --save object-assign","import _objectAssign from 'object-assign';"]},{"cmd":"yarn add babel-plugin-transform-replace-object-assign","imports":[]},{"cmd":"pnpm add babel-plugin-transform-replace-object-assign","imports":[]}],"homepage":null,"github":"https://github.com/newoga/babel-plugin-transform-replace-object-assign","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-transform-replace-object-assign","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-transform-replace-object-assign/compatibility"}}