Subscribe on changes!

Rename globalsWhitelist.ts isGloballyWhitelisted to use more inclusive language

avatar
May 26th 2023

Vue version

3.2.47

Link to minimal reproduction

https://github.com/vuejs/core/blob/020851e57d9a9f727c6ea07e9c1575430af02b73/packages/shared/src/globalsWhitelist.ts

Steps to reproduce

Open https://github.com/vuejs/core/blob/020851e57d9a9f727c6ea07e9c1575430af02b73/packages/shared/src/globalsWhitelist.ts

What is expected?

More inclusive language such as "allowed" is used.

What is actually happening?

Non-inclusive language "whitelisted" is used.

System Info

No response

Any additional comments?

No response

avatar
May 26th 2023

Thank you!

avatar
May 29th 2023

Unfortunately, this is a public export. Therefore renaming it is a breaking change.

It's already causing ecosystem-ci failures: https://github.com/vuejs/ecosystem-ci/actions/runs/5108624282 IMO, the best we can do in the current major version is to deprecate it.