87968: Remove angular2-text-mask dependency

This commit is contained in:
Yura Bondarenko
2022-03-04 16:11:08 +01:00
parent 3eb3afcc96
commit 26d45fd5e7
7 changed files with 2 additions and 23 deletions

View File

@@ -76,7 +76,6 @@
"@ngx-translate/core": "^13.0.0",
"@nicky-lenaers/ngx-scroll-to": "^9.0.0",
"angular-idle-preload": "3.0.0",
"angular2-text-mask": "9.0.0",
"angulartics2": "^10.0.0",
"bootstrap": "4.3.1",
"caniuse-lite": "^1.0.30001165",

View File

@@ -5,7 +5,7 @@ import { BrowserDynamicTestingModule } from '@angular/platform-browser-dynamic/t
import { By } from '@angular/platform-browser';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { TextMaskModule } from 'angular2-text-mask';
import {
DynamicCheckboxGroupModel,
DynamicCheckboxModel,
@@ -194,7 +194,6 @@ describe('DsDynamicFormControlContainerComponent test suite', () => {
DynamicFormsCoreModule.forRoot(),
SharedModule,
TranslateModule.forRoot(),
TextMaskModule,
],
providers: [
DsDynamicFormControlContainerComponent,

View File

@@ -3,7 +3,6 @@ import { FormGroup, ReactiveFormsModule } from '@angular/forms';
import { ComponentFixture, inject, TestBed, waitForAsync } from '@angular/core/testing';
import { DebugElement } from '@angular/core';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { TextMaskModule } from 'angular2-text-mask';
import { By } from '@angular/platform-browser';
import { DynamicCustomSwitchModel } from './custom-switch.model';
import { CustomSwitchComponent } from './custom-switch.component';
@@ -23,7 +22,6 @@ describe('CustomSwitchComponent', () => {
imports: [
ReactiveFormsModule,
NoopAnimationsModule,
TextMaskModule,
DynamicFormsCoreModule.forRoot()
],
declarations: [CustomSwitchComponent]

View File

@@ -3,7 +3,6 @@ import { DebugElement } from '@angular/core';
import { FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { By } from '@angular/platform-browser';
import { TextMaskModule } from 'angular2-text-mask';
import { NgbDatepickerModule } from '@ng-bootstrap/ng-bootstrap';
import { DynamicDatePickerModel, DynamicFormsCoreModule, DynamicFormService } from '@ng-dynamic-forms/core';
import { DsDatePickerInlineComponent } from './dynamic-date-picker-inline.component';
@@ -25,7 +24,6 @@ describe('DsDatePickerInlineComponent test suite', () => {
imports: [
ReactiveFormsModule,
NoopAnimationsModule,
TextMaskModule,
NgbDatepickerModule,
DynamicFormsCoreModule.forRoot()
],

View File

@@ -5,7 +5,7 @@ import { RouterTestingModule } from '@angular/router/testing';
import { Store } from '@ngrx/store';
import { TranslateModule } from '@ngx-translate/core';
import { cold } from 'jasmine-marbles';
import { BehaviorSubject, of as observableOf } from 'rxjs';
import { Observable, BehaviorSubject, of as observableOf } from 'rxjs';
import { SortDirection, SortOptions } from '../../core/cache/models/sort-options.model';
import { CommunityDataService } from '../../core/data/community-data.service';
import { HostWindowService } from '../host-window.service';
@@ -29,7 +29,6 @@ import { Item } from '../../core/shared/item.model';
import { RemoteData } from '../../core/data/remote-data';
import { SearchObjects } from './models/search-objects.model';
import { DSpaceObject } from '../../core/shared/dspace-object.model';
import { Observable } from 'rxjs/internal/Observable';
let comp: SearchComponent;
let fixture: ComponentFixture<SearchComponent>;

View File

@@ -14,7 +14,6 @@ import { MissingTranslationHandler, TranslateModule } from '@ngx-translate/core'
import { NgxPaginationModule } from 'ngx-pagination';
import { FileUploadModule } from 'ng2-file-upload';
import { InfiniteScrollModule } from 'ngx-infinite-scroll';
import { TextMaskModule } from 'angular2-text-mask';
import { MomentModule } from 'ngx-moment';
import { ConfirmationModalComponent } from './confirmation-modal/confirmation-modal.component';
import { ExportMetadataSelectorComponent } from './dso-selector/modal-wrappers/export-metadata-selector/export-metadata-selector.component';
@@ -193,7 +192,6 @@ const MODULES = [
RouterModule,
NouisliderModule,
MomentModule,
TextMaskModule,
DragDropModule,
CdkTreeModule
];

View File

@@ -2466,13 +2466,6 @@ angular-idle-preload@3.0.0:
resolved "https://registry.yarnpkg.com/angular-idle-preload/-/angular-idle-preload-3.0.0.tgz#decace34d9fac1cb00000727a6dc5caafdb84e4d"
integrity sha512-W3P2m2B6MHdt1DVunH6H3VWkAZrG3ZwxGcPjedVvIyRhg/LmMtILoizHSxTXw3fsKIEdAPwGObXGpML9WD1jJA==
angular2-text-mask@9.0.0:
version "9.0.0"
resolved "https://registry.yarnpkg.com/angular2-text-mask/-/angular2-text-mask-9.0.0.tgz#70490170a8096241fc3ce9482ed6a758ddbce8ea"
integrity sha512-iALcnhJPS1zvX48d86rgUgDe/crX6XfhZrXC4Gdlo2/YwZW7u7KJZY6/b3ieSCIWVq/E6p+wDCzeo3E6leRjDA==
dependencies:
text-mask-core "^5.0.0"
angulartics2@^10.0.0:
version "10.1.0"
resolved "https://registry.yarnpkg.com/angulartics2/-/angulartics2-10.1.0.tgz#2988f95f25cf6a8dd630d63ea604eb6643e076c3"
@@ -11732,11 +11725,6 @@ terser@^5.7.0, terser@^5.7.2:
source-map "~0.7.2"
source-map-support "~0.5.20"
text-mask-core@^5.0.0:
version "5.1.2"
resolved "https://registry.yarnpkg.com/text-mask-core/-/text-mask-core-5.1.2.tgz#80dd5ebe04825757e46619e691407a9f8b3c1b6f"
integrity sha1-gN1evgSCV1fkZhnmkUB6n4s8G28=
text-table@0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"