Donny/강동윤
f735108017
fix(es/proposal): Use tsc
version of explicit resource management ( #9585 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/9576
2024-10-17 05:51:43 +00:00
Donny/강동윤
b94a0e1fd2
chore(es): Add helpers ( #9586 )
...
CI / Cargo fmt (push) Has been cancelled
CI / Cargo clippy (push) Has been cancelled
CI / Check license of dependencies (push) Has been cancelled
CI / Check (macos-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / Test wasm (binding_core_wasm) (push) Has been cancelled
CI / Test wasm (binding_minifier_wasm) (push) Has been cancelled
CI / Test wasm (binding_typescript_wasm) (push) Has been cancelled
CI / List crates (push) Has been cancelled
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Has been cancelled
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Has been cancelled
CI / Test with @swc/cli (push) Has been cancelled
CI / Miri (better_scoped_tls) (push) Has been cancelled
CI / Miri (string_enum) (push) Has been cancelled
CI / Miri (swc) (push) Has been cancelled
CI / Miri (swc_bundler) (push) Has been cancelled
CI / Miri (swc_ecma_codegen) (push) Has been cancelled
CI / Miri (swc_ecma_minifier) (push) Has been cancelled
Benchmark / Bench everything (push) Has been cancelled
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Has been cancelled
CI / Done (push) Has been cancelled
**Description:**
This is a part of https://github.com/swc-project/swc/pull/9585 . I extracted this as a separate PR to make WIP small.
2024-09-25 15:58:19 +09:00
강동윤 (Donny)
6bdc4f7e5e
chore: Publish @swc/helpers@v0.5.13
2024-09-03 11:23:25 +09:00
magic-akari
4b85a92170
perf(es/compat): Reimplement constructor transform ( #9519 )
...
CI / Cargo fmt (push) Waiting to run
CI / Cargo clippy (push) Waiting to run
CI / Check license of dependencies (push) Waiting to run
CI / Check (macos-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / Test wasm (binding_core_wasm) (push) Waiting to run
CI / Test wasm (binding_minifier_wasm) (push) Waiting to run
CI / Test wasm (binding_typescript_wasm) (push) Waiting to run
CI / List crates (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Blocked by required conditions
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test with @swc/cli (push) Waiting to run
CI / Miri (better_scoped_tls) (push) Waiting to run
CI / Miri (string_enum) (push) Waiting to run
CI / Miri (swc) (push) Waiting to run
CI / Miri (swc_bundler) (push) Waiting to run
CI / Miri (swc_ecma_codegen) (push) Waiting to run
CI / Miri (swc_ecma_minifier) (push) Waiting to run
CI / Done (push) Blocked by required conditions
Benchmark / Bench everything (push) Waiting to run
**Related issue:**
- Closes #9494
- babel/babel#16194
2024-09-02 19:53:16 +09:00
Marco Ippolito
f4cab32dd2
chore: Mention swc in the license ( #9417 )
...
CI / Cargo fmt (push) Waiting to run
CI / Cargo clippy (push) Waiting to run
CI / Check license of dependencies (push) Waiting to run
CI / Check (macos-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / Test wasm (binding_core_wasm) (push) Waiting to run
CI / Test wasm (binding_minifier_wasm) (push) Waiting to run
CI / Test wasm (binding_typescript_wasm) (push) Waiting to run
CI / List crates (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Blocked by required conditions
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test with @swc/cli (push) Waiting to run
CI / Miri (better_scoped_tls) (push) Waiting to run
CI / Miri (string_enum) (push) Waiting to run
CI / Miri (swc) (push) Waiting to run
CI / Miri (swc_bundler) (push) Waiting to run
CI / Miri (swc_ecma_codegen) (push) Waiting to run
CI / Miri (swc_ecma_minifier) (push) Waiting to run
CI / Done (push) Blocked by required conditions
Benchmark / Bench everything (push) Waiting to run
This change adds mention of SWC in the license otherwise it would be
anonymous (and odd 😄 )
2024-08-11 19:31:43 +09:00
강동윤 (Donny)
9fc089662e
chore: Publish @swc/helpers@v0.5.12
2024-07-13 17:14:27 +09:00
Jiwon Choi
69719c2acb
refactor(es/helpers): Remove unnecessary exports ( #9225 )
...
**Description:**
Helper methods were exporting twice, `_` and it's own function name.
We can map the build script to export `_` as it's own name (filename).
Therefore we export only once as `_`, and map the name on the build
script.
```js
// helpers/_foo.js
function _foo() {
// ...
}
export { _foo as _ }
```
```js
// index.js
// We know the func name will be `_foo` based on the filename.
export { _ as _foo } from '_foo.js'
```
Closes #9203
---------
Co-authored-by: magic-akari <akari.ccino@gmail.com>
2024-07-13 17:13:25 +09:00
강동윤 (Donny)
016fe14164
chore: Publish @swc/helpers@0.5.11
2024-04-25 09:45:46 +09:00
Andrew Enger
438d0b32b6
fix(es/helpers): Remove unused export from _using_ctx.js
( #8891 )
...
**Description:**
Fixes stray export in `_using_ctx.js` inside of `packages/helpers`. This was causing build failures in my project, and I believe it was an errant export from a previous version of the helpers package.
2024-04-25 09:45:03 +09:00
강동윤 (Donny)
b9758f3cc1
chore: Format helpers
2024-04-15 22:03:13 +09:00
강동윤 (Donny)
1af8483290
chore: Publish @swc/helpers@v0.5.10
2024-04-15 22:03:04 +09:00
Donny/강동윤
6d240768b1
fix(es/proposal): Update explicit resource management to match spec ( #8860 )
...
**Related issue:**
- Closes #8853
2024-04-15 15:28:11 +09:00
강동윤 (Donny)
187ceb199a
chore: Format helpers
2024-04-12 16:22:56 +09:00
강동윤 (Donny)
86c22f3ffa
chore: Publish @swc/helpers@0.5.9
2024-04-12 16:22:30 +09:00
sschen86
67bfcf41f5
fix(es/helpers): Add missing helpers ( #8843 )
2024-04-12 16:21:32 +09:00
강동윤 (Donny)
10ece99e0f
chore: Publish @swc/helpers@v0.5.8
2024-03-28 16:50:04 +09:00
sschen86
263ce6e22b
fix(es/helpers): Fix metadata of decorators being undefined
( #8768 )
2024-03-28 07:44:55 +00:00
강동윤 (Donny)
4c83dcc370
chore: Publish @swc/helpers@v0.5.7
2024-03-18 10:46:12 +09:00
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
Donny/강동윤
95fe3dbe93
test: Update @swc/plguin-jest
used for plugin e2e testing ( #8601 )
2024-02-05 19:32:43 +09:00
Donny/강동윤
6c50ff1bec
refactor(bindings): Remove bindings for experimental packages ( #8600 )
...
**Description:**
These packages do not have the same versioning strategy as the main package.
2024-02-05 17:52:22 +09:00
Donny/강동윤
d81596cd2b
fix(es/proposals): Support using using
keyword with functions ( #8574 )
...
**Related issue:**
- Closes #8570
- https://github.com/babel/babel/pull/16150
2024-01-30 15:55:43 +09:00
Alessandro Chitolina
9c029ef095
feat(es/compat): Implement decorator metadata proposal ( #8097 )
...
**Description:**
This PR implements the [decorator
metadata](https://github.com/tc39/proposal-decorator-metadata ) proposal,
that is now at Stage 3.
As the decorator metadata proposal is a small extension of the decorator
proposal and is not possible to compile the metadata without transpiling
decorators, I opted to implement it into the existing decorator
transformer (and helper)
**Related issue:**
- Closes #7957
2023-10-16 20:38:53 +00:00
강동윤 (Donny)
2da1037748
chore: Publish @swc/helpers@v0.5.3
2023-10-07 23:37:18 +09:00
magic-akari
1346528477
fix(es/helpers): Override mistake in _interop_require_wildcard
( #8076 )
...
**Related issue:**
- https://github.com/babel/babel/issues/15995
2023-10-07 14:20:39 +00:00
강동윤 (Donny)
c0625361a1
chore: Fix yarn lockfile
2023-09-30 06:43:54 +09:00
Donny/강동윤
0acbb5f78d
refactor(bindingins): Create @swc/counter
( #7991 )
2023-09-22 23:48:27 +00:00
Donny/강동윤
d15eaf05cd
chore: Publish @swc/helpers@0.5.2
...
- Fixes #7919 .
2023-09-07 16:08:44 +09:00
Donny/강동윤
1ab406cd7a
refactor(es/helpers): Move packages for monorepo ( #7833 )
2023-08-18 04:25:37 +00:00