LongYinan
464c15b775
chore(ci): Fix FreeBSD build ( #3379 )
2022-01-27 17:10:03 +09:00
Donny
3a238df25a
chore: Publish crates
2022-01-27 16:29:12 +09:00
Donny
90d8036b2b
chore: Publish crates
2022-01-27 16:27:38 +09:00
Pig Fang
d3d754bd17
feat(es/preset-env): Upgrade browserslist-rs
( #3375 )
2022-01-27 07:00:35 +00:00
Donny
6b2f3bb8a0
chore: Publish crates
2022-01-27 15:36:55 +09:00
Donny/강동윤
68e9017376
fix(es/minifier): Improve minifier ( #3350 )
...
swc_ecma_transforms_optimization:
- `expr_simplifier`: Track more changes.
swc_ecma_minifier:
- Analyze after applying the pure optimizer.
- Preserve access to a variable not in scope.
- `compress`: Remove string literal if it was not a directive.
- `pure/collapse_vars`: Merge vars declared in the first statement into one with initializers if `collapse_vars` and `join_vars` are enabled.
- `unused`: Use `usage_count` instead of `ref_count`.
- `unused`: Fix dropping rule for member expressions.
- `unused`: Fix dropping rule for declarations.
- `hoist_props`: Preserve exported items.
2022-01-27 15:36:22 +09:00
Shawn Meng
90cf073ab9
doc(contributing): Fix formatting ( #3376 )
2022-01-27 15:28:37 +09:00
Donny
bcc3ae86ae
chore: Publish crates
2022-01-26 20:39:45 +09:00
Artur
987213797f
feat(es/lints): Implement "no-console" rule ( #3269 )
...
swc_ecma_lints:
- Add types for general configuration.
- Add `no-console`rule.
swc:
- Expose the lint config via `jsc.lints`.
2022-01-26 20:39:19 +09:00
Donny
8a0ebebb08
chore: Publish crates
2022-01-26 20:37:51 +09:00
Donny
316d4762c3
chore: Publish crates
2022-01-26 20:36:44 +09:00
Alexander Akait
dfa0286aca
feat(css/ast): Add types for dashed identifiers and @color-profile
at-rules ( #3364 )
2022-01-26 20:35:49 +09:00
Donny
fb299a3bb1
chore: Publish crates
2022-01-26 13:47:13 +09:00
Alexander Akait
50521d8ffa
feat(css/parser): Improve parsing of urls ( #3362 )
2022-01-26 04:45:49 +00:00
Donny
ac2bb9b7bd
chore: Publish crates
2022-01-26 13:12:02 +09:00
Donny/강동윤
703972dc29
fix(es/minifier): Prepend/append correctly ( #3367 )
...
swc_ecma_minifier:
- Add some assertions for injections.
- Fix prepend/append logic of statements.
2022-01-26 13:11:26 +09:00
Donny
14e87d3a95
chore: Publish crates
2022-01-26 01:31:13 +09:00
Alexander Akait
6fc7562686
refactor(css/ast): Rename PercentValue
to Percent
( #3363 )
2022-01-25 14:44:28 +00:00
Donny
a5ba590450
chore: Publish crates
2022-01-25 22:51:07 +09:00
Alexander Akait
7787f90da0
refactor(css/ast): Fix type definitions related to @import
at-rule ( #3351 )
2022-01-25 22:50:23 +09:00
Donny
74b0624c0c
chore: Publish v1.2.134
2022-01-25 17:28:37 +09:00
Donny
4a4cb731be
chore: Publish crates
2022-01-25 17:24:18 +09:00
Donny/강동윤
b1a8db6194
fix(es/block-scoping): Pop scope correctly on early returns ( #3360 )
...
swc_ecma_transforms_compat:
- `block_scoping`: Pop scope even on fast-path.
2022-01-25 17:22:58 +09:00
OJ Kwon
a8debc17f6
feat(plugin): Pass host context to plugins for diagnostics emission ( #3359 )
2022-01-25 08:13:39 +00:00
Donny
27a8bf5104
chore: Publish crates
2022-01-25 14:48:41 +09:00
Yunfei He
fcb7288eb6
feat(es/codegen): Emit comments of Module
and Script
( #3358 )
2022-01-25 14:48:03 +09:00
Donny
ad860c9a1c
chore: Publish crates
2022-01-25 06:22:21 +09:00
RiESAEX
afdb168aad
fix(es/loader): Add an option to resolve symlinks with true
as a default ( #3340 )
2022-01-24 21:21:06 +00:00
Donny
29f3446df1
chore: Publish crates
2022-01-25 05:57:14 +09:00
Austaras
29aaac1f15
fix(es/compat): Handle nested functions in private_field
( #3355 )
2022-01-24 20:55:43 +00:00
Donny
df2ca10cb6
chore: Publish crates
2022-01-25 05:22:20 +09:00
Donny/강동윤
a635e9f35b
chore(ci): Update thread_local
( #3357 )
2022-01-25 05:21:27 +09:00
Alexander Akait
c7e5faea5c
feat(css/ast): Add Ratio
, which is defined by spec ( #3335 )
2022-01-24 14:27:10 +00:00
Donny
79ab4d6138
chore: Publish crates
2022-01-24 22:07:14 +09:00
Donny/강동윤
d9dc2b99dd
fix(swc): Respect jsc.experimental.keepImportAssertions
( #3352 )
...
swc:
- Fix `Merge` impl of `JscExperimental`.
2022-01-24 22:06:17 +09:00
Donny
b7c2e13237
chore: Publish crates
2022-01-24 21:11:03 +09:00
Donny/강동윤
8007b2dc93
feat(es/minifier): Handle array literals in sequences
( #3348 )
...
swc_ecma_minifier:
- `sequences`: Implement more rules for array literals.
2022-01-24 21:10:20 +09:00
OJ Kwon
438649818f
refactor(plugin): Remove multivalue polyfill ( #3346 )
2022-01-24 15:13:30 +09:00
Donny
2d26041d1d
chore: Publish crates
2022-01-24 15:11:53 +09:00
Sosuke Suzuki
d1c90a4e5f
feat(es/bugfix): Add bugfix-safari-id-destructuring-collision-in-function-expression
( #3109 )
2022-01-24 05:48:52 +00:00
Donny
efdbda5808
chore: Publish crates
2022-01-24 00:19:56 +09:00
Donny/강동윤
6921ffbbda
fix(es/minifier): Respect block scoping while negating if statements ( #3344 )
...
swc_ecma_minifier:
- Don't negate a if statement if it has `let`/`const` binding.
2022-01-24 00:19:33 +09:00
Donny
ffe793660d
chore: Publish crates
2022-01-23 21:22:03 +09:00
Alexander Akait
c664eafdef
refactor(css/ast): Merge several kinds of blocks into a single type ( #3336 )
2022-01-22 14:10:25 +00:00
Donny
c977ce3ed1
chore: Publish crates
2022-01-22 17:11:56 +09:00
magic-akari
da709fe3d3
fix(es/typescript): Handle typescript enums with string values ( #3339 )
2022-01-22 08:10:59 +00:00
padorang684
b2bf38d025
fix(es/module): Remove .jsx
file extension ( #3334 )
2022-01-21 14:10:33 +00:00
Donny
919c49b78b
chore: Publish crates
2022-01-21 22:33:10 +09:00
Alexander Akait
9f3806029c
fix(css): Fix @supports
at-rule ( #3329 )
2022-01-21 22:32:49 +09:00
Donny
4ee4672e4d
chore: Publish crates
2022-01-21 14:01:51 +09:00