Donny/강동윤
963c460613
refactor: Fix lints using clippy from nightly-2023-03-13
( #6920 )
2023-03-14 04:56:21 +00:00
Alex Vasilev
85fffdad02
fix(es/module): Fix SystemJS imports ( #6879 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5922 .
2023-02-07 16:07:46 +00:00
Alex Vasilev
39c75fdcce
fix(es/module): Fix handling of this
for systemjs
( #6857 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6784 .
2023-01-27 12:58:22 +00:00
Donny/강동윤
0ef84e1c00
test(es/module): Add a test for invalid issue ( #6785 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6779 .
2023-01-11 05:06:45 +00:00
Donny/강동윤
072bd13023
fix(es/modules): Remove wrong check for jsc.paths
( #6470 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6466 .
2022-11-18 06:35:49 +00:00
Donny/강동윤
05d185d59b
fix(es/modules): Fix jsc.paths
( #6454 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6446 .
2022-11-16 04:51:59 +00:00
Donny/강동윤
91e863c8df
fix(es/modules): Preserve extensions ( #6339 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6209 .
2022-11-03 07:04:03 +00:00
magic-akari
82cca674e3
fix(es/modules): Resolve jsc.paths
for export alls ( #6170 )
2022-10-16 00:25:55 +00:00
Donny/강동윤
e6b1dd4731
feat(es/testing): Add an option to test sourcemap ( #6079 )
2022-10-07 05:52:22 +00:00
Donny/강동윤
80da0981bd
feat(es/compat): Support iterator protocol on loose mode ( #6034 )
2022-10-04 21:42:39 +09:00
magic-akari
bf759819e4
fix(es/modules): Improve compatibility with cjs-module-lexer
( #5835 )
2022-09-13 07:43:41 +00:00
magic-akari
cdb6164937
fix(es/modules): Use an indirect call for a tagged template ( #5382 )
2022-08-04 04:59:42 +00:00
magic-akari
c0ace4cb2c
fix(es/modules): Use a private context for export from
( #5262 )
2022-07-21 06:04:06 +00:00
magic-akari
6b1ce09b6f
fix(es/modules): Preserve order for ts import equals ( #5215 )
2022-07-16 07:09:06 +00:00
HeYunfei
1ef541eec4
feat(es/codegen): Emit comments in emit_module
( #5132 )
2022-07-12 15:23:24 +00:00
magic-akari
56ad09afb2
fix(es/modules): Keep TDZ for export default
if possible ( #5164 )
2022-07-11 08:57:50 +00:00
magic-akari
997240cfe6
fix(es/modules): Add the missing span for export default
( #5170 )
2022-07-11 02:18:01 +00:00
magic-akari
2555d71a60
fix(es/modules): Handle top level this, really ( #5160 )
2022-07-09 05:33:14 +00:00
magic-akari
451f346af0
fix(es/modules): Handle top level this ( #5159 )
2022-07-09 02:30:01 +00:00
magic-akari
c531e67a30
fix(es/modules): Support lazy for export from
( #5103 )
2022-07-05 05:38:34 +00:00
magic-akari
ddb31d1fd7
feat(es/modules): Support AMD triple slash directives ( #5091 )
2022-07-04 04:17:34 +00:00
magic-akari
4d5783d9cd
feat(es/modules): Add pure annotations to interop functions ( #5087 )
2022-07-03 05:54:07 +00:00
magic-akari
52bfb18113
test(es/modules): Add test for string-names ( #5088 )
2022-07-03 04:38:48 +00:00
magic-akari
0a7ca2f4bb
fix(es/modules): Create an indirect call for a lazy require ( #5089 )
2022-07-03 03:44:56 +00:00
magic-akari
9addef6fc8
feat(es/modules): Support allowTopLevelThis
( #5086 )
2022-07-02 04:17:44 +00:00
magic-akari
2f2039c693
fix(es/modules): Preserve orders of exports ( #5081 )
2022-07-01 13:17:43 +00:00
magic-akari
9e162dcbae
fix(es/modules): Improve compatibility with cjs lexer ( #5080 )
2022-07-01 08:37:04 +00:00
magic-akari
1e33dbab24
feat(es/modules): Support node interop ( #5069 )
2022-07-01 03:28:03 +00:00
magic-akari
ef543b1b22
fix(es/modules): Handle this
in class methods ( #5065 )
2022-06-29 11:27:06 +00:00
magic-akari
e13364f976
fix(es/modules): Handle module references in binding idents ( #5055 )
2022-06-28 10:47:46 +00:00
magic-akari
2cc229e6fb
feat(es/modules): Optimize a dynamic import with a literal path ( #5049 )
2022-06-28 06:31:24 +00:00
magic-akari
fa68cbd74a
refactor(es/module): Implement new module transformer ( #4758 )
2022-06-27 12:32:06 +00:00
magic-akari
04fc1cb429
fix(es/compat): Fix name conflict of Array
( #5034 )
2022-06-25 04:55:59 +00:00
Donny/강동윤
36d960c7e9
perf(es/hygiene): Make hygiene
faster ( #4952 )
2022-06-15 14:36:57 +00:00
Donny/강동윤
f4c6a20654
fix(es/modules): Fix lazy option of common js ( #4807 )
2022-05-26 13:06:43 +00:00
OJ Kwon
2b03047cb0
fix(es/modules): Fix local scoped amd require ( #4800 )
2022-05-25 18:08:49 +00:00
Donny/강동윤
75bb8586cc
fix(es/modules): Adjust absolute path while rewriting imports ( #4776 )
2022-05-24 20:00:26 +09:00
Donny/강동윤
417b2182ce
fix(es/loader): Fix jsc.paths
on windows ( #4739 )
2022-05-22 20:12:22 +00:00
Donny/강동윤
d9bb59a8cb
fix(es/modules/cjs): FIx detection of exported names ( #4737 )
2022-05-21 19:55:35 +00:00
OJ Kwon
886585b90e
feat(es/modules/amd): Support local-scoped amd requires ( #4727 )
2022-05-21 18:32:34 +00:00
brightwu
7ce572b497
fix(es/modules): Fix reassignment of exported vars ( #4688 )
2022-05-17 11:06:03 +00:00
Daniel Grant
49c40afb7e
fix(es/modules): Fix handling of import.meta.url
( #4670 )
2022-05-15 16:44:02 +00:00
Donny/강동윤
20692cdff1
fix(es/modules): Fix jsc.paths
( #4620 )
2022-05-12 04:14:51 +00:00
Donny/강동윤
a6d404a8c2
chore(repo): Configure prettier
( #4523 )
2022-05-04 14:25:28 +00:00
RiESAEX
7d40208377
fix(es/helpers): Update _interopRequireWildcard
( #4479 )
2022-04-30 00:56:48 +00:00
Donny/강동윤
53610fdafc
feat(es/resolver): Use different syntax context for unresolved refs ( #4436 )
...
- We don't need a list of bindings to check if an identifier is unresolved.
- Checking if an identifier is unresolved is now one CPU instruction.
- Previously it was one hashmap operation.
- This PR also improves performance, by removing the hashmaps mentioned above.
2022-04-26 07:38:50 +00:00
Donny/강동윤
5c1ce0ba05
fix(es/modules/cjs): Fix order of statements ( #4361 )
2022-04-18 10:57:55 +00:00
Donny/강동윤
7599fe7431
fix(es/parser): Enable static blocks by default ( #4334 )
2022-04-15 07:31:41 +00:00
Austaras
720244fff9
fix(es/module): Support top-level await in dynamic imports ( #4277 )
2022-04-08 15:28:10 +09:00
Alexander Akait
634d732803
feat(es/ast): Add raw
to Str
( #4071 )
2022-03-22 07:54:08 +00:00