Commit Graph

15075 Commits

Author SHA1 Message Date
Tobias Koppers a28af55ca1
Merge pull request #15338 from webpack/deps/jest
update jest
2022-02-10 17:10:40 +01:00
Ivan Kopeykin 48305033f4 fix ExportsInfo
- should mark every export canMangleProvide=false if there are unknown exports
- add __webpack_exports_info__.<name>.canMangle to api
- add test case
2022-02-10 16:20:53 +03:00
Tobias Koppers bd35396503 handle more cases with an regexp 2022-02-10 13:06:10 +01:00
Tobias Koppers 0d38e5785e
Merge pull request #15356 from webpack/fix/issues-15177
fix serialization in ContextElementDependency
2022-02-10 12:28:01 +01:00
Ivan Kopeykin 2ec870f139 add test case 2022-02-10 13:39:03 +03:00
Ivan Kopeykin 403057c76c fix serialization in ContextElementDependency 2022-02-09 15:32:10 +03:00
TrickyPi d575996433 fix: exclude [name] placeholder when getting uniqueName 2022-02-09 11:11:46 +08:00
Tobias Koppers 23cf749d1b update jest 2022-02-08 22:57:07 +01:00
Tobias Koppers 2279c5a210
Merge pull request #15336 from webpack/deps/typescript
update typescript
2022-02-08 22:53:32 +01:00
Ivan Kopeykin b531eb629f fix types 2022-02-08 21:48:57 +03:00
Ivan Kopeykin cdfb610bfa fix restoring from cache 2022-02-08 21:40:18 +03:00
Praveena dec858a57e fixes #15342 - add util/types to node target 2022-02-08 14:00:40 +00:00
Ivan Kopeykin 02a7a9e90c fix discussions. add/update test cases 2022-02-08 14:16:16 +03:00
Tobias Koppers afdb254093 update typings 2022-02-08 10:12:34 +01:00
Tobias Koppers abcf53296d update typescript 2022-02-08 10:12:29 +01:00
Tobias Koppers ec98c0b538
Merge pull request #15329 from cool-little-fish/fix-15173
fix: Merge avaiable modules correctly #15173
2022-02-08 09:17:27 +01:00
Ivan Kopeykin 9951d9d4d9 handle several resources in ContextModule 2022-02-08 11:12:32 +03:00
成仕伟 03144929c7 add config test case 2022-02-08 14:25:06 +08:00
成仕伟 1edc17dac4 Merge avaiable modules correctly 2022-02-08 12:35:14 +08:00
Ivan Kopeykin de7ec7bc07 refactor top level declarations
- add topLevelDeclarations to code generation results
- set topLevelDeclarations=undefined if any child topLevelDeclarations=undefined
2022-02-07 17:29:38 +03:00
Ivan Kopeykin 58a2fd01c4 refactor top level declarations
- add topLevelDeclarations to code generation results
- set topLevelDeclarations=undefined if any child topLevelDeclarations=undefined
2022-02-07 17:21:36 +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
Tobias Koppers 13a3bc1373
Merge pull request #15302 from webpack/update-defaults-with-output-module
set output.environment.module=true when output.module enabled
2022-02-07 09:53:18 +01:00
Ivan Kopeykin 5e1266362d fix regexp 2022-02-04 18:12:20 +03:00
Ivan Kopeykin 75838c3f70 fix discussion 2022-02-04 17:56:47 +03:00
Ivan Kopeykin fee6837cc7 update topLevelDeclarations for ConcatenatedModule
update top level declarations for ConcatenatedModule in code generation step
2022-02-04 16:05:10 +03:00
Ivan Kopeykin 93ad32423f add parseResourceWithoutFragment to identifier.js 2022-02-03 18:46:54 +03:00
Ivan Kopeykin b254f350a7 update dynamicImport default, add test case 2022-02-03 15:11:43 +03:00
Tobias Koppers afbf60289f
Merge pull request #15293 from webpack/fix/resource-name-from-data-urI
fix resource name when filename is data uri
2022-02-03 11:58:21 +01:00
Tobias Koppers f2d99d83f0
Merge pull request #15289 from webpack/disallow-digest-only-content-hash
use nonNumericOnlyHash function for contentHash
2022-02-03 09:22:06 +01:00
Ivan Kopeykin 53fcf41b3f fit in hex digest 2022-02-02 19:04:31 +03:00
Ivan Kopeykin 3f10a17e2f set output.environment.module=true when output.module enabled 2022-02-02 10:13:20 +03:00
Ivan Kopeykin f1d329cc0e use nonNumericOnlyHash function for contentHash 2022-02-01 20:10:45 +03:00
Ivan Kopeykin c872a68204 fix resource name when filename is data uri
- infer extention from mime type
- set path like replacement to empty string
2022-02-01 17:47:32 +03:00
Tobias Koppers 4bc61504b2
Merge pull request #15268 from nikmilson/fix-semver-ranges-parsing
accept whitespaces after semver range operators
2022-02-01 13:18:39 +01:00
Ivan Kopeykin 3b55455b26 improve parseRange, add test cases
- parse "NaN" as string part
- allow more whitespaces in hyphen
2022-02-01 10:57:42 +03:00
Tobias Koppers f593d98453 5.68.0 2022-01-31 17:25:34 +01:00
Tobias Koppers 6f3735c548
Merge pull request #15279 from taranek/docs/array-helpers-docs
docs(util): added jsdoc annotations for ArrayHelpers.js
2022-01-31 17:17:44 +01:00
Tobias Koppers 04039ca99c
Merge pull request #15284 from webpack/feature/__webpack_module__
change __webpack_module_id__ to __webpack_module__.id
2022-01-31 14:24:33 +01:00
Tobias Koppers d7a87ab5bc change __webpack_module_id__ to __webpack_module__.id 2022-01-31 13:53:58 +01:00
Tobias Koppers 612de998f1
Merge pull request #15282 from webpack/feature/__webpack_module__
add __webpack_module__ and __webpack_module_id__ to the api
2022-01-31 12:37:37 +01:00
Tobias Koppers a962d2cedd add __webpack_module__ and __webpack_module_id__ to the api 2022-01-31 11:06:30 +01:00
taranek 5a3760e6d4 docs(util): added jsdoc annotations for ArrayHelpers.js 2022-01-30 23:41:51 +01:00
Ivan Kopeykin 312239a712 use real loader path 2022-01-30 19:36:24 +03:00
Tobias Koppers 46e8639a6a
Merge pull request #15246 from pavelsavara/import_meta_url
Disable compile time evaluation of import.meta.url
2022-01-28 15:38:19 +01:00
Nikita Milyanik 1ab1d0104c accept whitespaces after semver range operators 2022-01-28 14:24:05 +01:00
Tobias Koppers 1e73ca79c4
Merge pull request #15266 from webpack/bugfix/throwing-in-async-modules
fix handling of errors thrown in async modules
2022-01-28 13:14:11 +01:00
Ivan Kopeykin 232403c5e8 fix discussions 2022-01-28 12:00:53 +03:00
Ivan Kopeykin 17e8eed735 add test case 2022-01-28 08:59:28 +03:00
Ivan Kopeykin c09e82fcfe add importMeta to JavascriptParserOptions:
- enable/disable import.meta parsing
- when disabled insert output.importMetaName
2022-01-27 22:54:47 +03:00