Skip to content

Commit

Permalink
feat: Angular 17 support [#594] (#595)
Browse files Browse the repository at this point in the history
Co-authored-by: vanhorickanthony <anthony@salesflare.com>
  • Loading branch information
vanhorickanthony and vanhorickanthony authored Apr 8, 2024
1 parent 5e88223 commit 0e4e1da
Show file tree
Hide file tree
Showing 6 changed files with 8,544 additions and 972 deletions.
2 changes: 1 addition & 1 deletion example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<head>
<script src="//unpkg.com/angular@1.6.4/angular.js"></script>
<script src="//unpkg.com/reflect-metadata@0.1.13"></script>
<script src="//unpkg.com/zone.js@0.13.0"></script>
<script src="//unpkg.com/zone.js@0.14.4"></script>
</head>
<body>
<!-- the app will fill this ui-view -->
Expand Down
26 changes: 13 additions & 13 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@
]
},
"dependencies": {
"@angular/animations": "^16.0.0",
"@angular/common": "^16.0.0",
"@angular/compiler": "^16.0.0",
"@angular/core": "^16.0.0",
"@angular/platform-browser": "^16.0.0",
"@angular/platform-browser-dynamic": "^16.0.0",
"@angular/upgrade": "^16.0.0",
"@types/angular": "^1.6.39",
"@angular/animations": "^17.2.1",
"@angular/common": "^17.2.1",
"@angular/compiler": "^17.2.1",
"@angular/core": "^17.2.1",
"@angular/platform-browser": "^17.2.1",
"@angular/platform-browser-dynamic": "^17.2.1",
"@angular/upgrade": "^17.2.1",
"@types/angular": "^1.8.9",
"@types/jquery": "^3.2.16",
"@uirouter/angular": "^12.0.0",
"@uirouter/angular": "^13.0.0",
"@uirouter/angular-hybrid": "latest",
"@uirouter/angularjs": "1.0.30",
"@uirouter/angularjs": "1.1.0",
"@uirouter/core": "6.1.0",
"@uirouter/rx": "1.0.0",
"angular": "1.8.3",
"rxjs": "^7.4.0",
"tslib": "1.13.0",
"typescript": "4.9.5",
"zone.js": "0.13.0"
"tslib": "2.6.2",
"typescript": "5.2.2",
"zone.js": "0.14.4"
},
"overrides": {
"@uirouter/core": "6.1.0"
Expand Down
3 changes: 1 addition & 2 deletions example/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,5 @@ platformBrowserDynamic()
url.sync();
}

const ngZone: NgZone = platformRef.injector.get(NgZone);
ngZone.run(startUIRouter);
platformRef.injector.get<NgZone>(NgZone).run(startUIRouter);
});
Loading

0 comments on commit 0e4e1da

Please sign in to comment.