magic-akari
a1cb4a4aa5
fix(es/compat): Fix handling of class methods with a big int as a key ( #3118 )
2021-12-25 14:46:56 +00:00
Donny
f51314cd51
chore(ci): Fix script for publishing
2021-12-25 22:58:27 +09:00
Donny
3b1a815db7
chore: Publish crates
2021-12-25 20:55:16 +09:00
Donny
ab2960b2c7
chore: Publish crates
2021-12-25 20:54:30 +09:00
Donny
3f8b393465
chore: Publish v1.2.123
2021-12-25 20:54:05 +09:00
Donny
cb603cc1ff
chore: Publish crates
2021-12-24 13:40:54 +09:00
magic-akari
e5971f77d5
fix(es/ast): Fix Ident::verify_symbol
( #3108 )
2021-12-24 04:29:49 +00:00
Donny
5e6f6e5122
chore: Publish crates
2021-12-24 12:23:46 +09:00
magic-akari
9f5a8f728a
fix(es/compat): Fix destructuring
( #3104 )
...
swc_ecma_transforms_compat:
- `destructuring`: Handle assignment expressions in rhs of variable declarators correctly. (Closes #2850 )
2021-12-24 03:19:45 +00:00
Donny
8aff5ae0aa
chore: Publish crates
2021-12-24 11:31:22 +09:00
LongYinan
206da128a1
feat(node): Upgrade napi
to v2 ( #2958 )
2021-12-24 02:21:24 +00:00
Donny
4bb264d480
chore: Publish crates
2021-12-24 10:47:59 +09:00
Donny/강동윤
d923f89db1
fix(es/compat): Fix classes
pass ( #3107 )
...
swc_ecma_ast:
- Add `Ident::verify_symbol`.
swc_ecma_transforms_compat:
- Don't generate invalid identifiers. (Closes #3106 )
2021-12-24 10:46:55 +09:00
Donny
d7a489a709
chore: Publish crates
2021-12-23 22:03:30 +09:00
Donny/강동윤
ff0b55b778
feat(es/diff): Initialize a diff tool for ecmascript ( #3101 )
...
swc_ecma_diff:
- Initialize the project.
2021-12-23 22:01:56 +09:00
Donny
7cbd2bc790
chore: Publish crates
2021-12-23 19:04:24 +09:00
Donny/강동윤
f66c2cd375
fix(es/helpers): Fix decorators ( #3105 )
...
swc_ecma_transforms_base:
- Fix `_applyDecoratedDescriptor`. (Closes #2127 )
2021-12-23 19:03:53 +09:00
Donny
25d26485fc
chore: Publish crates
2021-12-23 02:53:32 +09:00
Alex Alikiotis
d98a59339a
feat(es/bundler): Add an option to disable tree-shaking ( #3102 )
2021-12-23 02:53:02 +09:00
Donny
f4cc323e08
chore(node): Publish v1.2.122
2021-12-22 17:09:25 +09:00
Sosuke Suzuki
047219932f
chore(repo): Add section for the actual behavior to the issue template ( #3100 )
2021-12-22 17:07:49 +09:00
Donny
08c4589da7
chore: Publish crates
2021-12-22 17:06:54 +09:00
magic-akari
df87c2b302
fix(es/transforms): Fix descturcturing
( #3098 )
...
swc_ecma_transforms_compat:
- `destructuring`: Handle exports of bindings with object pattern properties correctly. (Closes #2858 )
2021-12-22 08:03:41 +00:00
Donny
fc2c883444
chore: Publish crates
2021-12-22 16:31:23 +09:00
Nayeem Rahman
7d57eb2dc4
feat(es/dep-graph): Add DependencyDescriptor::dynamic_import_assertions
( #3095 )
2021-12-22 16:30:52 +09:00
OJ Kwon
42046e104d
feat(node/core): Include noop swc binaries ( #3088 )
2021-12-21 20:20:20 +00:00
Donny
dc6a19dfef
chore: Publish crates
2021-12-22 04:57:45 +09:00
Donny/강동윤
15cbe4fcaa
fix(es/loader): Update lru
( #3092 )
2021-12-22 04:56:49 +09:00
Donny
726fc6968d
chore: Publish crates
2021-12-21 23:53:37 +09:00
Donny/강동윤
a81661c74a
perf(es/hygiene): Fix performance bug ( #3090 )
...
swc_ecma_transforms_base:
- `hygiene`: Skip checking a symbol if we are sure that it will be discarded.
swc_ecma_laoder:
- Optimize `NodeModulesResolver` by trying `.js` first.
2021-12-21 23:52:13 +09:00
Donny
c9def54913
chore: Publish crates
2021-12-21 21:40:09 +09:00
Donny/강동윤
ba2563f59e
fix(es/loader): Prefer ESM ( #3089 )
...
swc_ecma_loader:
- Check for `module` field and prefer it over `main`.
2021-12-21 21:39:35 +09:00
Donny
e33248cbcc
chore: Publish crates
2021-12-21 18:21:48 +09:00
Donny/강동윤
0e4dce694d
refactor(es/minifier): Use swc_timer
( #3087 )
...
swc_bundler:
- Add `Config.disable_fixer`.
- Add `Config.disable_hygiene`.
swc_ecma_minifier:
- Use `swc_timer`.
2021-12-21 18:19:33 +09:00
Quentin Michel
f1b81266cf
feat(node): Report correct error when swc_v1
and swc_v2
is enabled at the same time ( #3080 )
2021-12-21 16:10:30 +09:00
Donny/강동윤
d482d61b9f
chore(scripts): Use cargo profile instruments
instead of cargo instruments
( #3086 )
2021-12-21 16:09:19 +09:00
Donny
4c1948f786
chore: Publish crates
2021-12-21 14:25:11 +09:00
magic-akari
31dea3dd31
fix(es/typescript): Export destructured properties in typescript namespaces ( #3084 )
2021-12-21 14:24:20 +09:00
Donny/강동윤
0e5895043f
test(es/codegen): Add some tests for sourcemap ( #3078 )
2021-12-20 18:26:30 +09:00
Donny
cdc4676a88
chore: Publish crates
2021-12-20 18:25:51 +09:00
magic-akari
7d125f5cdb
feat(es/preset-env): Add .js
to generated imports ( #3077 )
2021-12-20 09:15:04 +00:00
OJ Kwon
2e89a4f5a8
feat(cli): Setup packages for CLI ( #3070 )
2021-12-20 06:03:00 +00:00
Donny
3808101ca8
chore: Publish crates
2021-12-20 14:38:28 +09:00
James Newell
938e544ac5
fix(es/compat): Fix handling of union of the legacy decorator pass ( #3057 )
...
swc_ecma_transforms_proposal:
- Use `Object` for `null`/`undefined`.
- Fix the type for union types. (Closes #2461 )
2021-12-20 05:30:52 +00:00
Donny/강동윤
8afb5af517
chore(repo): Make git
faster ( #3075 )
...
swc_ecma_parser:
- Flatten parser test suite ported from `tsc`.
swc:
- Flatten the reference directory for the `tsc` test suite.
2021-12-20 14:05:57 +09:00
Donny
3d95ff4e41
chore: Publish crates
2021-12-20 10:26:08 +09:00
Sosuke Suzuki
7beaabd533
feat(es/preset-env): Add ES2022 features to preset-env
( #3072 )
2021-12-19 14:28:05 +00:00
Donny
46994e067a
chore: Publish crates
2021-12-19 21:08:59 +09:00
Donny/강동윤
f21af5bcd6
feat(es/lints): Implement simple validations ( #2763 )
...
swc_ecma_lint:
- Implement `const-assign`. (Closes #2016 )
- Implement `duplicate-bindings`. (Closes #2795 )
- Implement `duplicate-exports`. (Closes #3056 )
swc:
- Use linter.
2021-12-19 21:07:51 +09:00
Donny
23742e3b18
chore: Publish crates
2021-12-19 18:11:51 +09:00