Skip to content

Commit 0e4e1da

Browse files
vanhorickanthonyvanhorickanthony
andauthored
feat: Angular 17 support [#594] (#595)
Co-authored-by: vanhorickanthony <[email protected]>
1 parent 5e88223 commit 0e4e1da

File tree

6 files changed

+8544
-972
lines changed

6 files changed

+8544
-972
lines changed

example/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<head>
33
<script src="//unpkg.com/[email protected]/angular.js"></script>
44
<script src="//unpkg.com/[email protected]"></script>
5-
<script src="//unpkg.com/zone.js@0.13.0"></script>
5+
<script src="//unpkg.com/zone.js@0.14.4"></script>
66
</head>
77
<body>
88
<!-- the app will fill this ui-view -->

example/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,25 @@
1414
]
1515
},
1616
"dependencies": {
17-
"@angular/animations": "^16.0.0",
18-
"@angular/common": "^16.0.0",
19-
"@angular/compiler": "^16.0.0",
20-
"@angular/core": "^16.0.0",
21-
"@angular/platform-browser": "^16.0.0",
22-
"@angular/platform-browser-dynamic": "^16.0.0",
23-
"@angular/upgrade": "^16.0.0",
24-
"@types/angular": "^1.6.39",
17+
"@angular/animations": "^17.2.1",
18+
"@angular/common": "^17.2.1",
19+
"@angular/compiler": "^17.2.1",
20+
"@angular/core": "^17.2.1",
21+
"@angular/platform-browser": "^17.2.1",
22+
"@angular/platform-browser-dynamic": "^17.2.1",
23+
"@angular/upgrade": "^17.2.1",
24+
"@types/angular": "^1.8.9",
2525
"@types/jquery": "^3.2.16",
26-
"@uirouter/angular": "^12.0.0",
26+
"@uirouter/angular": "^13.0.0",
2727
"@uirouter/angular-hybrid": "latest",
28-
"@uirouter/angularjs": "1.0.30",
28+
"@uirouter/angularjs": "1.1.0",
2929
"@uirouter/core": "6.1.0",
3030
"@uirouter/rx": "1.0.0",
3131
"angular": "1.8.3",
3232
"rxjs": "^7.4.0",
33-
"tslib": "1.13.0",
34-
"typescript": "4.9.5",
35-
"zone.js": "0.13.0"
33+
"tslib": "2.6.2",
34+
"typescript": "5.2.2",
35+
"zone.js": "0.14.4"
3636
},
3737
"overrides": {
3838
"@uirouter/core": "6.1.0"

example/src/main.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,5 @@ platformBrowserDynamic()
120120
url.sync();
121121
}
122122

123-
const ngZone: NgZone = platformRef.injector.get(NgZone);
124-
ngZone.run(startUIRouter);
123+
platformRef.injector.get<NgZone>(NgZone).run(startUIRouter);
125124
});

0 commit comments

Comments
 (0)