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

Add IE11 support [SDK-2629] #432

Merged
merged 2 commits into from
Jun 29, 2021
Merged

Add IE11 support [SDK-2629] #432

merged 2 commits into from
Jun 29, 2021

Conversation

Widcket
Copy link
Contributor

@Widcket Widcket commented Jun 29, 2021

Description

This PR configures TS to transpile to ES5 instead of ES6 to support IE11.
The change adds about 8kb to the zipped build (relevant for serverless).

References

Fixes #415

Testing

This change was tested manually on Browserstack, using the kitchen sink sample app on IE11.

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not main

@Widcket Widcket added review:small Small review CH: Added PR is adding feature or functionality labels Jun 29, 2021
@Widcket Widcket requested a review from a team as a code owner June 29, 2021 15:03
@vercel
Copy link

vercel bot commented Jun 29, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/auth0/nextjs-auth0/5bwq93sKxZ5seidamPCwgrAG2QDi
✅ Preview: Canceled

@@ -9,7 +9,7 @@ export class AccessTokenError extends Error {
public code: string;

constructor(code: string, message: string) {
super(message);
super(message) /* istanbul ignore next */;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

With ES5, code coverage gets reported incorrectly when using the super call inside a constructor. See microsoft/TypeScript#13455

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Widcket Widcket changed the title Add IE11 support Add IE11 support [SDK-2629] Jun 29, 2021
@Widcket Widcket merged commit c248efe into main Jun 29, 2021
@adamjmcgrath adamjmcgrath mentioned this pull request Jul 14, 2021
@evansims evansims deleted the feature/ie11-support branch July 5, 2022 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CH: Added PR is adding feature or functionality review:small Small review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Getting a syntax error on Internet Explorer 11
2 participants