Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update the version of angular required #333

Merged
merged 6 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13,787 changes: 7,917 additions & 5,870 deletions package-lock.json

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@senzing/rest-api-client-ng",
"version": "6.1.0",
"version": "7.0.0",
"description": "A package providing restful http interfaces to typescript interfaces to @senzing/senzing-api-server. Utilizes the OpenAPI spec defined in the https://github.com/senzing-garage/senzing-rest-api-specification repository.",
"scripts": {
"ng": "ng",
Expand Down Expand Up @@ -38,23 +38,23 @@
},
"homepage": "https://github.com/senzing-garage/rest-api-client-ng#readme",
"dependencies": {
"@angular/animations": "^15.2.0",
"@angular/common": "^15.2.0",
"@angular/compiler": "^15.2.0",
"@angular/core": "^15.2.0",
"@angular/forms": "^15.2.0",
"@angular/platform-browser": "^15.2.0",
"@angular/platform-browser-dynamic": "^15.2.0",
"@angular/router": "^15.2.0",
"@angular/animations": "^18.2.8",
"@angular/common": "^18.2.8",
"@angular/compiler": "^18.2.8",
"@angular/core": "^18.2.8",
"@angular/forms": "^18.2.8",
"@angular/platform-browser": "^18.2.8",
"@angular/platform-browser-dynamic": "^18.2.8",
"@angular/router": "^18.2.8",
"@compodoc/compodoc": "^1.1.19",
"rxjs": "~7.8.1",
"tslib": "^2.5.0",
"zone.js": "~0.12.0"
"zone.js": "~0.14.10"
},
"devDependencies": {
"@angular-devkit/build-angular": "^15.2.7",
"@angular/cli": "~15.2.7",
"@angular/compiler-cli": "^15.2.0",
"@angular-devkit/build-angular": "^18.2.9",
"@angular/cli": "~18.2.9",
"@angular/compiler-cli": "^18.2.8",
"@types/jasmine": "~4.3.1",
"@types/jasminewd2": "~2.0.10",
"@types/node": "^16.18.10",
Expand All @@ -65,9 +65,9 @@
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0",
"ng-packagr": "^15.2.2",
"ng-packagr": "^18.2.1",
"ts-node": "~10.9.1",
"tslint": "~6.1.0",
"typescript": "~4.9.4"
"typescript": "~5.4.0"
}
}
6 changes: 3 additions & 3 deletions projects/rest-api-client-ng/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@senzing/rest-api-client-ng",
"version": "6.1.0",
"version": "7.0.0-beta.0",
"description": "A package providing restful http interfaces to typescript interfaces to @senzing/senzing-api-server. Utilizes the OpenAPI spec defined in the https://github.com/senzing-garage/senzing-rest-api-specification repository.",
"repository": {
"type": "git",
Expand All @@ -21,8 +21,8 @@
},
"homepage": "https://github.com/senzing-garage/rest-api-client-ng#readme",
"peerDependencies": {
"@angular/common": "^15.0.0",
"@angular/core": "^15.0.0"
"@angular/common": "^18.0.0",
"@angular/core": "^18.0.0"
},
"dependencies": {
"tslib": "~2.5.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ import { TestBed } from '@angular/core/testing';
import { AdminService } from './admin.service';
import { ApiModule } from '../api.module';
import { Configuration } from '../configuration';
import { HttpClientModule } from '@angular/common/http';
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
//
describe('AdminService', () => {
const confFactory = () => {
return new Configuration({ basePath: '/'});
}
beforeEach(() => TestBed.configureTestingModule({
imports: [ApiModule.forRoot( confFactory ), HttpClientModule ]
}));
imports: [ApiModule.forRoot(confFactory)],
providers: [provideHttpClient(withInterceptorsFromDi())]
}));

it('should be created', () => {
const service: AdminService = TestBed.get(AdminService);
Expand Down
3 changes: 1 addition & 2 deletions projects/rest-api-client-ng/src/lib/api/admin.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
/* tslint:disable:no-unused-variable member-ordering */

import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../encoder';

import { Observable } from 'rxjs';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ import { ConfigService } from './config.service';
import { BulkDataService } from './bulkData.service';
import { ApiModule } from '../api.module';
import { Configuration } from '../configuration';
import { HttpClientModule } from '@angular/common/http';
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
//
describe('BulkDataService', () => {
const confFactory = () => {
return new Configuration({ basePath: '/'});
}
beforeEach(() => TestBed.configureTestingModule({
imports: [ApiModule.forRoot( confFactory ), HttpClientModule ]
}));
imports: [ApiModule.forRoot(confFactory)],
providers: [provideHttpClient(withInterceptorsFromDi())]
}));

it('should be created', () => {
const service: BulkDataService = TestBed.get(BulkDataService);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
*//* tslint:disable:no-unused-variable member-ordering */

import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../encoder';

import { Observable } from 'rxjs';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ import { TestBed } from '@angular/core/testing';
import { ConfigService } from './config.service';
import { ApiModule } from '../api.module';
import { Configuration } from '../configuration';
import { HttpClientModule } from '@angular/common/http';
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
//
describe('ConfigService', () => {
const confFactory = () => {
return new Configuration({ basePath: '/'});
}
beforeEach(() => TestBed.configureTestingModule({
imports: [ApiModule.forRoot( confFactory ), HttpClientModule ]
}));
imports: [ApiModule.forRoot(confFactory)],
providers: [provideHttpClient(withInterceptorsFromDi())]
}));

it('should be created', () => {
const service: ConfigService = TestBed.get(ConfigService);
Expand Down
3 changes: 1 addition & 2 deletions projects/rest-api-client-ng/src/lib/api/config.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
*//* tslint:disable:no-unused-variable member-ordering */

import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../encoder';

import { Observable } from 'rxjs';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ import { TestBed } from '@angular/core/testing';
import { EntityDataService } from './entityData.service';
import { ApiModule } from '../api.module';
import { Configuration } from '../configuration';
import { HttpClientModule } from '@angular/common/http';
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
//
describe('EntityDataService', () => {
const confFactory = () => {
return new Configuration({ basePath: '/'});
}
beforeEach(() => TestBed.configureTestingModule({
imports: [ApiModule.forRoot( confFactory ), HttpClientModule ]
}));
imports: [ApiModule.forRoot(confFactory)],
providers: [provideHttpClient(withInterceptorsFromDi())]
}));

it('should be created', () => {
const service: EntityDataService = TestBed.get(EntityDataService);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
*//* tslint:disable:no-unused-variable member-ordering */

import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../encoder';

import { Observable } from 'rxjs';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ import { TestBed } from '@angular/core/testing';
import { EntityGraphService } from './entityGraph.service';
import { ApiModule } from '../api.module';
import { Configuration } from '../configuration';
import { HttpClientModule } from '@angular/common/http';
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
//
describe('EntityGraphService', () => {
const confFactory = () => {
return new Configuration({ basePath: '/'});
}
beforeEach(() => TestBed.configureTestingModule({
imports: [ApiModule.forRoot( confFactory ), HttpClientModule ]
}));
imports: [ApiModule.forRoot(confFactory)],
providers: [provideHttpClient(withInterceptorsFromDi())]
}));

it('should be created', () => {
const service: EntityGraphService = TestBed.get(EntityGraphService);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
*//* tslint:disable:no-unused-variable member-ordering */

import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../encoder';

import { Observable } from 'rxjs';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
*//* tslint:disable:no-unused-variable member-ordering */

import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../encoder';

import { Observable } from 'rxjs';
Expand Down
4 changes: 2 additions & 2 deletions projects/rest-api-client-ng/src/test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This file is required by karma.conf.js and loads recursively all the .spec and framework files

import 'zone.js/dist/zone';
import 'zone.js/dist/zone-testing';
import 'zone.js';
import 'zone.js/testing';
import { getTestBed } from '@angular/core/testing';
import {
BrowserDynamicTestingModule,
Expand Down
Loading