Commits
Click on a commit to change the comparison rangefix(minifier): prevent duplicate parameter names with destructuring patterns
Safari has a bug where duplicate parameter names are not allowed in
functions with destructuring parameters. The existing fix only checked
for rest and assign patterns, but Safari's restriction also applies
to object and array destructuring patterns.
This extends the Safari bug workaround in the variable renamer to also
check for `is_object()` and `is_array()` patterns, preventing the
function name from being renamed to collide with destructuring parameter
names.
Fixes #11083
Co-authored-by: Donny/강동윤 <kdy1@users.noreply.github.com>4 hours ago
by github-actions[bot] Create rich-jars-cover.md