Commit Graph

767 Commits

Author SHA1 Message Date
Ivan Kopeykin 15393ca459 more complex test case 2021-09-20 15:54:09 +03:00
Ivan Kopeykin 7148a0af22 fix test case 2021-09-16 14:35:39 +03:00
Ivan Kopeykin 18ed9cb34b fix logic expression evaluation 2021-09-16 13:15:01 +03:00
Tobias Koppers ae711acba7 copy/read exports from imported async modules later once they are awaited 2021-08-30 14:26:34 +02: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 d3f8e16810 update webpack-sources for performance problem in hashing
add `stats.reasonsSpace` and `stats.groupReasonsByOrigin` to control large set of reasons
`detailed` preset limites all spaces to 1000 by default

fixes #13825
2021-07-20 13:29:25 +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 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 8a1dca971b Merge branch 'main' into dependabot/npm_and_yarn/jest-27.0.4 2021-07-08 15:38:39 +02:00
Tobias Koppers 92ffd07d06 remove memory leak from test suite 2021-07-07 09:07:24 +02:00
Tobias Koppers 86805ee5b8 fixes #13719 2021-07-06 00:50:13 +02:00
Tobias Koppers 6ca8505f26 Merge branch 'main' into dependabot/npm_and_yarn/jest-27.0.4 2021-07-05 16:10:02 +02:00
Tobias Koppers b76c5c4c9b fix linting 2021-06-29 13:16:28 +02:00
Tobias Koppers d3035701f4 add test case for large assets 2021-06-29 13:08:38 +02:00
Tobias Koppers 6dbfb93f8a Merge branch 'master' into dependabot/npm_and_yarn/jest-27.0.4 2021-06-28 11:38:29 +02:00
Tobias Koppers d02c9bb7a5 filter out node commonjs in module externals tests on node 10 2021-06-25 20:32:55 +02:00
Tobias Koppers 183232ddb7 Merge branch 'master' into dependabot/npm_and_yarn/jest-27.0.4 2021-06-25 11:46:47 +02:00
Tobias Koppers 629f9f031c add support for module externals and automatic externals 2021-06-24 16:44:14 +02:00
Tobias Koppers 15408018cb partially fix test cases 2021-06-24 10:05:37 +02:00
Tobias Koppers 8338219ccb disable test because it doesn't work 2021-06-23 14:48:57 +02:00
Tobias Koppers 9d123b1b53 fix createLazyTestEnv for new jest major version 2021-06-22 09:39:17 +02:00
Tobias Koppers f98a603d23 add test filter 2021-06-21 10:29:51 +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 4cf272b824 add workaround for broken eslint-scope package regarding class field support 2021-05-19 16:21:54 +02:00
Tobias Koppers 87c0d1cd94 Merge branch 'master' into johnnyreilly/master 2021-05-07 18:07:23 +02:00
Tobias Koppers 2bcf0c2980 fix test cases for node 16 2021-04-28 16:10:45 +02:00
Tobias Koppers 3ddadb2031 run tests on Node.js 16 2021-04-27 11:43:25 +02:00
Tobias Koppers 94facd387d add support for class fields 2021-04-27 10:28:13 +02:00
Tobias Koppers 4e70b37579 test typings and fix type problems in loaders in the test suite 2021-04-22 21:48:47 +02:00
John Reilly df44d7d8b7 attempt @sokras suggestion 2021-04-20 06:05:54 +01:00
Tobias Koppers 7de25e52bb
Merge pull request #12935 from webpack/feature/loader-utils
offer contextify and absolutify in loader context as utils
2021-03-19 17:02:10 +01:00
Tobias Koppers ecb2c18cc6 offer contextify and absoluteify in loader context as utils 2021-03-19 10:59:10 +01:00
Guy Bedford 5e2a457d28 even simpler example 2021-03-18 23:51:31 +02:00
Guy Bedford 0cfd7cc8f2 fixup test 2021-03-18 23:48:33 +02:00
Guy Bedford 421855bcf1 imports test with failure 2021-03-18 18:04:21 +02:00
Tobias Koppers 1ff55df486 fixes #12769 2021-02-24 12:54:17 +01:00
Tobias Koppers 87a70e03b8 unset targets when a harmony star reexport is hidden by another one 2021-02-22 21:56:00 +01:00
Tobias Koppers 1c0b88c72f fix bug where ExportInfo uses inactive connections to find the target of an export
This happens when multiple exports * export the same name but the first one is discovered later in the process
In this case the ExportInfo contains both connections, but the second one is inactive.
2021-02-22 12:47:34 +01:00
Tobias Koppers 0c4e157196 fix incorrect parsing of define functions
fix invalid code when using declaring local modules and arrow functions are supported
2021-02-11 11:18:40 +01:00
Felipe Caminada 83fcb3b0ba Returning thrown error to prevent unhandled promise
Throwing error when loaded module has errors

Adding newline at the end of the index.js file

Changing test logic to address error on cached tests
2021-02-10 08:09:15 -08:00
Tobias Koppers d0fe577b27 add some better hints when resolving fails 2021-02-08 22:11:05 +01:00
Tobias Koppers 56a4224048 run tests on node 15
fix test case
2021-02-07 20:22:23 +01:00
Tobias Koppers 223d72245d fix test case to not use whole namespace object 2021-02-07 17:22:42 +01:00
Tobias Koppers 92fba2d346 fix json related tree shaking and caching problems
json with constructor property now caches correctly
json generation with object prototype property now works correctly
tree shaking json array when accessing length property now works correctly
fix incorrect call context when calling properties on imports from CommonJS modules

fixes #12615
2021-02-07 16:43:44 +01:00
Tobias Koppers b2a4ea185f workaround for v8 bug 2021-01-29 14:53:51 +01:00
Tobias Koppers 495cabb94d improve TLA consistency 2021-01-29 13:51:32 +01:00
Tobias Koppers f85f0d5baf
Merge pull request #12452 from webpack/bugfix/12044 2021-01-21 09:13:55 +01:00
Tobias Koppers 65d3c38094 workaround for terser bug 2021-01-20 20:24:16 +01:00