A Babel plugin that provides stable transpilation of object rest/spread properties, downgrading from the objectSpread2 helper to the original objectSpread helper to avoid potential property loss. This package is based on @babel/plugin-proposal-object-rest-spread from Babel v7.7.4. It is released on an ad-hoc basis and serves as a drop-in replacement for the official plugin when the 'useBuiltIns' option causes issues with objectSpread2. Not actively maintained; use at your own risk as it may lag behind Babel updates.
npm install babel-plugin-proposal-object-rest-spread-stableNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to configure the plugin in .babelrc and demonstrates object rest/spread transpilation without the objectSpread2 issues.
Evaluate if the objectSpread2 issues apply to your project. For most modern use cases, use @babel/plugin-proposal-object-rest-spread directly.
Use @babel/plugin-transform-object-rest-spread or rely on @babel/preset-env's built-in support.
Ensure Babel 7.x is installed and the plugin is listed in .babelrc or babel.config.js.
Upgrade to Babel 7 or use a different plugin for older Babel.
No dependency data recorded yet.