mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-10472] upgrade apollo libraries to Angular 14 compatible versions (#7799)
* upgrade apollo libraries * fix unit tests * Empty-Commit
This commit is contained in:
@@ -34,6 +34,7 @@ import {
|
|||||||
import { PeopleCloudModule } from './people/people-cloud.module';
|
import { PeopleCloudModule } from './people/people-cloud.module';
|
||||||
import { CloudFormRenderingService } from './form/components/cloud-form-rendering.service';
|
import { CloudFormRenderingService } from './form/components/cloud-form-rendering.service';
|
||||||
import { ProcessServicesCloudPipeModule } from './pipes/process-services-cloud-pipe.module';
|
import { ProcessServicesCloudPipeModule } from './pipes/process-services-cloud-pipe.module';
|
||||||
|
import { ApolloModule } from 'apollo-angular';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
@@ -45,7 +46,8 @@ import { ProcessServicesCloudPipeModule } from './pipes/process-services-cloud-p
|
|||||||
PeopleCloudModule,
|
PeopleCloudModule,
|
||||||
FormCloudModule,
|
FormCloudModule,
|
||||||
TaskFormModule,
|
TaskFormModule,
|
||||||
ProcessServicesCloudPipeModule
|
ProcessServicesCloudPipeModule,
|
||||||
|
ApolloModule
|
||||||
],
|
],
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
|
@@ -37,6 +37,7 @@ import { NotificationCloudService } from '../../../services/notification-cloud.s
|
|||||||
import { TaskCloudEngineEvent } from './../../../models/engine-event-cloud.model';
|
import { TaskCloudEngineEvent } from './../../../models/engine-event-cloud.model';
|
||||||
import { ProcessServiceCloudTestingModule } from '../../../testing/process-service-cloud.testing.module';
|
import { ProcessServiceCloudTestingModule } from '../../../testing/process-service-cloud.testing.module';
|
||||||
import { IdentityUserService } from '../../../people/services/identity-user.service';
|
import { IdentityUserService } from '../../../people/services/identity-user.service';
|
||||||
|
import { ApolloModule } from 'apollo-angular';
|
||||||
|
|
||||||
describe('TaskFilterCloudService', () => {
|
describe('TaskFilterCloudService', () => {
|
||||||
let service: TaskFilterCloudService;
|
let service: TaskFilterCloudService;
|
||||||
@@ -52,7 +53,8 @@ describe('TaskFilterCloudService', () => {
|
|||||||
setupTestBed({
|
setupTestBed({
|
||||||
imports: [
|
imports: [
|
||||||
HttpClientTestingModule,
|
HttpClientTestingModule,
|
||||||
ProcessServiceCloudTestingModule
|
ProcessServiceCloudTestingModule,
|
||||||
|
ApolloModule
|
||||||
],
|
],
|
||||||
providers: [
|
providers: [
|
||||||
{ provide: TASK_FILTERS_SERVICE_TOKEN, useClass: UserPreferenceCloudService }
|
{ provide: TASK_FILTERS_SERVICE_TOKEN, useClass: UserPreferenceCloudService }
|
||||||
@@ -231,7 +233,7 @@ describe('Inject [LocalPreferenceCloudService] into the TaskFilterCloudService',
|
|||||||
const identityUserMock = { username: 'fakeusername', firstName: 'fake-identity-first-name', lastName: 'fake-identity-last-name', email: 'fakeIdentity@email.com' };
|
const identityUserMock = { username: 'fakeusername', firstName: 'fake-identity-first-name', lastName: 'fake-identity-last-name', email: 'fakeIdentity@email.com' };
|
||||||
|
|
||||||
setupTestBed({
|
setupTestBed({
|
||||||
imports: [ HttpClientTestingModule ],
|
imports: [ HttpClientTestingModule, ApolloModule ],
|
||||||
providers: [
|
providers: [
|
||||||
{ provide: TASK_FILTERS_SERVICE_TOKEN, useClass: LocalPreferenceCloudService }
|
{ provide: TASK_FILTERS_SERVICE_TOKEN, useClass: LocalPreferenceCloudService }
|
||||||
]
|
]
|
||||||
|
18
package-lock.json
generated
18
package-lock.json
generated
@@ -23842,13 +23842,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"apollo-angular": {
|
"apollo-angular": {
|
||||||
"version": "2.6.0",
|
"version": "4.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/apollo-angular/-/apollo-angular-2.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/apollo-angular/-/apollo-angular-4.0.1.tgz",
|
||||||
"integrity": "sha512-PxlOlYbJB39mKAIMX24twrrM+1qm+o7OIdvtiJJB4MSlDFdlKR6yCrZdxpvoHFRoK1vWl23g4GiLrf8bNyJuyQ==",
|
"integrity": "sha512-hnM2zbYORcqwLI8YBVAVvOuCIc3a6rDGUFlzB9pHudaoqYT5NkP8L/2IAGnMFQ1izzcLemcISw02yiEIf0WO3A==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@graphql-typed-document-node/core": "^3.1.0",
|
|
||||||
"extract-files": "^9.0.0",
|
|
||||||
"semver": "^7.0.0",
|
|
||||||
"tslib": "^2.0.0"
|
"tslib": "^2.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -29524,7 +29521,8 @@
|
|||||||
"extract-files": {
|
"extract-files": {
|
||||||
"version": "9.0.0",
|
"version": "9.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/extract-files/-/extract-files-9.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/extract-files/-/extract-files-9.0.0.tgz",
|
||||||
"integrity": "sha512-CvdFfHkC95B4bBBk36hcEmvdR2awOdhhVUYH6S/zrVj3477zven/fJMYg7121h4T1xHZC+tetUpubpAhxwI7hQ=="
|
"integrity": "sha512-CvdFfHkC95B4bBBk36hcEmvdR2awOdhhVUYH6S/zrVj3477zven/fJMYg7121h4T1xHZC+tetUpubpAhxwI7hQ==",
|
||||||
|
"dev": true
|
||||||
},
|
},
|
||||||
"extsprintf": {
|
"extsprintf": {
|
||||||
"version": "1.3.0",
|
"version": "1.3.0",
|
||||||
@@ -30517,9 +30515,9 @@
|
|||||||
"integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA=="
|
"integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA=="
|
||||||
},
|
},
|
||||||
"graphql": {
|
"graphql": {
|
||||||
"version": "15.8.0",
|
"version": "16.6.0",
|
||||||
"resolved": "https://registry.npmjs.org/graphql/-/graphql-15.8.0.tgz",
|
"resolved": "https://registry.npmjs.org/graphql/-/graphql-16.6.0.tgz",
|
||||||
"integrity": "sha512-5gghUc24tP9HRznNpV2+FIoq3xKkj5dTQqf4v0CpdPbFVwFkWoxOM+o+2OC9ZSvjEMTjfmG9QT+gcvggTwW1zw==",
|
"integrity": "sha512-KPIBPDlW7NxrbT/eh4qPXz5FiFdL5UbaA0XUNz2Rp3Z3hqBSkbj0GVjwFDztsWVauZUWsbKHgMg++sk8UX0bkw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"graphql-request": {
|
"graphql-request": {
|
||||||
|
@@ -91,7 +91,7 @@
|
|||||||
"@mat-datetimepicker/moment": "^9.0.68",
|
"@mat-datetimepicker/moment": "^9.0.68",
|
||||||
"@ngx-translate/core": "^14.0.0",
|
"@ngx-translate/core": "^14.0.0",
|
||||||
"@storybook/core-server": "6.4.22",
|
"@storybook/core-server": "6.4.22",
|
||||||
"apollo-angular": "^2.6.0",
|
"apollo-angular": "^4.0.1",
|
||||||
"chart.js": "2.9.4",
|
"chart.js": "2.9.4",
|
||||||
"cropperjs": "1.5.12",
|
"cropperjs": "1.5.12",
|
||||||
"custom-event-polyfill": "^1.0.7",
|
"custom-event-polyfill": "^1.0.7",
|
||||||
@@ -157,7 +157,7 @@
|
|||||||
"eslint-plugin-rxjs": "^5.0.2",
|
"eslint-plugin-rxjs": "^5.0.2",
|
||||||
"eslint-plugin-unicorn": "^43.0.1",
|
"eslint-plugin-unicorn": "^43.0.1",
|
||||||
"github-api": "^3.4.0",
|
"github-api": "^3.4.0",
|
||||||
"graphql": "^15.8.0",
|
"graphql": "^16.6.0",
|
||||||
"graphql-request": "^3.7.0",
|
"graphql-request": "^3.7.0",
|
||||||
"husky": "^7.0.4",
|
"husky": "^7.0.4",
|
||||||
"jasmine-ajax": "4.0.0",
|
"jasmine-ajax": "4.0.0",
|
||||||
|
Reference in New Issue
Block a user