fix(common): remove deprecated support for intl API (#29250)

BREAKING CHANGE:
In v5, we deprecated support for the intl API in order to improve the browser support. We are now removing these deprecated APIs for v9. See the original change here for more info on why: #18284.

PR Close #29250
This commit is contained in:
Olivier Combe
2019-10-11 09:30:19 +02:00
committed by Matias Niemelä
parent 5dfbcd5631
commit 9e7668f16b
14 changed files with 76 additions and 1439 deletions

View File

@ -8,8 +8,7 @@
import {NgModule} from '@angular/core';
import {COMMON_DIRECTIVES} from './directives/index';
import {DEPRECATED_PLURAL_FN, NgLocaleLocalization, NgLocalization, getPluralCase} from './i18n/localization';
import {COMMON_DEPRECATED_I18N_PIPES} from './pipes/deprecated/index';
import {NgLocaleLocalization, NgLocalization} from './i18n/localization';
import {COMMON_PIPES} from './pipes/index';
@ -37,17 +36,3 @@ import {COMMON_PIPES} from './pipes/index';
})
export class CommonModule {
}
/**
* A module that contains the deprecated i18n pipes.
*
* @deprecated from v5
* @publicApi
*/
@NgModule({
declarations: [COMMON_DEPRECATED_I18N_PIPES],
exports: [COMMON_DEPRECATED_I18N_PIPES],
providers: [{provide: DEPRECATED_PLURAL_FN, useValue: getPluralCase}],
})
export class DeprecatedI18NPipesModule {
}