This Babel plugin addresses a specific bug in Safari versions prior to 13. It resolves a collision that occurs during destructuring within function expressions, specifically related to the identifier 'id'. Without this plugin, code utilizing this pattern might experience unexpected behavior or errors in older Safari browsers. Effectively, this plugin transforms the code to avoid the problematic identifier usage, ensuring compatibility and consistent execution across a wider range of Safari browser versions. It's particularly useful for projects targeting older Safari environments.
The @babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression npm package had sporadic releases between October 2021 and August 2025. Releases were most frequent in 2021 and 2024, with a peak of two versions in October 2024. There were no releases in September 2025. Monthly release counts varied from zero to two versions.
The npm package "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" experienced substantial download growth from March 2024 to July 2025, peaking above 109 million. Downloads remained high through August 2025. September 2025 data is incomplete and shows a significant drop, reflecting the partial month.