Skip to content

Commit 91e247e

Browse files
committed
chore(deps): @angular/* ^14 support
1 parent 734623c commit 91e247e

File tree

8 files changed

+2317
-2086
lines changed

8 files changed

+2317
-2086
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## v12.0.0
4+
- Added angular 14 support.
5+
36
## v11.0.1
47
- RxJS 6 support is now **really** removed. I should have tagged a new major, but that was announced in `v11.0.0` but forgotten, sorry!
58

README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,19 @@ The HTTP interceptor listens to all HTTP requests and shows a spinner / loader i
2929

3030
## Angular Compatibility
3131

32-
| ng-http-loader | Angular |
33-
| -------------- | ------------------ |
34-
| >=0.1.0 <0.4.0 | ^4.3.0 |
35-
| >=0.4.0 <1.0.0 | ^5.0.0 |
36-
| >=1.0.0 <3.2.0 | ^6.0.0 |
37-
| >=3.2.0 <5.1.0 | ^7.0.0 |
38-
| >=6.0.0 <7.0.0 | ^8.0.0 |
39-
| >=7.0.0 <8.0.0 | ^9.0.0 |
40-
| >=8.0.0 <9.0.0 | ^10.0.0 |
41-
| >=9.0.0 | ^11.0.0 |
42-
| >=10.0.0 | ^12.0.0 |
43-
| >=11.0.0 | ^13.0.0 |
32+
| ng-http-loader | Angular |
33+
|----------------|---------|
34+
| >=0.1.0 <0.4.0 | ^4.3.0 |
35+
| >=0.4.0 <1.0.0 | ^5.0.0 |
36+
| >=1.0.0 <3.2.0 | ^6.0.0 |
37+
| >=3.2.0 <5.1.0 | ^7.0.0 |
38+
| >=6.0.0 <7.0.0 | ^8.0.0 |
39+
| >=7.0.0 <8.0.0 | ^9.0.0 |
40+
| >=8.0.0 <9.0.0 | ^10.0.0 |
41+
| >=9.0.0 | ^11.0.0 |
42+
| >=10.0.0 | ^12.0.0 |
43+
| >=11.0.0 | ^13.0.0 |
44+
| >=12.0.0 | ^14.0.0 |
4445

4546
If you experience errors like below, **please double check the version you use.**
4647

angular.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@
5151
}
5252
}
5353
},
54-
"defaultProject": "ng-http-loader",
5554
"cli": {
56-
"packageManager": "yarn",
57-
"defaultCollection": "@angular-eslint/schematics"
55+
"schematicCollections": [
56+
"@angular-eslint/schematics"
57+
],
58+
"packageManager": "yarn"
5859
}
5960
}

package.json

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"ng11",
3333
"ng12",
3434
"ng13",
35+
"ng14",
3536
"loader",
3637
"progressbar",
3738
"spinner",
@@ -46,39 +47,39 @@
4647
"tslib": "^2.3.0"
4748
},
4849
"peerDependencies": {
49-
"rxjs": "^7.4.0"
50+
"rxjs": "^7.5.0"
5051
},
5152
"devDependencies": {
52-
"@angular-devkit/build-angular": "^13.0.0",
53+
"@angular-devkit/build-angular": "^14.0.0",
5354
"@angular-eslint/builder": "^13.0.0",
54-
"@angular-eslint/eslint-plugin": "^13.0.0",
55-
"@angular-eslint/eslint-plugin-template": "^13.0.0",
56-
"@angular-eslint/schematics": "^13.0.0",
57-
"@angular-eslint/template-parser": "^13.0.0",
58-
"@angular/cli": "^13.0.0",
59-
"@angular/common": "^13.0.0",
60-
"@angular/compiler": "^13.0.0",
61-
"@angular/compiler-cli": "^13.0.0",
62-
"@angular/core": "^13.0.0",
63-
"@angular/platform-browser": "^13.0.0",
64-
"@angular/platform-browser-dynamic": "^13.0.0",
65-
"@types/jasmine": "~3.10.0",
66-
"@types/node": "^12.11.1",
55+
"@angular-eslint/eslint-plugin": "14.0.0-alpha.0",
56+
"@angular-eslint/eslint-plugin-template": "14.0.0-alpha.0",
57+
"@angular-eslint/schematics": "14.0.0-alpha.0",
58+
"@angular-eslint/template-parser": "14.0.0-alpha.0",
59+
"@angular/cli": "^14.0.0",
60+
"@angular/common": "^14.0.0",
61+
"@angular/compiler": "^14.0.0",
62+
"@angular/compiler-cli": "^14.0.0",
63+
"@angular/core": "^14.0.0",
64+
"@angular/platform-browser": "^14.0.0",
65+
"@angular/platform-browser-dynamic": "^14.0.0",
66+
"@types/jasmine": "~4.0.0",
67+
"@types/node": "^16.0.0",
6768
"@typescript-eslint/eslint-plugin": "^5.4.0",
6869
"@typescript-eslint/parser": "^5.4.0",
6970
"eslint": "^8.3.0",
7071
"eslint-plugin-rxjs": "^4.0.1",
71-
"jasmine-core": "~3.10.0",
72-
"karma": "~6.3.2",
72+
"jasmine-core": "~4.1.0",
73+
"karma": "~6.3.0",
7374
"karma-chrome-launcher": "~3.1.0",
74-
"karma-coverage": "~2.1.0",
75+
"karma-coverage": "2.2.0",
7576
"karma-firefox-launcher": "^1.1.0",
7677
"karma-jasmine": "~4.0.0",
7778
"karma-jasmine-html-reporter": "~1.7.0",
78-
"ng-packagr": "^13.0.0",
79-
"puppeteer": "^13.0.0",
80-
"rxjs": "^7.4.0",
81-
"typescript": "~4.5.2",
79+
"ng-packagr": "^14.0.0",
80+
"puppeteer": "^14.0.0",
81+
"rxjs": "^7.5.0",
82+
"typescript": "~4.7.2",
8283
"zone.js": "~0.11.4"
8384
}
8485
}

src/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import {
99

1010
declare const require: {
1111
context(path: string, deep?: boolean, filter?: RegExp): {
12-
keys(): string[];
1312
<T>(id: string): T;
13+
keys(): string[];
1414
};
1515
};
1616

@@ -23,4 +23,4 @@ getTestBed().initTestEnvironment(
2323
// Then we find all the tests.
2424
const context = require.context('./test/', true, /\.spec\.ts$/);
2525
// And load the modules.
26-
context.keys().map(context);
26+
context.keys().forEach(context);

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"experimentalDecorators": true,
1616
"moduleResolution": "node",
1717
"importHelpers": true,
18-
"target": "es2017",
18+
"target": "es2020",
1919
"module": "es2020",
2020
"lib": [
2121
"es2020",

tsconfig.lib.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"extends": "./tsconfig.json",
44
"compilerOptions": {
55
"outDir": "./out-tsc/lib",
6-
"target": "es2015",
76
"declaration": true,
87
"declarationMap": true,
98
"inlineSources": true,

0 commit comments

Comments
 (0)