Skip to content

Bump Babel dependencies, drop class properties plugin#5473

Merged
aduth merged 1 commit intomainfrom
aduth-babel-class-properties
Oct 6, 2021
Merged

Bump Babel dependencies, drop class properties plugin#5473
aduth merged 1 commit intomainfrom
aduth-babel-class-properties

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Oct 6, 2021

Why: Because the class fields proposals are now part of the ES2022 specification, it is no longer necessary to use a plugin to support the syntax.

Example affected code:

static isWebOTPSupported = 'OTPCredential' in window;

**Why**: Because class properties are now part of the ES2022 specification, it is no longer necessary to use a plugin to support the syntax.
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM

@aduth aduth merged commit b480b56 into main Oct 6, 2021
@aduth aduth deleted the aduth-babel-class-properties branch October 6, 2021 16:31
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.

3 participants