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

Implementation Status #476

Open
3 of 6 tasks
jkrems opened this issue Jul 20, 2022 · 13 comments
Open
3 of 6 tasks

Implementation Status #476

jkrems opened this issue Jul 20, 2022 · 13 comments
Labels

Comments

@jkrems
Copy link

jkrems commented Jul 20, 2022

I checked some of the engine/tool issue trackers and couldn't find any clear signal on what the status of the proposal is when it comes to stage 3 implementations. What I found so far:

Does that reflect the current status?

@nicolo-ribaudo
Copy link
Member

I couldn't find a signal from Babel.

https://babeljs.io/blog/2022/02/02/7.17.0

@jkrems
Copy link
Author

jkrems commented Jul 20, 2022

@nicolo-ribaudo Sorry, should've been more clear. I was thinking specifically about the proposal as it's now in stage 3. E.g. isPrivate is now private in the descriptor but (afaict) babel doesn't support this revision yet and I couldn't find an issue to implement it (see current test that still uses isPrivate).

@nicolo-ribaudo
Copy link
Member

Have the isPrivate->private and isStatic->static changes already been presented to the committee for consensus?

@nicolo-ribaudo
Copy link
Member

Ok, yes: babel/proposals#81 (comment)

@rektide
Copy link

rektide commented Sep 6, 2022

Have the isPrivate->private and isStatic->static changes already been presented to the committee for consensus?

@nicolo-ribaudo #467 was merged, resolving.

@trusktr
Copy link
Contributor

trusktr commented Sep 12, 2022

For the stumblers, stage 3 decorators landed in Babel on Sep 5th: https://babeljs.io/blog/2022/09/05/7.19.0 🎉 Here's a small guide on how to use them in TypeScript: microsoft/TypeScript#48885 (comment)

@JeanMeche
Copy link

JeanMeche commented Oct 25, 2022

It appears the new decorators won't land on TS before 5.0

@jkrems
Copy link
Author

jkrems commented Oct 25, 2022

Thanks, updated the overview item to "after 4.9".

@woody-li
Copy link

https://bugzilla.mozilla.org/show_bug.cgi?id=1435869

@pzuraq pzuraq mentioned this issue Feb 2, 2024
@pzuraq pzuraq pinned this issue Feb 2, 2024
@pzuraq pzuraq changed the title Implementation status Implementation Status Feb 2, 2024
@pzuraq pzuraq added the status label Feb 2, 2024
@NullVoxPopuli
Copy link

Anyone know if Chrome or Safari have started implementation?

@justinfagnani
Copy link

Chrome seems to be making progress on auto accessors: https://issues.chromium.org/issues/42202709

@jkrems
Copy link
Author

jkrems commented Sep 4, 2024

Updated the description with updated status for TypeScript and V8/Chrome. Also made it easier to skim for shipping versions and turned it into a checklist.

@transitive-bullshit
Copy link

esbuild also includes support for decorators: https://github.com/evanw/esbuild/releases/tag/v0.21.0 and decorator metadata: https://github.com/evanw/esbuild/releases/tag/v0.21.3

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

No branches or pull requests

10 participants