hai-x
918ab508c1
fix: add return value to subtractRuntime fn
2024-04-22 00:10:27 +08:00
ahabhgk
bf2571b957
remove exportsConvention for css
2024-04-20 12:10:56 +08:00
alexander.akait
878ae8a8b3
fix: ArrayQueue iterator
2024-04-09 14:16:44 +03:00
alexander.akait
7b4775cebe
fix(types): fix some types
2024-03-21 15:16:51 +03:00
alexander.akait
be1d35eb02
fix(types): more
2024-03-18 18:50:56 +03:00
alexander.akait
3e3dfd781b
fix(types): more
2024-03-17 20:15:44 +03:00
alexander.akait
33cd20a180
fix(types): watching and more
2024-03-14 18:15:13 +03:00
alexander.akait
0325370ed8
test: update
2024-03-12 21:44:34 +03:00
Alexander Akait
a53721e1dd
refactor: fix typos
2024-03-12 18:38:34 +03:00
Alexander Akait
94d874162a
fix: `fs` types
2024-03-11 18:15:08 +03:00
alexander.akait
b58abf188e
chore(deps): update enhanced-resolve
2024-03-11 17:06:28 +03:00
alexander.akait
3a70d69de7
fix: types more
2024-03-06 16:40:12 +03:00
alexander.akait
44b4f96e2b
refactor: code
2024-03-05 17:40:46 +03:00
alexander.akait
b23130013c
fix: `fs` types
2024-03-05 16:37:51 +03:00
alexander.akait
f59cd9cad8
fix: types
2024-03-04 18:18:00 +03:00
alexander.akait
168dbc3a10
style: fix
2024-03-04 17:48:21 +03:00
alexander.akait
3eedbcb1b4
fix: allow `unsafeCache` to be a proxied object
2024-03-04 17:40:12 +03:00
Alexander Akait
f5ec8a881f
docs: add documentation for stacked cache map
2024-02-28 14:21:59 +03:00
Alexander Akait
611bded369
fix: types
2024-02-22 17:58:30 +03:00
alexander.akait
6ab9bdaa73
fix: types
2024-02-22 17:20:17 +03:00
ahabhgk
f892acf0a2
use dashes case
2024-02-21 19:51:03 +08:00
ahabhgk
d4a5766bbe
feat: support css exports convention
2024-02-21 16:00:24 +08:00
Viktor Szépe
10014b85d4
Fix typos
2024-02-19 16:46:07 +00:00
alexander.akait
9f63f7013a
refactor: more types
2024-02-16 20:39:12 +03:00
David Michon
e07a9c91d8
(chore) Update comment
2024-02-01 12:46:58 -08:00
David Michon
23c04cbc7d
Use Math.imul in fnv1a32, operate directly on UTF-16
2024-02-01 11:23:05 -08:00
David Michon
cd6d64e511
Adjust threshold
2024-01-31 16:20:27 -08:00
David Michon
a5f96ee77c
Optimize numberHash using 32-bit FNV1a
2024-01-31 16:11:35 -08:00
Alexander Akait
d99434a492
perf: optimize compareStringsNumeric
2024-01-30 16:40:42 +03:00
David Michon
2cd85a22ac
Optimize compareStringsNumeric
2024-01-29 16:45:02 -08:00
alexander.akait
3295f6c36f
chore(types): more
2024-01-26 19:17:45 +03:00
Alexander Akait
0781eac69c
feat: add warning for async module when not supported
2024-01-15 17:21:20 +03:00
ahabhgk
20c16c3c04
fix
2024-01-14 22:37:32 +08:00
Nitin Kumar
412ae5425e
chore: udpate prettier to v3
2024-01-14 07:11:34 +05:30
alexander.akait
8273948d9d
chore: improve eslint configuration
2024-01-13 16:35:31 +03:00
alexander.akait
228b903a58
chore: update `assemblyscript`
2024-01-11 18:25:31 +03:00
Alexander Yamakin
ce6b0618ff
Merge branch 'main' into feature-14072
2024-01-09 02:59:32 +03:00
Alexander Akait
c1b45d5d80
fix: runtime logic
2024-01-04 15:47:05 +03:00
Ben Worline
b14922c5be
Refactor shared code
2023-10-02 10:28:43 -07:00
alexander.akait
158e0441e7
refactor(types): more
2023-06-22 04:08:40 +03:00
alexander.akait
cc734af66e
refactor(types): more
2023-06-22 02:45:07 +03:00
Burhanuddin Udaipurwala
e90c26754c
docs: further improve docs
2023-06-21 21:39:01 +05:30
Burhanuddin Udaipurwala
7f75426ea2
docs: add example usage
2023-06-21 21:35:39 +05:30
Burhanuddin Udaipurwala
5da3dc1102
docs: add documentation for stacked cache map
2023-06-21 21:27:19 +05:30
alexander.akait
568f28bb87
refactor(types): more
2023-06-14 19:45:51 +03:00
alexander.akait
792ee7e516
refactor(types): more
2023-05-31 14:56:55 +00:00
Sean Larkin
aeb1912378
Merge pull request #17236 from webpack/types-more
...
refactor: more types
2023-05-23 13:50:43 -07:00
alexander.akait
75e3ea5c84
refactor: more types for serialization
2023-05-22 21:32:23 +03:00
alexander.akait
d58b0c9c26
refactor: types more
2023-05-22 00:47:28 +03:00
Ben Worline
1f44d166fe
merge with main
2023-05-09 12:16:32 -07:00
Ben Worline
2b2fed5880
Initial take
2023-05-04 20:41:15 -07:00
alexander.akait
732e091c9f
refactor: fix type
2023-05-01 01:17:37 +03:00
alexander.akait
ede77bcb20
refactor(type): small improve
2023-05-01 00:58:34 +03:00
Alexander Kuznetsov
f952351c16
Optimize numberHash.js
...
Remove inner cycles from hashing algorithm
2023-04-27 01:50:50 +02:00
Sean Larkin
8a8f55f279
refactor(types): Improve type coverage & docs for numberHash
2023-04-26 21:30:57 +00:00
Sean Larkin
0119b3ca34
add additional link to StringXor usage
2023-04-26 19:18:52 +00:00
Sean Larkin
75fd13d96e
refactor(types): Increase type coverage & docs for StringXor
2023-04-26 19:16:48 +00:00
Sean Larkin
5b20c9af1c
Merge pull request #17057 from webpack/import-support
...
feat: CSS import and allow to hook module creation
2023-04-26 04:14:45 -07:00
Sean Larkin
e56df72394
Merge pull request #17060 from webpack/thelarkinn/rename-map-helper
...
refactor(MapHelpers): rename `provide` to `getOrInsert` in MapHelpers and document it better
2023-04-25 15:50:15 -07:00
Sean Larkin
b9f96bfae7
refactor(MapHelpers): rename provide to getOrInsert and add few comments for clarity
2023-04-25 20:45:43 +00:00
Sean Larkin
7faa18e66c
update example to use compileSearch() correctly
2023-04-25 20:22:09 +00:00
Sean Larkin
18f08ba635
refactor(types) add type coverage & docs for binarySearchBounds.js
2023-04-25 19:55:00 +00:00
alexander.akait
b7997e4271
fix: cache
2023-04-25 19:34:44 +03:00
alexander.akait
94b594511e
fix: types
2023-04-22 05:42:04 +03:00
alexander.akait
713b187c2d
fix: types
2023-04-22 05:26:43 +03:00
alexander.akait
7a929533dd
fix: types
2023-04-22 04:18:17 +03:00
alexander.akait
4f6dc32d38
chore: improve types
2023-04-21 19:22:33 +03:00
alexander.akait
02590bfdc7
chore: improve types
2023-04-21 19:22:33 +03:00
alexander.akait
fe65ecdc35
chore: fix types
2023-04-21 19:22:33 +03:00
alexander.akait
0ca8ae8f81
chore: update assemblyscript
2023-04-08 04:01:26 +03:00
xiaoxiaojx
3902ac5ffc
fix: fix pureDep returns null in some js files
2023-02-09 14:16:25 +08:00
Ivan Kopeykin
0ee3a992e8
fixes
2022-04-05 13:08:20 +03:00
Ivan Kopeykin
d6d6fb584d
Merge branch 'main' into feature-14072
...
# Conflicts:
# lib/DependencyTemplate.js
# lib/javascript/JavascriptGenerator.js
# schemas/WebpackOptions.check.js
# types.d.ts
2022-04-05 09:34:50 +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
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
2764e91b76
import.meta.webpackContext
2022-02-26 23:26:45 +03:00
Tobias Koppers
f52b8c572c
Merge pull request #14757 from webpack/fix-14755
...
use real loader path
2022-02-14 13:43:37 +01:00
Ivan Kopeykin
b531eb629f
fix types
2022-02-08 21:48:57 +03:00
Ivan Kopeykin
5e1266362d
fix regexp
2022-02-04 18:12:20 +03:00
Ivan Kopeykin
93ad32423f
add parseResourceWithoutFragment to identifier.js
2022-02-03 18:46:54 +03: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
f1d329cc0e
use nonNumericOnlyHash function for contentHash
2022-02-01 20:10:45 +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
taranek
5a3760e6d4
docs(util): added jsdoc annotations for ArrayHelpers.js
2022-01-30 23:41:51 +01:00
Nikita Milyanik
1ab1d0104c
accept whitespaces after semver range operators
2022-01-28 14:24:05 +01:00
Asriel Yu
0105d7d3e6
add omitted types should include null
2022-01-11 19:41:14 +08:00
Tobias Koppers
ccecc17c01
Merge pull request #14894 from webpack/feature/css-modules
...
Initial work towards native css support
2021-12-17 23:43:51 +01:00
Tobias Koppers
9f7018c8b5
update generated code
2021-12-17 09:01:49 +01:00
Tobias Koppers
54fff4dd0a
add support for `@keyframes`, `animation`, CSS Variables
2021-12-16 20:42:44 +01:00
Tobias Koppers
bdf4d83aca
add basic css modules support
2021-12-15 15:27:11 +01:00
Tobias Koppers
453e5cac05
add support for :export {} block
2021-12-14 16:21:32 +01:00
Tobias Koppers
e67ab7fad2
resolve todos, nitpicks
2021-12-03 08:47:17 +01:00
Tobias Koppers
8e5109d1eb
add support for @import
2021-12-03 08:47:12 +01:00
Tobias Koppers
77b5589c1a
css generation and hmr
2021-12-03 08:46:22 +01:00
Ivan Kopeykin
405ce48637
fix discussion
2021-11-30 16:36:34 +03:00
Ivan Kopeykin
c243a4b022
Merge branch 'main' into feature-14072
...
# Conflicts:
# schemas/WebpackOptions.check.js
2021-11-30 13:56:01 +03:00
Tobias Koppers
a7bba269d7
Merge pull request #14781 from tanhauhau/tanhauhau/add-validation-to-remotes
...
feat: add validation to remotes
2021-11-29 08:51:18 +01:00
tanhauhau
40be69b50a
feat: throw error for invalid remotes
2021-11-28 18:08:25 +08:00
Tobias Koppers
7025319eea
upgrade watchpack
...
use new collectTimeInfoEntries method from watchpack
add more efficient Watcher.getInfo method
2021-11-25 09:27:04 +01:00
Tobias Koppers
a26b3f8a1d
fix pre-compiled schema validation for Infinity and arrays
...
show deprecation when pre-compiled schema is invalid
2021-11-24 08:34:55 +01:00
Tobias Koppers
4876a16dcb
Merge pull request #14704 from webpack/issue-14700
...
fix: remove links in clean plugin
2021-11-15 11:19:40 +01:00
Tobias Koppers
66fd07d0bb
update runtime code
2021-11-12 14:39:31 +01:00
evilebottnawi
d55382ed79
fix: remove links in clean plugin
2021-11-10 19:58:00 +03:00
Mark Molinaro
6d3cd42008
perf: Prevent running regexs over the same strings twice
2021-11-10 01:22:09 +00:00
Tobias Koppers
7afcc5d4ff
allow to disable some deprecations
...
add `experiments.backCompat: false` (default in `experiments.futureDefaults`)
remove unused `experiments.asset`
enable `experiments.topLevelAwait` and `experiments.asyncWebAssembly` by default in `experiments.futureDefaults`
2021-11-05 09:54:51 +01:00
Tobias Koppers
7abbe4d73e
fix bugs with the new hashing implementation
...
fix BatchedHash correctly concatenating base64 strings
fix WashHash fallback for weird unicode chars
2021-11-04 09:42:27 +01:00
Ivan Kopeykin
166be712c0
Merge branch 'main' into feature-14072
...
# Conflicts:
# lib/dependencies/CachedConstDependency.js
# schemas/WebpackOptions.check.js
2021-10-30 21:36:39 +03:00
Tobias Koppers
205d3a05ee
add support for additional digest types
2021-10-28 12:35:13 +02:00
Tobias Koppers
d806cf5294
use correct batch size for BatchedHash
2021-10-28 12:09:02 +02:00
Tobias Koppers
ade40a4edd
improve hashing for longer strings, fix max short string length
2021-10-28 11:01:29 +02:00
Tobias Koppers
dcf3b02aaf
add wasm md4 implementation
...
expose createHash is loader context
2021-10-28 00:07:26 +02:00
Tobias Koppers
ae52a74802
improve buildHttp
...
allow multiple configurations to write to the same lockfile
add allowedUris for allowlisting
add schema validation
2021-10-19 09:21:05 +02:00
btea
857eebe495
fix: identifier typo
2021-10-13 11:01:46 +08:00
Tobias Koppers
65ad030156
faster StringXor
2021-10-04 10:36:24 +02:00
Tobias Koppers
b08d6c959a
make WeakTupleMap use less memory
2021-09-27 20:35:13 +02:00
Tobias Koppers
936ba06f27
faster utf-8 conversion for short strings
2021-09-24 09:25:13 +02:00
Tobias Koppers
4815710076
batch hashing
2021-09-23 23:32:40 +02:00
Tobias Koppers
3f142d9cd6
allows to select `xxhash64` as hashFunction
2021-09-23 15:02:02 +02:00
Tobias Koppers
4a8bf4c084
allow to configure all hash functions used
...
fix default hash function for HttpUriPlugin to sha512
2021-09-23 14:55:13 +02:00
Ivan Kopeykin
04a466082c
use chunkInitFragments
2021-09-14 21:23:41 +03:00
Ivan Kopeykin
5592f6616f
add experiments.futureDefaults
...
futureDefaults applies next major defaults
adds node.global=warn
node.__filename=warn-mock
node.__dirname=warn-mock
2021-09-14 11:29:57 +03:00
Tobias Koppers
3270275ffe
split fresh packs by time
...
add comments
fix loosing cache
correctly store a lazy
2021-09-08 16:27:55 +02:00
Tobias Koppers
4e8a621bfa
fix null module externals
2021-09-03 13:47:09 +02:00
Tobias Koppers
67e17b232b
Merge branch 'main' into aleen42/main
2021-08-30 12:28:34 +02:00
Tobias Koppers
dab1c30b8f
use a Set for better performance
2021-08-30 12:25:46 +02:00
Tobias Koppers
c76be4d738
make some things context-independent
...
* ConcatenatedModule.identifier()
* NormalModule source urls
fixes #14014
2021-08-19 14:57:39 +02:00
Tobias Koppers
9577b88d4b
track and resolve symlinks when reading context timestamps/hashes
...
refactor context snapshotting for abstraction purposes
add (symlink) unit test cases for FileSystemInfo snapshotting
2021-08-18 14:50:23 +02:00
Aleen
f3a37ce8f8
fix(utils): avoid reserved property under ES
2021-08-11 15:25:45 +08:00
Tobias Koppers
5044d62bb2
fix clear
2021-07-16 13:07:56 +02:00
Tobias Koppers
8dd38f5c8a
refactor
2021-07-16 13:05:18 +02:00
Tobias Koppers
e7484bbb15
Merge pull request #13720 from webpack/bugfix/module-externals-concatenated
...
fix concatenation of module externals
2021-07-06 18:15:41 +02:00
Tobias Koppers
b42d94e42f
serialize json data as buffer and decode on demand
2021-07-06 15:00:01 +02:00
Tobias Koppers
3f7d80d823
fix concatenation of module externals
...
#2933
2021-07-06 14:07:45 +02:00
Tobias Koppers
b0097bcff1
avoid merging for empty sets
2021-06-18 08:27:13 +02:00
Mark Molinaro
b58e0799e2
Fix perf issues with lazy sets
2021-06-17 18:42:39 +00:00
Tobias Koppers
f5fac83c08
clear compilation queues to reduce memory usage
2021-06-17 10:10:51 +02:00
Tobias Koppers
b1b9ef34a9
cache buffer in local var
2021-05-26 21:35:46 +02:00
Tobias Koppers
4845915c0b
Lazy require some modules
2021-05-26 21:35:46 +02:00
Tobias Koppers
973edfbd1b
support data urls as input in `new URL`
2021-05-19 11:30:09 +02:00
Tobias Koppers
b0fa9ccada
pretty files
2021-05-11 09:31:46 +02:00
Tobias Koppers
3de13caba7
Merge pull request #13331 from dhruvit-r/bugfix/fs-call-signatures
2021-05-10 15:52:47 +02:00
Dhruvit Raithatha
e085eebd6c
make errors nullable for call signatures of filesystem types
2021-05-10 15:18:22 +05:30
Tobias Koppers
869f9c8a8c
use createScriptUrl only when needed
2021-05-10 09:58:27 +02:00
Tobias Koppers
00d176419c
avoid nextTick when possible
2021-04-27 09:36:52 +02:00
Tobias Koppers
0aff7d2c63
avoid creating objects for location info when not accessed
2021-04-27 09:36:52 +02:00
Tobias Koppers
a89deee176
improve smartGrouping performance
2021-04-23 14:51:24 +02:00
Tobias Koppers
09240b1230
avoid leaking context of cached function
2021-04-20 15:17:54 +02:00