SWC Bot
b4dbe0be06
chore: Bump crates
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_plugin_runner os:windows-latest runner:windows-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_plugin_testing os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
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 / Bench everything (push) Waiting to run
Bot / Start (push) Waiting to run
2024-07-11 16:17:45 +00:00
Donny/강동윤
92879b14fe
perf(es/visit): Introduce standard_only_*
macros ( #9207 )
...
**Description:**
These macros are optimization hint on release builds.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/9204
2024-07-11 16:16:05 +00:00
SWC Bot
bcfc650dd5
chore: Bump crates
2024-07-11 13:58:54 +00:00
Donny/강동윤
efb8636834
fix(es/modules): Fix lint issue ( #9206 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/9182
2024-07-11 22:57:04 +09:00
강동윤 (Donny)
47a79485d9
chore: Revert bump crates
...
This reverts commit 97b92aa6ff
.
2024-06-29 18:28:54 +09:00
SWC Bot
97b92aa6ff
chore: Bump crates
2024-06-29 09:26:51 +00:00
강동윤 (Donny)
56f03675bc
chore: Publish crates for EsSyntax
fix
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
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 Linux-x64-gnu - node@${{ matrix.node }} (18) (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 armv7-unknown-linux-gnueabihf - node@${{ matrix.node }} (18) (push) Blocked by required conditions
Publish (core) / npm (push) Blocked by required conditions
Publish (core) / Build - wasm for node.js (push) Waiting to run
Publish (core) / Build - wasm for web (push) Waiting to run
2024-06-25 12:40:41 +09:00
Donny/강동윤
5520b236dd
refactor(es/parser): Rename EsConfig
and TsConfig
( #9094 )
...
**Description:**
`EsConfig` and `TsConfig` sound like a general configuration for the whole language, while actually it's only about parsing.
To avoid a breaking change, I created type aliases that will work without changing the code, while warning the users.
**Related issue:**
- Closes #9089 .
2024-06-22 01:56:37 +09:00
SWC Bot
10eab94d81
chore: Bump crates
2024-06-14 14:47:30 +00:00
Donny/강동윤
e856478060
refactor(es/utils): Refine some APIs ( #9049 )
...
**Description:**
This PR
- moves some APIs into `swc_ecma_ast`.
- removes needless types.
**BREAKING CHANGE:**
- `swc_ecma_utils::IdentExt::private` => `swc_ecma_ast::Ident::into_private`.
- `swc_ecma_utils::IdentExt::prefix` => `swc_ecma_ast::Ident::with_prefix`.
- `swc_ecma_utils::undefined` => `swc_ecma_ast::Expr::undefined`.
2024-06-14 21:53:16 +09:00
SWC Bot
931f752d54
chore: Bump crates
2024-06-14 05:24:10 +00:00
SWC Bot
2c27925f34
chore: Bump crates
2024-05-08 06:59:23 +00:00
Donny/강동윤
c536d2ad6f
fix(es/module): Resolve .jsx
imports fully ( #8936 )
...
**Related issue:**
- Closes #8935
2024-05-08 15:57:50 +09:00
강동윤 (Donny)
7ac3b0a7dc
chore: Bump crates
2024-04-29 09:56:27 +09:00
magic-akari
cc1432a12f
chore: Apply cargo autoinherit
( #8902 )
2024-04-29 00:54:45 +00:00
SWC Bot
f9106a50c0
chore: Bump crates
2024-04-24 00:37:30 +00:00
SWC Bot
e63b39bbcd
chore: Bump crates
2024-04-08 16:06:33 +00:00
Donny/강동윤
e1f770463d
fix(es/module): Respect module.resolveFully
in more cases ( #8820 )
...
**Related issue:**
- Closes #8742
2024-04-08 16:04:15 +00:00
SWC Bot
d1eb7b8136
chore: Bump crates
2024-04-04 06:12:30 +00:00
Donny/강동윤
207582ff25
chore(deps): Update dependencies ( #8810 )
2024-04-04 15:07:49 +09:00
Donny/강동윤
4961bb055d
fix(es/module): Fix jsc.paths
with resolveFully
( #8784 )
...
**Related issue:**
- Closes #8782
2024-03-28 02:42:07 +00:00
Donny/강동윤
e2c6db5226
fix(es/module): Fix interop of jsc.paths
with symlinks ( #8757 )
...
**Related issue:**
- Closes #8667
2024-03-18 05:38:31 +00:00
SWC Bot
82d1b8e49a
chore: Bump crates
2024-03-17 13:04:54 +00:00
SWC Bot
1ec92dff2f
chore: Bump crates
2024-03-14 03:24:06 +00:00
Donny/강동윤
f988b66e1f
fix(es/module): Fix regression of resolving relative modules ( #8748 )
...
**Description:**
- x-ref (vercel slack):
https://vercel.slack.com/archives/C03S8ED1DKM/p1710371667695459?thread_ts=1710362018.271789&cid=C03S8ED1DKM
**Related issue (if exists):**
2024-03-14 12:22:28 +09:00
SWC Bot
31ecd2a6c1
chore: Bump crates
2024-03-14 01:32:37 +00:00
SWC Bot
6e672aaf9a
chore: Bump crates
2024-03-13 03:08:09 +00:00
SWC Bot
e46dd5a208
chore: Bump crates
2024-03-12 06:00:28 +00:00
SWC Bot
2ff26e05d2
chore: Bump crates
2024-03-11 04:29:01 +00:00
LongYinan
e3acd1476c
refactor(es): Prepare wasm32-wasi-preview1-threads
target support ( #8724 )
2024-03-11 13:27:29 +09:00
Donny/강동윤
d37125fb8e
fix(es/module): Fix relativeness check for jsc.paths
( #8702 )
...
**Related issue:**
- Closes #8701
2024-03-06 17:23:38 +09:00
SWC Bot
90aaabaf15
chore: Bump crates
2024-03-06 04:41:56 +00:00
SWC Bot
98aa9824d5
chore: Bump crates
2024-03-04 10:08:47 +00:00
Donny/강동윤
761365eb56
fix(es/module): Allow FileName::Anon
from node resolver ( #8686 )
...
**Related issue:**
- Closes #8674
2024-03-04 09:36:17 +00:00
SWC Bot
7a5c7df195
chore: Bump crates
2024-03-04 07:48:09 +00:00
SWC Bot
5ae0a2f858
chore: Bump crates
2024-03-04 01:49:57 +00:00
SWC Bot
5dc40d347b
chore: Bump crates
2024-03-02 10:24:52 +00:00
Donny/강동윤
1bc4cb7c05
fix(es/modules): Do not call Path::parent()
for FileName::Anon
( #8662 )
...
**Related issue:**
- Closes #8660
2024-02-26 07:01:32 +00:00
SWC Bot
1603569a75
chore: Bump crates
2024-02-26 02:49:45 +00:00
SWC Bot
4154cfa8cb
chore: Bump crates
2024-02-23 00:15:59 +00:00
SWC Bot
7c5113b6a9
chore: Bump crates
2024-02-22 02:56:23 +00:00
SWC Bot
359ae7a16a
chore: Bump crates
2024-02-21 10:22:20 +00:00
SWC Bot
5cab610db1
chore: Bump crates
2024-02-20 01:27:25 +00:00
SWC Bot
463cd3bf4c
chore: Bump crates
2024-02-20 00:55:31 +00:00
SWC Bot
d7434beaf8
chore: Bump crates
2024-02-19 03:15:59 +00:00
SWC Bot
84c05b5eec
chore: Bump crates
2024-02-14 03:23:28 +00:00
SWC Bot
6cca7cbfe8
chore: Bump crates
2024-02-13 05:14:07 +00:00
SWC Bot
52b6fd8808
chore: Bump crates
2024-02-13 04:34:24 +00:00
Donny/강동윤
6726b631e6
build(cargo): Update rustc
to nightly-2024-02-06
( #8618 )
2024-02-13 13:32:49 +09:00
SWC Bot
906cca43c1
chore: Bump crates
2024-02-08 01:51:17 +00:00
SWC Bot
f7baf240ba
chore: Bump crates
2024-02-07 07:25:27 +00:00
SWC Bot
7a3b5545cd
chore: Bump crates
2024-02-06 02:47:51 +00:00
SWC Bot
3ee12cf56d
chore: Bump crates
2024-02-06 02:12:03 +00:00
SWC Bot
48524e2ae8
chore: Bump crates
2024-02-05 06:34:30 +00:00
Donny/강동윤
7f2a2c1e40
refactor(es/ast): Improve type definitions of patterns ( #8532 )
...
**Description:**
- Copy `AssignmentTarget` from `oxc`.
- Use `BindingIdentifier` in more places.
**Related issue:**
- Closes #8026
2024-02-05 15:32:52 +09:00
SWC Bot
47e7b89a1b
chore: Bump crates
2024-02-04 06:19:41 +00:00
magic-akari
2a70a6b1d4
fix(es/typescript): Handle exported JSX binding name in TypeScript namespace ( #8596 )
...
**Related issue:**
- Closes #8594
2024-02-03 02:10:21 +00:00
SWC Bot
ef21736584
chore: Bump crates
2024-02-02 01:19:28 +00:00
SWC Bot
429c1bae44
chore: Bump crates
2024-01-31 08:50:09 +00:00
SWC Bot
f5ee6d1d7f
chore: Bump crates
2024-01-30 04:42:21 +00:00
SWC Bot
ba1da1de3c
chore: Bump crates
2024-01-29 10:27:13 +00:00
SWC Bot
a5c56a9e14
chore: Bump crates
2024-01-28 12:35:38 +00:00
SWC Bot
160043a2d3
chore: Bump crates
2024-01-27 04:57:56 +00:00
강동윤 (Donny)
039c1685c6
chore: Publish crates
2024-01-25 21:36:33 +09:00
SWC Bot
c3fd9d081e
chore: Bump crates
2024-01-24 02:04:25 +00:00
SWC Bot
2d15177ca9
chore: Bump crates
2024-01-23 08:38:01 +00:00
SWC Bot
12be23cfb5
chore: Bump crates
2024-01-23 04:25:38 +00:00
SWC Bot
990f291d43
chore: Bump crates
2024-01-21 15:30:11 +00:00
SWC Bot
9c23f1cf38
chore: Bump crates
2024-01-21 12:37:38 +00:00
Donny/강동윤
71fb5c12a7
fix(es/module): Fix resolving of dependencies ( #8533 )
...
**Description:**
I changed the signature of `Resolve` because there was a need to pass the `value` part from `jsc.paths` to the caller.
**Related issue:**
- Closes #8184
2024-01-21 21:35:57 +09:00
SWC Bot
6210bf19de
chore: Bump crates
2024-01-21 03:08:11 +00:00
magic-akari
72048ae1ce
feat(es/ast): Support import phase ( #8279 )
...
**Description:**
- https://github.com/tc39/proposal-source-phase-imports
2024-01-21 12:05:46 +09:00
SWC Bot
1ca0d65c29
chore: Bump crates
2024-01-21 02:34:11 +00:00
SWC Bot
e63a5c7e95
chore: Bump crates
2024-01-19 02:14:55 +00:00
SWC Bot
0763e7e6d6
chore: Publish crates
2024-01-16 04:43:01 +00:00
SWC Bot
99d74f319f
chore: Publish crates
2024-01-16 04:01:42 +00:00
magic-akari
0f94c8cf05
fix(es/systemjs): Handle top level this ( #8506 )
...
**Related issue:**
- Closes #8505
2024-01-16 04:00:08 +00:00
SWC Bot
a73ddc221e
chore: Publish crates
2024-01-09 18:27:36 +00:00
SWC Bot
d9a79a0a39
chore: Publish crates
2024-01-04 12:28:02 +00:00
SWC Bot
4e860c988d
chore: Publish crates
2024-01-04 04:49:50 +00:00
SWC Bot
8997ed1547
chore: Publish crates
2024-01-04 04:25:54 +00:00
SWC Bot
68b9646681
chore: Publish crates
2024-01-03 20:18:10 +00:00
Donny/강동윤
b70e96ffe9
fix(es/module): Fix resolving of .js
files ( #8480 )
...
**Related issue:**
- https://github.com/vercel/next.js/issues/56144
2024-01-03 20:15:53 +00:00
SWC Bot
f2ede40e38
chore: Publish crates
2024-01-03 06:58:23 +00:00
SWC Bot
cddb0165bb
chore: Publish crates
2024-01-03 05:41:28 +00:00
SWC Bot
a4e91af934
chore: Publish crates
2024-01-03 04:45:13 +00:00
SWC Bot
98920ca78d
chore: Publish crates
2024-01-02 02:10:29 +00:00
SWC Bot
4229e7b99b
chore: Publish crates
2023-12-29 08:49:51 +00:00
SWC Bot
3492e6f13e
chore: Publish crates
2023-12-28 23:58:04 +00:00
SWC Bot
d6dd1f9240
chore: Publish crates
2023-12-24 01:32:20 +00:00
SWC Bot
611d7175d4
chore: Publish crates
2023-12-22 03:27:18 +00:00
SWC Bot
37bb0e3bde
chore: Publish crates
2023-12-21 09:19:08 +00:00
SWC Bot
d6cd2146fa
chore: Publish crates
2023-12-17 08:43:12 +00:00
SWC Bot
45f62f7886
chore: Publish crates
2023-12-17 06:48:43 +00:00
SWC Bot
dd9ed9c565
chore: Publish crates
2023-12-12 06:14:41 +00:00
Donny/강동윤
61c304fa9e
refactor(es/utils): Use exact type for factory methods ( #8417 )
...
**Description:**
This PR is extracted from #8333 because it's too large.
**Breaking Changes**:
- `ExprFactory::make_member()` now returns `MemberExpr` instead of `Box<Expr>`.
- `member_expr!()` now returns `MemberExpr` instead of `Box<Expr>`.
2023-12-12 15:13:10 +09:00
SWC Bot
f736c3c2df
chore: Publish crates
2023-12-12 05:55:01 +00:00
SWC Bot
f202a2839f
chore: Publish crates
2023-12-12 04:39:47 +00:00
SWC Bot
602584dd62
chore: Publish crates
2023-12-11 03:07:28 +00:00
SWC Bot
2aebd5fa2f
chore: Publish crates
2023-12-08 14:01:33 +00:00