Commit Graph

699 Commits

Author SHA1 Message Date
SWC Bot
50963679b8 chore: Publish 1.7.12-nightly-20240816.2 with swc_core v0.101.2 2024-08-16 12:57:42 +00:00
SWC Bot
509e6036f3 chore: Publish 1.7.12-nightly-20240816.1 with swc_core v0.101.1 2024-08-16 04:53:27 +00:00
SWC Bot
6ea7e13552 chore: Publish 1.7.11 with swc_core `` 2024-08-14 08:44:20 +00:00
SWC Bot
a9c5112728 chore: Publish 1.7.11-nightly-20240814.1 with swc_core `` 2024-08-14 07:43:09 +00:00
magic-akari
55f72687f6
chore(es/typescript): Remove the workaround for wasm-bindgen (#9428)
**Related issue:**

 - https://github.com/rustwasm/wasm-bindgen/pull/4015
2024-08-14 13:36:37 +09:00
renovate[bot]
baf4928ce2
chore(deps): update cargo (patch) (#9405)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [js-sys](https://rustwasm.github.io/wasm-bindgen/)
([source](https://togithub.com/rustwasm/wasm-bindgen/tree/HEAD/crates/js-sys))
| workspace.dependencies | patch | `0.3.69` -> `0.3.70` |
| [wasm-bindgen](https://rustwasm.github.io/)
([source](https://togithub.com/rustwasm/wasm-bindgen)) | dependencies |
patch | `0.2.92` -> `0.2.93` |
| [wasm-bindgen](https://rustwasm.github.io/)
([source](https://togithub.com/rustwasm/wasm-bindgen)) |
workspace.dependencies | patch | `0.2.92` -> `0.2.93` |
| [wasm-bindgen-futures](https://rustwasm.github.io/wasm-bindgen/)
([source](https://togithub.com/rustwasm/wasm-bindgen/tree/HEAD/crates/futures))
| workspace.dependencies | patch | `0.4.42` -> `0.4.43` |

---

### Release Notes

<details>
<summary>rustwasm/wasm-bindgen (wasm-bindgen)</summary>

###
[`v0.2.93`](https://togithub.com/rustwasm/wasm-bindgen/blob/HEAD/CHANGELOG.md#0293)

[Compare
Source](https://togithub.com/rustwasm/wasm-bindgen/compare/0.2.92...0.2.93)

Released 2024-08-13

##### Added

- Allow exporting functions named `default`. Throw error in
wasm-bindgen-cli if --target web and
    an exported symbol is named `default`.
    [#&#8203;3930](https://togithub.com/rustwasm/wasm-bindgen/pull/3930)

- Added support for arbitrary expressions when using
`#[wasm_bindgen(typescript_custom_section)]`.
    [#&#8203;3901](https://togithub.com/rustwasm/wasm-bindgen/pull/3901)

-   Implement `From<NonNull<T>>` for `JsValue`.
    [#&#8203;3877](https://togithub.com/rustwasm/wasm-bindgen/pull/3877)

- Add method `copy_within` for TypedArray, add methods
`find_last`,`find_last_index` for Array.
    [#&#8203;3888](https://togithub.com/rustwasm/wasm-bindgen/pull/3888)

-   Added support for returning `Vec`s from async functions.
    [#&#8203;3630](https://togithub.com/rustwasm/wasm-bindgen/pull/3630)

-   Added bindings for `InputDeviceInfo` and `MediaTrackCapabilities`.
    [#&#8203;3935](https://togithub.com/rustwasm/wasm-bindgen/pull/3935)

-   Add bindings for `RTCRtpReceiver.getCapabilities(DOMString)` method.
    [#&#8203;3941](https://togithub.com/rustwasm/wasm-bindgen/pull/3941)

-   Add bindings for `VisualViewport`.
    [#&#8203;3931](https://togithub.com/rustwasm/wasm-bindgen/pull/3931)

-   Add bindings for `queueMicrotask`.
    [#&#8203;3981](https://togithub.com/rustwasm/wasm-bindgen/pull/3981)

-   Add experimental bindings for User Agent Client Hints API
    [#&#8203;3989](https://togithub.com/rustwasm/wasm-bindgen/pull/3989)

-   Add bindings for `FocusOptions`.
    [#&#8203;3996](https://togithub.com/rustwasm/wasm-bindgen/pull/3996)

-   Add bindings for `RTCRtpReceiver.jitterBufferTarget`.
    [#&#8203;3968](https://togithub.com/rustwasm/wasm-bindgen/pull/3968)

-   Generate getters for all WebIDL dictionary types.
    [#&#8203;3993](https://togithub.com/rustwasm/wasm-bindgen/pull/3993)

- Support for iterable in WebIDL. Gives `entries`, `keys`, `values`
methods for regular and asynchronous, as well as `for_each` for regular,
iterables.
    [#&#8203;3962](https://togithub.com/rustwasm/wasm-bindgen/pull/3962)

-   Add bindings for `HTMLTableCellElement.abbr` and `scope` properties.
    [#&#8203;3972](https://togithub.com/rustwasm/wasm-bindgen/pull/3972)

-   Add WebIDL definitions relating to `Popover API`.
    [#&#8203;3977](https://togithub.com/rustwasm/wasm-bindgen/pull/3977)

- Added the `thread_stack_size` property to the object parameter of
`default()` (`init()`) and `initSync()`, making it possible to set the
stack size of spawned threads. `__wbindgen_thread_destroy()` now has a
third optional parameter for the stack size, the default stack size is
assumed when not passing it. When calling from the thread to be
destroyed, by passing no parameters, the correct stack size is
determined internally.
    [#&#8203;3995](https://togithub.com/rustwasm/wasm-bindgen/pull/3995)

-   Added bindings to the Device Memory API.
    [#&#8203;4011](https://togithub.com/rustwasm/wasm-bindgen/pull/4011)

- Added support for WebIDL records. This added new methods to various
APIs, notably `ClipboardItem()`, `GPUDeviceDescriptor.requiredLimits`
and `Header()`.
    [#&#8203;4030](https://togithub.com/rustwasm/wasm-bindgen/pull/4030)

- Added an official MSRV policy. Library MSRV changes will be
accompanied by a minor version bump. CLI tool MSRV can change with any
version bump.
    [#&#8203;4038](https://togithub.com/rustwasm/wasm-bindgen/pull/4038)

-   Added bindings to `NavigatorOptions.vibrate`.
    [#&#8203;4041](https://togithub.com/rustwasm/wasm-bindgen/pull/4041)

- Added an experimental Node.JS ES module target, in comparison the
current `node` target uses CommonJS, with `--target
experimental-nodejs-module` or when testing with
`wasm_bindgen_test_configure!(run_in_node_experimental)`.
    [#&#8203;4027](https://togithub.com/rustwasm/wasm-bindgen/pull/4027)

- Added importing strings as `JsString` through
`#[wasm_bindgen(thread_local, static_string)] static STRING: JsString =
"a string literal";`.
    [#&#8203;4055](https://togithub.com/rustwasm/wasm-bindgen/pull/4055)

- Added experimental test coverage support for
`wasm-bindgen-test-runner`, see the guide for more information.
    [#&#8203;4060](https://togithub.com/rustwasm/wasm-bindgen/pull/4060)

##### Changed

-   Stabilize Web Share API.
    [#&#8203;3882](https://togithub.com/rustwasm/wasm-bindgen/pull/3882)

- Generate JS bindings for WebIDL dictionary setters instead of using
`Reflect`. This increases the size of the Web API bindings but should be
more performant. Also, importing getters/setters from JS now supports
specifying the JS attribute name as a string, e.g.
`#[wasm_bindgen(method, setter = "x-cdm-codecs")]`.
    [#&#8203;3898](https://togithub.com/rustwasm/wasm-bindgen/pull/3898)

- Greatly improve the performance of sending WebIDL 'string enums'
across the JavaScript boundary by converting the enum variant string
to/from an int.
    [#&#8203;3915](https://togithub.com/rustwasm/wasm-bindgen/pull/3915)

-   Use `table.fill` when appropriate.
    [#&#8203;3446](https://togithub.com/rustwasm/wasm-bindgen/pull/3446)

-   Annotated methods in WebCodecs that throw.
    [#&#8203;3970](https://togithub.com/rustwasm/wasm-bindgen/pull/3970)

-   Update and stabilize the Clipboard API.
    [#&#8203;3992](https://togithub.com/rustwasm/wasm-bindgen/pull/3992)

- Deprecate builder-pattern type setters for WebIDL dictionary types and
introduce non-mutable setters instead.
    [#&#8203;3993](https://togithub.com/rustwasm/wasm-bindgen/pull/3993)

- Allow imported async functions to return any type that can be
converted from a `JsValue`.
    [#&#8203;3919](https://togithub.com/rustwasm/wasm-bindgen/pull/3919)

-   Update Web Authentication API to level 3.
    [#&#8203;4000](https://togithub.com/rustwasm/wasm-bindgen/pull/4000)

- Deprecate `AudioBufferSourceNode.onended` and
`AudioBufferSourceNode.stop()`.
    [#&#8203;4020](https://togithub.com/rustwasm/wasm-bindgen/pull/4020)

-   Increase default stack size for spawned threads from 1 to 2 MB.
    [#&#8203;3995](https://togithub.com/rustwasm/wasm-bindgen/pull/3995)

- Deprecated parameters to `default` (`init`) and `initSync` in favor of
an object.
    [#&#8203;3995](https://togithub.com/rustwasm/wasm-bindgen/pull/3995)

- Update `AbortSignal` and `AbortController` according to the WHATWG
specification.
    [#&#8203;4026](https://togithub.com/rustwasm/wasm-bindgen/pull/4026)

-   Update the Indexed DB API.
    [#&#8203;4027](https://togithub.com/rustwasm/wasm-bindgen/pull/4027)

- `UnwrapThrowExt for Result` now makes use of the required `Debug`
bound to display the error as well.
    [#&#8203;4035](https://togithub.com/rustwasm/wasm-bindgen/pull/4035)
    [#&#8203;4049](https://togithub.com/rustwasm/wasm-bindgen/pull/4049)

- MSRV of CLI tools bumped to v1.76. This does not affect libraries like
`wasm-bindgen`, `js-sys` and `web-sys`!
    [#&#8203;4037](https://togithub.com/rustwasm/wasm-bindgen/pull/4037)

- Filtered files in published crates, significantly reducing the package
size and notably excluding any bash files.
    [#&#8203;4046](https://togithub.com/rustwasm/wasm-bindgen/pull/4046)

- Deprecated `JsStatic` in favor of `#[wasm_bindgen(thread_local)]`,
which creates a `std:🧵:LocalKey`. The syntax is otherwise the
same.
    [#&#8203;4057](https://togithub.com/rustwasm/wasm-bindgen/pull/4057)

- Removed `impl Deref for JsStatic` when compiling with
`cfg(target_feature = "atomics")`, which was unsound.
    [#&#8203;4057](https://togithub.com/rustwasm/wasm-bindgen/pull/4057)

-   Updated the WebGPU WebIDL to the current draft as of 2024-08-05.
    [#&#8203;4062](https://togithub.com/rustwasm/wasm-bindgen/pull/4062)

-   Use object URLs for linked modules without `--split-linked-modules`.
    [#&#8203;4067](https://togithub.com/rustwasm/wasm-bindgen/pull/4067)

##### Fixed

- Copy port from headless test server when using
`WASM_BINDGEN_TEST_ADDRESS`.
    [#&#8203;3873](https://togithub.com/rustwasm/wasm-bindgen/pull/3873)

-   Fix `catch` not being thread-safe.
    [#&#8203;3879](https://togithub.com/rustwasm/wasm-bindgen/pull/3879)

-   Fix MSRV compilation.
    [#&#8203;3927](https://togithub.com/rustwasm/wasm-bindgen/pull/3927)

-   Fix `clippy::empty_docs` lint.
    [#&#8203;3946](https://togithub.com/rustwasm/wasm-bindgen/pull/3946)

- Fix missing target features in module when enabling reference types or
multi-value transformation.
    [#&#8203;3967](https://togithub.com/rustwasm/wasm-bindgen/pull/3967)

-   Fixed Rust values getting GC'd while still borrowed.
    [#&#8203;3940](https://togithub.com/rustwasm/wasm-bindgen/pull/3940)

- Fixed Rust values not getting GC'd if they were created via. a
constructor.
    [#&#8203;3940](https://togithub.com/rustwasm/wasm-bindgen/pull/3940)

-   Fix triggering `clippy::mem_forget` lint in exported structs.
    [#&#8203;3985](https://togithub.com/rustwasm/wasm-bindgen/pull/3985)

-   Fix MDN links to static interface methods.
    [#&#8203;4010](https://togithub.com/rustwasm/wasm-bindgen/pull/4010)

-   Fixed Deno support.
    [#&#8203;3990](https://togithub.com/rustwasm/wasm-bindgen/pull/3990)

-   Fix `__wbindgen_thread_destroy()` ignoring parameters.
    [#&#8203;3995](https://togithub.com/rustwasm/wasm-bindgen/pull/3995)

- Fix `no_std` support and therefor compiling with `default-features =
false`.
    [#&#8203;4005](https://togithub.com/rustwasm/wasm-bindgen/pull/4005)

-   Fix byte order for big-endian platforms.
    [#&#8203;4015](https://togithub.com/rustwasm/wasm-bindgen/pull/4015)

- Allow ex/importing structs, functions and parameters named with raw
identifiers.
    [#&#8203;4025](https://togithub.com/rustwasm/wasm-bindgen/pull/4025)

-   Implement a more reliable way to detect the stack pointer.
    [#&#8203;4036](https://togithub.com/rustwasm/wasm-bindgen/pull/4036)

- `#[track_caller]` is now always applied on `UnwrapThrowExt` methods
when not targetting `wasm32-unknown-unknown`.
    [#&#8203;4042](https://togithub.com/rustwasm/wasm-bindgen/pull/4042)

***

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/swc-project/swc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2024-08-14 00:39:07 +00:00
SWC Bot
f8041e9f30 chore: Publish 1.7.11-nightly-20240813.1 with swc_core v0.100.7 2024-08-13 19:12:57 +00:00
SWC Bot
75e030dd96 chore: Publish 1.7.11-nightly-20240812.2 with swc_core v0.100.6 2024-08-12 05:18:03 +00:00
SWC Bot
bd8ec44f78 chore: Publish 1.7.11-nightly-20240812.1 with swc_core v0.100.6 2024-08-12 04:13:09 +00:00
Marco Ippolito
f4cab32dd2
chore: Mention swc in the license (#9417)
Some checks are pending
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
SWC Bot
7b7eb48a32 chore: Publish 1.7.10 with swc_core v0.100.6 2024-08-09 20:13:03 +00:00
SWC Bot
48b5a58d7d chore: Publish 1.7.10-nightly-20240809.1 with swc_core v0.100.6 2024-08-09 19:15:53 +00:00
magic-akari
165c8facd4
fix(es/typescript): Update ts-strip type definition (#9415)
**Related issue:**
 - Closes #9413
2024-08-10 04:06:29 +09:00
SWC Bot
71784a32bf chore: Publish 1.7.9 with swc_core v0.100.5 2024-08-09 14:06:48 +00:00
SWC Bot
560a4bbd87 chore: Publish 1.7.9-nightly-20240809.1 with swc_core v0.100.5 2024-08-09 13:10:34 +00:00
강동윤 (Donny)
685f68ef87 chore: Add license to bindings 2024-08-09 21:44:12 +09:00
SWC Bot
5375ea0463 chore: Publish 1.7.8 with swc_core v0.100.4 2024-08-09 07:00:57 +00:00
SWC Bot
9f0ee4a126 chore: Publish 1.7.8-nightly-20240809.2 with swc_core v0.100.4 2024-08-09 06:04:07 +00:00
SWC Bot
3819b3e59e chore: Publish 1.7.8-nightly-20240809.1 with swc_core v0.100.3 2024-08-09 04:41:43 +00:00
SWC Bot
708d469187 chore: Publish 1.7.8-nightly-20240808.1 with swc_core v0.100.3 2024-08-08 06:37:16 +00:00
SWC Bot
594091aac0 chore: Publish 1.7.8-nightly-20240807.2 with swc_core v0.100.2 2024-08-07 20:55:27 +00:00
SWC Bot
23b97864f7 chore: Publish 1.7.8-nightly-20240807.1 with swc_core v0.100.2 2024-08-07 03:24:04 +00:00
SWC Bot
5d0e7b6365 chore: Publish 1.7.7-nightly-20240806.4 with swc_core v0.100.1 2024-08-06 10:41:36 +00:00
SWC Bot
b7fb4a3f6d chore: Publish 1.7.7-nightly-20240806.3 with swc_core v0.100.1 2024-08-06 09:52:19 +00:00
SWC Bot
040b7dda60 chore: Publish 1.7.7-nightly-20240806.2 with swc_core v0.100.1 2024-08-06 02:51:28 +00:00
SWC Bot
8e001c6754 chore: Publish 1.7.7-nightly-20240806.1 with swc_core v0.100.1 2024-08-06 00:25:05 +00:00
SWC Bot
745296ba33 chore: Publish 1.7.7-nightly-20240805.1 with swc_core v0.100.0 2024-08-05 13:15:40 +00:00
SWC Bot
4e7bf46d5e chore: Publish 1.7.6 with swc_core v0.99.6 2024-08-04 06:25:15 +00:00
SWC Bot
70587e4388 chore: Publish 1.7.6-nightly-20240804.1 with swc_core v0.99.6 2024-08-04 05:29:39 +00:00
Mikkel ALMONTE--RINGAUD
21ed71668e
chore: Fix Typo (#9371)
Some checks failed
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
2024-08-02 22:04:49 +09:00
SWC Bot
82fbebef24 chore: Publish 1.7.5 with swc_core v0.99.6 2024-08-02 05:38:27 +00:00
SWC Bot
39260219b8 chore: Publish 1.7.5-nightly-20240802.1 with swc_core v0.99.6 2024-08-02 01:23:54 +00:00
SWC Bot
a66a95dd4f chore: Publish 1.7.5-nightly-20240801.4 with swc_core v0.99.6 2024-08-01 13:47:27 +00:00
SWC Bot
547b51ccf0 chore: Publish 1.7.5-nightly-20240801.3 with swc_core v0.99.6 2024-08-01 12:54:59 +00:00
SWC Bot
7c62acb343 chore: Publish 1.7.5-nightly-20240801.2 with swc_core v0.99.5 2024-08-01 10:58:06 +00:00
SWC Bot
d2cb842eaf chore: Publish 1.7.5-nightly-20240801.1 with swc_core v0.99.5 2024-08-01 06:09:53 +00:00
SWC Bot
6d5ac54648 chore: Publish 1.7.4 with swc_core v0.99.5 2024-07-31 15:44:16 +00:00
SWC Bot
c979849177 chore: Publish 1.7.4-nightly-20240731.1 with swc_core v0.99.5 2024-07-31 14:45:42 +00:00
Marco Ippolito
81d7d9d3dd
chore: Typo in typescript_wasm README (#9354) 2024-07-31 06:03:18 +00:00
SWC Bot
d4c3795252 chore: Publish 1.7.4-nightly-20240729.1 with swc_core v0.99.5 2024-07-29 06:01:13 +00:00
SWC Bot
0921bb3e0d chore: Publish 1.7.3 with swc_core v0.99.5 2024-07-27 18:43:56 +00:00
SWC Bot
54e766ed39 chore: Publish 1.7.3-nightly-20240727.1 with swc_core v0.99.5 2024-07-27 17:46:48 +00:00
SWC Bot
8fe5069cb6 chore: Publish 1.7.2 with swc_core v0.99.5 2024-07-25 14:41:18 +00:00
SWC Bot
1cbff975d0 chore: Publish 1.7.2-nightly-20240725.2 with swc_core v0.99.5 2024-07-25 07:41:41 +00:00
Donny/강동윤
66f31c0af4
doc(bindings/wasm): Document supported TypeScript version (#9334)
Some checks are pending
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:**

 - https://github.com/nodejs/amaro/issues/10
2024-07-25 05:04:37 +00:00
SWC Bot
0996f9fbda chore: Publish 1.7.2-nightly-20240725.1 with swc_core v0.99.5 2024-07-25 03:52:20 +00:00
SWC Bot
5bf3fa7f3e chore: Publish 1.7.1 with swc_core v0.99.4 2024-07-24 05:48:25 +00:00
SWC Bot
29bf7a3f44 chore: Publish 1.7.1-nightly-20240724.2 with swc_core v0.99.4 2024-07-24 04:50:43 +00:00
SWC Bot
6902806b92 chore: Publish 1.7.1-nightly-20240724.1 with swc_core v0.99.4 2024-07-24 02:14:41 +00:00
SWC Bot
4e92053ac1 chore: Publish 1.7.1-nightly-20240723.1 with swc_core v0.99.3 2024-07-23 08:02:47 +00:00
SWC Bot
273939f7bd chore: Publish 1.7.1-nightly-20240722.1 with swc_core v0.99.3 2024-07-22 08:02:21 +00:00
SWC Bot
f09b94fb28 chore: Publish 1.7.1-nightly-20240721.2 with swc_core v0.99.3 2024-07-21 12:31:30 +00:00
SWC Bot
7073ca0f11 chore: Publish 1.7.1-nightly-20240721.1 with swc_core v0.99.3 2024-07-21 04:53:04 +00:00
magic-akari
27ca712812
fix(es/typescript): Fix typings (#9301)
Some checks are pending
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
2024-07-21 04:10:35 +09:00
magic-akari
d10cb9ffa2
feat(es/typescript): Add esm build for fast ts strip (#9286)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9283
2024-07-20 12:51:51 +00:00
Donny/강동윤
a417ff4d86
feat(allocator): Add maybe types (#9278) 2024-07-19 13:22:34 +09:00
SWC Bot
a0ff90fbf1 chore: Publish 1.7.0 with swc_core v0.99.1 2024-07-18 03:48:10 +00:00
SWC Bot
c6c24b0318 chore: Publish 1.7.0-nightly-20240718.3 with swc_core v0.99.1 2024-07-18 02:49:12 +00:00
magic-akari
6b1d2ff66b
fix(es/typescript): Workaround wasm-bindgen (#9272)
> [!NOTE]  
> We should remove this if
https://github.com/rustwasm/wasm-bindgen/pull/4015 get mereged.
2024-07-18 11:39:52 +09:00
SWC Bot
880e3a477d chore: Publish 1.7.0-nightly-20240718.2 with swc_core v0.99.1 2024-07-18 01:29:32 +00:00
SWC Bot
451fd6893c chore: Publish 1.7.0-nightly-20240718.1 with swc_core v0.99.0 2024-07-18 00:36:08 +00:00
Donny/강동윤
9c176632b1
refactor(visit): Pre-generate visitor code (#9262)
**Description:**

This would improve compile time by a margin, and this is a refactoring that should be done before applying `swc_allocator::boxed::Box` to ES AST.

This PR removes `swc_visit_macros` because we now use a simple binary to generate code before publishing.


**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9101
2024-07-17 23:00:45 +00:00
SWC Bot
4a87670638 chore: Publish 1.7.0-nightly-20240717.3 with swc_core v0.98.0 2024-07-17 20:15:39 +00:00
SWC Bot
b998a0a765 chore: Publish 1.7.0-nightly-20240717.2 with swc_core v0.98.0 2024-07-17 19:50:04 +00:00
SWC Bot
933a7be7b5 chore: Publish 1.7.0-nightly-20240717.1 with swc_core v0.98.0 2024-07-17 19:40:33 +00:00
SWC Bot
cb0ff00c73 chore: Publish 1.7.0-nightly-20240715.2 with swc_core v0.97.5 2024-07-15 10:17:43 +00:00
SWC Bot
0891fb8aba chore: Publish 1.7.0-nightly-20240715.1 with swc_core v0.97.4 2024-07-15 07:45:23 +00:00
Donny/강동윤
398dc21e07
feat(allocator): Add a cargo feature (#9239)
**Description:**

This PR is a part of https://github.com/swc-project/swc/pull/9230
2024-07-15 15:22:26 +09:00
SWC Bot
e5f6efa97e chore: Publish 1.7.0-nightly-20240714.1 with swc_core v0.97.2 2024-07-14 15:53:09 +00:00
SWC Bot
01dd7559ac chore: Publish 1.7.0-nightly-20240713.1 with swc_core v0.97.1 2024-07-13 08:04:56 +00:00
Donny/강동윤
aa7f791dfd
perf(bindings): Invert Wasm size shrink (#9224)
Reverts swc-project/swc#9191

I'm reverting because it applies even to `@swc/core`. Instead, I used an environment variable.
2024-07-13 05:19:05 +09:00
Donny/강동윤
c40b5b97e4
chore(ci): Fix CI (#9219) 2024-07-12 15:06:53 +09:00
Donny/강동윤
b2491e5461 refactor(common): Drop SyntaxContext from AST nodes (#9175) 2024-07-12 13:13:20 +09:00
magic-akari
3a23b3d120
perf(bindings/wasm): Shrink the size of the wasm file (#9191) 2024-07-10 07:00:11 +00:00
SWC Bot
d5ee84acf2 chore: Publish 1.6.13 with swc_core v0.96.9 2024-07-06 16:31:20 +00:00
SWC Bot
784a3c0773 chore: Publish 1.6.13-nightly-20240706.1 with swc_core v0.96.9 2024-07-06 15:33:06 +00:00
magic-akari
98af5890da
feat(es/typescript): Improve fast TS strip (#9167) 2024-07-06 13:43:46 +00:00
SWC Bot
4dc62950a5 chore: Publish 1.6.12 with swc_core v0.96.7 2024-07-06 11:11:06 +00:00
SWC Bot
b9e13993ed chore: Publish 1.6.12-nightly-20240706.2 with swc_core v0.96.7 2024-07-06 10:14:22 +00:00
SWC Bot
db888c539e chore: Publish 1.6.12-nightly-20240706.1 with swc_core v0.96.7
Some checks are pending
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_plugin_testing os:windows-latest runner:windows-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_timer os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_trace_macro os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_transform_common os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_typescript os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_visit os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_visit_macros os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_x_optimizer os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_xml os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_xml_ast os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_xml_codegen os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_xml_codegen_macros os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_xml_parser os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_xml_visit os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:testing os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:testing_macros os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
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 / List crates (push) Waiting to run
Benchmark / Bench ${{ matrix.crate }} (push) Blocked by required conditions
Benchmark / Process result (push) Blocked by required conditions
Bot / Start (push) Waiting to run
2024-07-06 07:44:52 +00:00
강동윤 (Donny)
3543d36347 chore: Optimize for performance 2024-07-06 15:38:50 +09:00
SWC Bot
6a4c1d379f chore: Publish 1.6.11-nightly-20240706.1 with swc_core v0.96.7 2024-07-06 06:37:43 +00:00
SWC Bot
02441ac045 chore: Publish 1.6.9-nightly-20240706.6 with swc_core v0.96.6 2024-07-06 04:58:14 +00:00
SWC Bot
787d6154c1 chore: Publish 1.6.9-nightly-20240706.5 with swc_core v0.96.6 2024-07-06 03:55:07 +00:00
SWC Bot
e4211ba9b1 chore: Publish 1.6.9-nightly-20240706.4 with swc_core v0.96.6 2024-07-06 02:02:32 +00:00
Donny/강동윤
8b4d4676be
chore(ci): Tag releases from new publish pipeline (#9156) 2024-07-06 10:35:17 +09:00
강동윤 (Donny)
2052b4c857 chore: Publish 1.6.8-nightly-20240706.1 with swc_core v0.96.6 2024-07-06 08:30:53 +09:00
강동윤 (Donny)
1a71601fc2 chore: Publish 1.6.8-nightly-20240705.2 with swc_core v0.96.5
Some checks are pending
CI / Done (push) Blocked by required conditions
Benchmark / List crates (push) Waiting to run
Benchmark / Bench ${{ matrix.crate }} (push) Blocked by required conditions
Benchmark / Process result (push) Blocked by required conditions
Bot / Start (push) Waiting to run
Publish (core) / stable - ${{ matrix.settings.target }} - node@20 (map[build:cargo build --manifest-path ../../bindings/swc_cli/Cargo.toml --release --features plugin --target x86_64-apple-darwin cp ../../bindings/target/x86_64-apple-darwin/release/swc . chmod +x ./swc… (push) Waiting to run
Publish (core) / stable - ${{ matrix.settings.target }} - node@20 (map[build:export CARGO_PROFILE_RELEASE_LTO=false yarn build --target x86_64-pc-windows-msvc cargo build --manifest-path ../../bindings/swc_cli/Cargo.toml --release --features plugin --target x86_64-pc-w… (push) Waiting to run
Publish (core) / stable - ${{ matrix.settings.target }} - node@20 (map[build:export DISABLE_PLUGIN_E2E_TESTS=true export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=256 export CARGO_PROFILE_RELEASE_LTO=false cargo build --manifest-path ../../bindings/swc_cli/Cargo.toml --relea… (push) Waiting to run
Publish (core) / stable - ${{ matrix.settings.target }} - node@20 (map[build:export DISABLE_PLUGIN_E2E_TESTS=true export CARGO_PROFILE_RELEASE_LTO=false cargo build --manifest-path ../../bindings/swc_cli/Cargo.toml --release --target i686-pc-windows-msvc cp ../../bindi… (push) Waiting to run
Publish (core) / stable - ${{ matrix.settings.target }} - node@20 (map[build:export DISABLE_PLUGIN_E2E_TESTS=true yarn napi build --bin swc --release --target armv7-unknown-linux-gnueabihf --manifest-path ../../bindings/swc_cli/Cargo.toml -x --target-dir ../release -o … (push) Waiting to run
Publish (core) / stable - ${{ matrix.settings.target }} - node@20 (map[build:export JEMALLOC_SYS_WITH_LG_PAGE=16 && rustup toolchain install $(cat ../../rust-toolchain) && rustup target add aarch64-unknown-linux-musl && RUSTFLAGS='-C target-feature=+crt-static -C link-… (push) Waiting to run
Publish (core) / stable - ${{ matrix.settings.target }} - node@20 (map[build:set -e && export CARGO_PROFILE_RELEASE_LTO=false && RUSTFLAGS='-C target-feature=+sse2' cargo build --manifest-path ../../bindings/swc_cli/Cargo.toml --release --features plugin --target x86_6… (push) Waiting to run
Publish (core) / stable - ${{ matrix.settings.target }} - node@20 (map[build:set -e && export JEMALLOC_SYS_WITH_LG_PAGE=16 && rustup target add aarch64-unknown-linux-gnu && RUSTFLAGS='' cargo build --manifest-path ../../bindings/swc_cli/Cargo.toml --release --features … (push) Waiting to run
Publish (core) / stable - ${{ matrix.settings.target }} - node@20 (map[build:set -e && unset CC_x86_64_unknown_linux_gnu && unset CC && RUSTFLAGS='-C target-feature=+sse2' cargo build --manifest-path ../../bindings/swc_cli/Cargo.toml --release --features plugin --targe… (push) Waiting to run
Publish (core) / stable - ${{ matrix.settings.target }} - node@20 (map[build:sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*; export CC=$(xcrun -f clang); export CXX=$(xcrun -f clang++); SYSROOT=$(xcrun --sdk macosx --show-sdk-path); export CFLAGS="-isysroot $SY… (push) Waiting to run
Publish (core) / Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }} (18, map[host:macos-latest target:x86_64-apple-darwin]) (push) Blocked by required conditions
Publish (core) / Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }} (18, map[host:windows-latest target:x86_64-pc-windows-msvc]) (push) Blocked by required conditions
Publish (core) / Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }} (20, map[host:macos-latest target:x86_64-apple-darwin]) (push) Blocked by required conditions
Publish (core) / Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }} (20, map[host:windows-latest target:x86_64-pc-windows-msvc]) (push) Blocked by required conditions
Publish (core) / Test bindings on Linux-x64-gnu - node@${{ matrix.node }} (18) (push) Blocked by required conditions
Publish (core) / Test bindings on Linux-x64-gnu - node@${{ matrix.node }} (20) (push) Blocked by required conditions
Publish (core) / Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }} (18) (push) Blocked by required conditions
Publish (core) / Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }} (20) (push) Blocked by required conditions
Publish (core) / Test bindings on aarch64-unknown-linux-musl - node@lts (push) Blocked by required conditions
Publish (core) / Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }} (18) (push) Blocked by required conditions
Publish (core) / Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }} (20) (push) Blocked by required conditions
Publish (core) / npm (push) Blocked by required conditions
Publish (core) / Build - wasm (${{ matrix.settings.npm }}) for node.js (map[crate:binding_core_wasm npm:@swc\/wasm target:nodejs]) (push) Waiting to run
Publish (core) / Build - wasm (${{ matrix.settings.npm }}) for node.js (map[crate:binding_core_wasm npm:@swc\/wasm-web target:web]) (push) Waiting to run
Publish (core) / Build - wasm (${{ matrix.settings.npm }}) for node.js (map[crate:binding_typescript_wasm npm:@swc\/wasm-typescript target:nodejs]) (push) Waiting to run
2024-07-05 21:53:11 +09:00
강동윤 (Donny)
e2ae26bbdd chore: Publish 1.6.8-nightly-20240705.1 with swc_core v0.96.5 2024-07-05 21:47:37 +09:00
Donny/강동윤
9fca4ab555
feat(es/typescript): Improve fast TS stripper (#9152)
**Related issue:**

- https://github.com/swc-project/swc/pull/9143#pullrequestreview-2160591522
2024-07-05 21:34:03 +09:00
Donny/강동윤
b129343c94
feat(es/typescript): Add swc_fast_ts_strip (#9143)
**Description:**

This PR also adds a CI process for each Wasm binding.

---------

Co-authored-by: magic-akari <akari.ccino@gmail.com>
2024-07-05 21:07:24 +09:00
강동윤 (Donny)
3d80173acd chore: Publish 1.6.8-nightly-20240704.3 with swc_core v0.96.3 2024-07-04 18:40:17 +09:00
강동윤 (Donny)
f04365a4cf chore: Publish 1.6.8-nightly-20240704.2 with swc_core v0.96.3 2024-07-04 18:26:07 +09:00
Donny/강동윤
307b6f27a6
refactor(bindings/ts): Inline Wasm file into wasm.js (#9139)
**Description:**

Requested by https://github.com/marco-ippolito/node/pull/2/files#r1665267733
2024-07-04 18:23:55 +09:00
Donny/강동윤
a08bb46ebd
feat(bindings/ts): Add transform/strip-only mode (#9138)
**Description:**

This PR adds `strip-only`/`transform` mode to `@swc/wasm-typescript`.

 - Both mode errors on decorator usages.
 - In `strip-only` mode, `enum` and TypeScript parameter properties are treated as an invalid syntax.
 - In `transform` mode, those are transpiled.
2024-07-04 17:51:01 +09:00
강동윤 (Donny)
178cbdd325 chore: Publish 1.6.8-nightly-20240704.1 with swc_core v0.96.2 2024-07-04 12:43:48 +09:00
강동윤 (Donny)
c12c8d93f3 chore: Publish 1.6.7 with swc_core v0.96.2 2024-07-03 23:10:46 +09:00
강동윤 (Donny)
917cf830fe chore: Publish 1.6.7-nightly-20240703.4 with swc_core v0.96.2 2024-07-03 15:57:49 +09:00
Donny/강동윤
c6d6db3661
test(bindings/ts): Test Wasm binding (#9128)
**Description:**

Now, the build pipeline is running, so I'll look into testing the Wasm binary.
2024-07-03 15:55:24 +09:00
강동윤 (Donny)
e2527fb969 chore: Publish 1.6.7-nightly-20240703.3 with swc_core v0.96.2 2024-07-03 15:39:16 +09:00