swc/packages/helpers
phiresky cd38ef39d6
fix(es/helpers): Add addInitializer to field decorators (#8619)
**Description:**

At some point the spec text of ES decorators was changed to also have
addInitializer for field decorators. This is already used e.g. in mobx.
This simple change removes the special case that was present for field
decorators and seems to fix the issue for me.

This change is backwards compatible since it only affects code that was
broken before.

**Related issue:**

 - Closes #8525
2024-02-14 03:21:58 +00:00
..
esm fix(es/helpers): Add addInitializer to field decorators (#8619) 2024-02-14 03:21:58 +00:00
scripts refactor(bindingins): Create @swc/counter (#7991) 2023-09-22 23:48:27 +00:00
.dprint.json refactor(bindingins): Create @swc/counter (#7991) 2023-09-22 23:48:27 +00:00
.gitignore refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
.npmignore refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
.swcrc refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
LICENSE refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
package.json test: Update @swc/plguin-jest used for plugin e2e testing (#8601) 2024-02-05 19:32:43 +09:00