Ivan Kopeykin
8bfcb6999b
support import/export name as string literal
2022-07-19 16:58:38 +03:00
Ivan Kopeykin
8df5134ddb
support context
2022-03-31 15:10:21 +03:00
Ivan Kopeykin
34c4edca6b
add createRequire support
2022-03-25 10:50:13 +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
Tobias Koppers
5cc3a39109
Merge pull request #15327 from webpack/fix/dont-count-optional-chaining-in-import-specifier
...
dont count optional chaining in import specifier
2022-03-15 16:56:06 +01:00
Ivan Kopeykin
b2fc854227
fix parser.evaluteExpression api
2022-03-15 15:37:17 +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
Ivan Kopeykin
a3fff1a4c8
evaluate undefined to type undefined
2021-11-25 22:41:27 +03:00
Ivan Kopeykin
58edd1aebb
fix evaluating tagged template
2021-11-24 21:22:59 +03:00
Ivan Kopeykin
ffad02dbe2
fix discussions
2021-09-20 15:40:45 +03:00
Ivan Kopeykin
1b2c08a672
fix discussions
2021-09-17 07:23:29 +03:00
Ivan Kopeykin
18ed9cb34b
fix logic expression evaluation
2021-09-16 13:15:01 +03:00
Tobias Koppers
720aa43bd3
handle hashbangs in javascript files
...
fixes https://github.com/vercel/next.js/issues/27806
2021-08-10 11:34:06 +02: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
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
d09cc17cee
use types from estree
2021-06-22 09:47:29 +02:00
Tobias Koppers
d0f500b76d
Merge pull request #13565 from webpack/dependabot/npm_and_yarn/acorn-8.4.0
...
chore(deps): bump acorn from 8.2.4 to 8.4.0
2021-06-22 09:43:00 +02:00
Tobias Koppers
b6a39e3ccf
remove allowAwaitOutsideFunction option as it's now set by default
2021-06-21 10:14:49 +02:00
Tobias Koppers
4e608c8723
assign class property keys to the correct top level symbol
2021-06-21 09:48:14 +02:00
Tobias Koppers
b0fa9ccada
pretty files
2021-05-11 09:31:46 +02:00
Tobias Koppers
94facd387d
add support for class fields
2021-04-27 10:28:13 +02:00
Tobias Koppers
87b67a920d
avoid memory leak in v8 ICs after parsing and building modules
2021-03-25 14:52:12 +01:00
Tobias Koppers
61cc65c58e
improve parsing to handle non-literal options
2021-03-12 12:09:02 +01:00
Tobias Koppers
9f3950e571
add support for libraries combined with iife: false
...
fix missing runtime requirement for system.js context
fix inlining of modules when conflicting symbols are defined on top-level
2021-02-11 11:19:24 +01:00
Tobias Koppers
a07a1269f0
Merge pull request #11316 from petermetz/master
2021-01-21 11:46:33 +01:00
Tobias Koppers
be13a46750
sort imports
2021-01-20 09:51:17 +01:00
Peter Somogyvari
ded4cc64a0
perf(parser): binary search for comments in range
...
Signed-off-by: Peter Somogyvari <peter.metz@unarin.com>
2021-01-19 11:55:35 -08:00
Tobias Koppers
a2fd6c2226
disable iife handling for functions with default parameters or patterns
2021-01-19 13:35:50 +01:00
Ivan Kopeykin
9fadec4dc1
fix: walk iife function expression params
2021-01-19 13:35:50 +01:00
Tobias Koppers
ae15a701a4
fix handling of MetaProperty
...
fixes #12339
2021-01-05 21:26:28 +01:00
highonweb
bc1911bf78
Changed name of memorize function to memoize
2020-12-27 03:02:57 +05:30
Tobias Koppers
dbea79cf8a
improve code and test case
2020-11-25 22:48:11 +01:00
Ivan Kopeykin
f000854cee
fix: check statements in path for asi safe
2020-11-25 22:48:10 +01:00
Tobias Koppers
3601b4bfe3
handle ASI issue between concatenated modules
...
fixes #11897
2020-11-04 12:02:36 +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
20c4eff3e7
Merge branch 'master' into bump-acorn-8
2020-10-07 10:35:13 +02: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
Huáng Jùnliàng
bd902b37ed
chore: bump acorn to 8.0.3
2020-10-02 10:13:10 -04:00
Huáng Jùnliàng
d1dd411cb3
workaround upstream bug
2020-10-01 18:05:23 -04:00
Huáng Jùnliàng
48be8c4d26
fix typing
2020-09-30 08:49:06 -04:00
Huáng Jùnliàng
e142c50a91
revert AcornOptions hotfix
2020-09-30 08:49:05 -04:00
Huáng Jùnliàng
aea7ce053d
feat: add logical assignment support
2020-09-30 08:49:05 -04:00
Tobias Koppers
145d392143
fixes parsing of 'this' in arrow iife
...
yarnpkg/berry#1832
2020-09-15 13:46:10 +02:00
Tobias Koppers
ed06a7f83a
new Worker() support
...
add support for async anonymous entrypoints from inside the codebase
add worker example
move entry options into Entrypoint and receive them from there
2020-09-08 07:37:20 +02:00
Tobias Koppers
bdeea6ec2f
Merge pull request #11395 from webpack/refactor/asi
...
refactor how asi handled
2020-09-01 15:47:41 +02:00
Tobias Koppers
962199c288
nitpicks
2020-09-01 11:15:52 +02:00