alexander.akait
c80a7f2e16
refactor: code use attributes instead assertions
2024-03-15 18:11:02 +03:00
alexander.akait
d6e98945c9
fix(js): import assertions
2024-03-15 17:24:33 +03:00
Nitin Kumar
412ae5425e
chore: udpate prettier to v3
2024-01-14 07:11:34 +05:30
alexander.akait
d9d64b5198
refactor(types): more
2023-06-21 19:01:53 +03:00
alexander.akait
75151416ca
fix: indirect call to tagged template expression
2023-06-17 22:54:17 +03:00
Ben Worline
c8dc5fac9b
Handle barrel imports ( #17305 )
2023-06-02 15:16:53 -07:00
Ben Worline
9bb13a8be6
incorporate CR feedback
2023-05-30 23:06:15 -07:00
Ben Worline
5b88a4865e
yarn type-lint
2023-05-23 22:24:20 -07:00
Ben Worline
afde59f5e9
add and handle another test case
2023-05-23 20:01:44 -07:00
Ben Worline
f041e8dc56
remove extra memberRangeStarts changes
2023-05-23 15:36:56 -07:00
Ben Worline
6f43ce3bfb
checkpoint
2023-05-23 15:29:25 -07:00
Ben Worline
457b2a82ac
remove extra code from hack
2023-05-16 16:49:40 -07:00
Ben Worline
44d165309e
hack to get test to pass; must be deleted
2023-05-16 16:33:15 -07:00
Sean Larkin
f3389577ef
refactor(types): Increase type coverage & docs for B.E.E
2023-04-28 19:21:02 +00:00
Ivan Kopeykin
45754f45d0
rename some properties, add more test cases
2023-04-09 10:44:09 +03:00
Ivan Kopeykin
397ce0c84e
add import tree shaking support
2023-04-09 00:23:15 +03:00
Tobias Koppers
86a8bd9618
Merge pull request #15455 from webpack/feature/support-in-operator
...
add "in" operator support
2022-03-17 11:17:39 +01:00
Ivan Kopeykin
cb05e419bc
handle possible side effect
2022-03-08 14:06:02 +03:00
Tobias Koppers
b095e8d138
remove arguments, replace whole expression
2022-03-08 08:02:54 +01:00
Ivan Kopeykin
4fe01b2954
fix asiSafe
2022-03-07 17:57:38 +03:00
Ivan Kopeykin
f9779f1d0c
improve dependency
2022-03-04 11:39:51 +03:00
Ivan Kopeykin
eb5d124150
add "in" operator support
2022-03-02 15:01:35 +03:00
Ivan Kopeykin
005e065fc4
renaming
2022-02-28 22:52:16 +03:00
Ivan Kopeykin
59437ccd10
dont count optional chaining in import specifier
...
instead of full member expression use only non-optional member expression part
2022-02-07 16:14:22 +03:00
Mark Molinaro
0f22db981d
Fix names of options to match the exported types
2021-11-06 00:01:21 +00:00
Tobias Koppers
d9c592738a
refactor and add test cases
...
add `parser.exportPresence`, `parser.importExportPresence`, `parser.reeexportExportPresence` `"error" | "warn" | "auto" | false`
2021-11-02 18:29:47 +01:00
Sven Sauleau
6c50c81350
Revert "Revert "Merge pull request #12278 from xtuc/sven/import-assertions""
...
This reverts commit 61946b7c46
.
2021-07-24 23:28:30 +01:00
Tobias Koppers
61946b7c46
Revert "Merge pull request #12278 from xtuc/sven/import-assertions"
...
This reverts commit df02bc6c0a
, reversing
changes made to a6f341e243
.
2021-07-16 21:54:21 +02:00
Tobias Koppers
da3ab4417e
fix comment
2021-07-16 13:18:21 +02:00
Tobias Koppers
7f22e4721f
match on asserts
...
change Map to Record
improve test case
2021-07-16 13:17:20 +02:00
Sven Sauleau
b166f46f2c
parse import assertions
2021-07-16 13:14:54 +02:00
Tobias Koppers
b0fa9ccada
pretty files
2021-05-11 09:31:46 +02:00
Tobias Koppers
013ca3bdd7
add commonjsMagicComments options
...
move javascript related options from 'module' to 'module.parser.javascript'
2021-01-20 20:19:49 +01:00
Tobias Koppers
1b78895c31
improve handling of ASI in concatenated modules and with imports
...
fixes #11897
2020-11-02 14:15:12 +01:00
Tobias Koppers
fcca1d649d
analyse source code for side effects
...
mark the module as side effects free in such cases
allow 3rd state TRANSITIVE_ONLY to be side-effect-free but dependencies should still be included (for mini-css-extract-plugin)
2020-10-06 14:10:29 +02:00
Tobias Koppers
b741dde35e
remove obsolete code related to import await
2020-08-14 10:51:07 +02:00
Tobias Koppers
dfc8e35f2d
enable experiments.importAsync by default
...
remove experiments.importAwait
2020-08-04 00:47:08 +02:00
Tobias Koppers
146f23bbde
remove unused type import
2020-02-05 11:21:38 +01:00
Tobias Koppers
8cbb4ed72c
remove dependencies from inner graph
...
only use TopLevelSymbols in graph
2020-02-05 11:06:27 +01:00
Sergey Melyukov
907ed08519
usage callbacks on inner graph
2020-01-30 04:34:30 +03:00
Tobias Koppers
77abab8c97
cleanup, renaming
2020-01-29 14:24:55 +01:00
Sergey Melyukov
68a61677dc
move flatter algo into InnerGraph
2020-01-27 18:33:40 +03:00
Sergey Melyukov
721ce54bdf
incapsulating inner graph logic
2020-01-23 15:59:27 +03:00
Sergey Melyukov
533d7fced7
fix pr comments
2020-01-21 20:50:27 +03:00
Sergey Melyukov
5613a38bb1
decouple inner-graph and parser state
2020-01-21 17:36:22 +03:00
Tobias Koppers
3b4a7455df
use parser state instead of module to store harmony/dynamic exports state
...
this is important for incremental build
2019-12-07 01:04:38 +01:00
Tobias Koppers
d9a2b7997a
refactor dynamic and harmony exports parser state
...
bailout when using AMD define
2019-12-06 11:13:15 +01:00
Tobias Koppers
a877cd51d1
add presentational dependencies which are cheaper, but allow only templating
2019-10-30 07:49:20 +01:00
Tobias Koppers
41a6f2af1a
fix PureExpressionDependency bug
2019-09-04 09:57:55 +02:00
Tobias Koppers
2e37731988
add analysis for top level symbols, exports and imports
...
integrates the work of Vincent Chan for GSoC 2018
Co-authored-by: Vincent Chan <cdzos97@gmail.com>
2019-09-03 14:18:40 +02:00