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

Upgrade to Angular 16+ #631

Merged
merged 7 commits into from
May 8, 2024
Merged

Upgrade to Angular 16+ #631

merged 7 commits into from
May 8, 2024

Conversation

PowerKiKi
Copy link
Contributor

@PowerKiKi PowerKiKi commented May 8, 2024

As discussed in #630, except that I went for Angular 16, because Angular 15 is EOL in a few days, and Angular 16 makes it much easier to work with Jest.

Node 18 is the only version that is still supported by node and Angular 15
Because I could not make @angular-builders/jest work and Angular 15 is
EOL in a few days anyway.
@PowerKiKi PowerKiKi changed the title Upgrade to Angular 15+ via ng update Upgrade to Angular 16+ May 8, 2024
@PowerKiKi PowerKiKi marked this pull request as ready for review May 8, 2024 05:39
@Mawi137 Mawi137 merged commit af77b62 into Mawi137:master May 8, 2024
1 check passed
@Mawi137
Copy link
Owner

Mawi137 commented May 8, 2024

Looks good! Thanks for adding the types as well, seems like I have been a little lazy using any :D The xx in event bit is nice to know as well.

@@ -95,7 +96,7 @@ export class CropperPositionService {
cropperPosition.y1 + settings.cropperScaledMinHeight);
break;
case 'center':
const scale = event.scale;
const scale = (event as any).scale;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not too happy about this change. Maybe you can help me understand where this apparently non-standard property comes from ?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It comes from the startPinch method which is used by HammerJS for the pinch zoom.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants