7e8eec57f0
To limit the exposure of the private `LOCALE_DATA` from outside `@angular/core` this commit exposes private functions in the core to hide the internal structures better. * The `registerLocaleData()` implementation has moved from `@angular/common` to `@angular/core`. A stub that delegates to core has been left in common for backward compatibility. * A new `ɵunregisterLocaleData()` function has been provided, which is particularly useful in tests to clear out registered locales to prevent subsequent tests from being affected. * A private export of `ɵregisterLocaleData()` has been removed from `@angular/common`. This was not being used and is accessible via `@angular/core` anyway. PR Close #33523 |
||
---|---|---|
.. | ||
async_pipe_spec.ts | ||
case_conversion_pipes_spec.ts | ||
date_pipe_spec.ts | ||
i18n_plural_pipe_spec.ts | ||
i18n_select_pipe_spec.ts | ||
json_pipe_spec.ts | ||
keyvalue_pipe_spec.ts | ||
number_pipe_spec.ts | ||
slice_pipe_spec.ts |