Commit Graph

206 Commits

Author SHA1 Message Date
Sean Larkin f3389577ef refactor(types): Increase type coverage & docs for B.E.E 2023-04-28 19:21:02 +00:00
Sean Larkin 0fff38d157 refactor(types): Improve types coverage & docs for js parser 2023-04-28 17:59:30 +00:00
An0nie 9309106146 fix: template string compare issue 2023-04-27 16:54:20 +02:00
擢秀 8c59f8955d
fix: avoid modify ast params object reference 2023-04-20 18:35:54 +08:00
Sean Larkin 9c70d1dcf6
Merge pull request #17016 from xiaoboost/fix/fix-spell-error
fix: fix spell error
2023-04-18 19:10:37 -07:00
xiaoboost a01d2d5360 fix: fix spell error 2023-04-18 22:45:47 +08:00
Ivan Kopeykin 3824beedaf support destructuring assignment with AwaitExpression 2023-04-13 17:16:32 +03:00
Ivan Kopeykin 45754f45d0 rename some properties, add more test cases 2023-04-09 10:44:09 +03:00
Ivan Kopeykin bdbb78769f support rest element 2023-04-09 08:55:55 +03:00
Ivan Kopeykin 89933e8a06 fix pre walking 2023-04-08 21:19:04 +03:00
Ivan Kopeykin 12844b2d34 fix keys evaluation 2023-04-08 13:17:30 +03:00
Ivan Kopeykin 9bb35fb998 support destructuring assignment in parser 2023-04-07 22:29:32 +03:00
Sean Larkin fa4cbf11a1 add more module type constants, use them across codebase 2023-03-31 10:56:32 -07:00
Jack Works 4f39c9f658 fix: type error 2022-11-22 12:09:17 +08:00
Jack Works c922ee1569 chore: revert breaking change 2022-11-22 12:03:27 +08:00
Jack Works 1d86c181a8 fix: test fail 2022-11-22 11:52:04 +08:00
Jack Works 18c59c600d fix: avoid cross-realm objects 2022-11-22 11:37:16 +08:00
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
Tobias Koppers 18c3590b28
Merge pull request #15315 from webpack/fix/issue-13022
update topLevelDeclarations for ConcatenatedModule
2022-02-14 14:46:43 +01:00
Ivan Kopeykin cd3ec1da92 refactor top level declarations usage 2022-02-11 17:59:35 +03:00
Ivan Kopeykin b531eb629f fix types 2022-02-08 21:48:57 +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 f1d329cc0e use nonNumericOnlyHash function for contentHash 2022-02-01 20:10:45 +03:00
Tobias Koppers b9c6691ff5 bugfixes, external assets 2021-12-03 16:23:09 +01:00
Tobias Koppers 8ae9507196 add support for url() in css 2021-12-03 08:46:24 +01:00
Tobias Koppers 3eff82d0f9
Merge pull request #14806 from webpack/fix-12924
use "safe" global object
2021-11-26 08:40:29 +01:00
Ivan Kopeykin a3fff1a4c8 evaluate undefined to type undefined 2021-11-25 22:41:27 +03:00
Tobias Koppers c69e37c39d fix outputModule with initial splitChunks 2021-11-25 16:05:03 +01:00
Ivan Kopeykin 58edd1aebb fix evaluating tagged template 2021-11-24 21:22:59 +03:00
Ivan Kopeykin edeaa6eb82 use "safe" global object 2021-11-23 20:40:03 +03:00
Tobias Koppers 7135727cba avoid unneccessary separators and arrays 2021-10-04 09:29:09 +02:00
shfshanyue 92f84dcac0 chore: merge multi hash.update 2021-09-26 08:51:53 +08: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 0bd1e789d4 generate "use strict" only when really needed 2021-07-22 16:09:09 +02:00
Tobias Koppers 3967571924 Merge branch 'main' into fix/overwritten_webpack__exports_onChunksLoaded 2021-07-16 21:58:34 +02: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 c469adc265 fix handling of onChunksLoaded with prefetching 2021-07-16 18:11:29 +02:00
shinyaigeek 1d8f9fd4d0 Fix: overwritten __webpack_exports__ on onChunksLoaded 2021-07-16 18:10:45 +02:00
Tobias Koppers 7f22e4721f match on asserts
change Map to Record
improve test case
2021-07-16 13:17:20 +02:00