v0.5.0
NewExpression
matchersCallExpression
matchers
new Intl.NumberFormat('es', { style: 'currency', currency: 'EUR' }).format(number)
core-web will now detect usage of locale es
in the context of NumberFormat
and load all needed polyfills.
This is a breaking change because some features were previously matched by Identifier
(e.g. forEach
) and are now matched by MemberExpression
or CallExpression
.
although this should result in less false positives we want to be cautious.