Commit Graph

55 Commits

Author SHA1 Message Date
alexander.akait 93743d233a refactor: code 2024-08-02 19:32:31 +03:00
alexander.akait 40151be78e refactor: improve code 2024-08-02 19:32:29 +03:00
alexander.akait c802a98f58 style: improve 2024-08-02 19:32:22 +03:00
alexander.akait b9d9a5d9ff style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 500ee96dcb style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 5725254415 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait a592b62686 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 9d899d41c9 chore: small fixes 2024-06-11 16:53:23 +03:00
alexander.akait ab3e93b19e style: fix 2024-06-11 16:09:50 +03:00
alexander.akait 3e3dfd781b fix(types): more 2024-03-17 20:15:44 +03:00
Nitin Kumar 412ae5425e chore: udpate prettier to v3 2024-01-14 07:11:34 +05:30
alexander.akait 568f28bb87 refactor(types): more 2023-06-14 19:45:51 +03:00
alexander.akait 0ea2e99742 refactor: store some bigints as numbers 2023-05-30 22:33:06 +03:00
alexander.akait b1dac043b3 feat: support bigint serialization 2023-05-30 05:22:46 +03:00
alexander.akait 75e3ea5c84 refactor: more types for serialization 2023-05-22 21:32:23 +03:00
alexander.akait 635d102e79 fix: types 2023-04-22 02:30:02 +03: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
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 b0fa9ccada pretty files 2021-05-11 09:31:46 +02:00
Tobias Koppers 9cecf3c4a4 add support for serializing circular values 2021-04-14 08:56:32 +02:00
Tobias Koppers 2696446edf avoid memory leak in v8 ICs after (de)serializing 2021-03-25 13:24:52 +01:00
Tobias Koppers 3f378d9ff4 improve cache serialization by 30% 2021-03-22 20:28:08 +01:00
Tobias Koppers 9a7ffbabd3 only execute loader/require when no serializer is registered yet 2021-02-14 19:50:10 +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 a1515fa9f0 add experimental lazy compilation 2021-01-21 17:39:56 +01:00
Tobias Koppers e500ad0714 nitpicks 2020-12-14 23:05:40 +01:00
Tobias Koppers f3bd8eda5b avoid references for single char strings 2020-12-14 08:16:10 +01:00
Tobias Koppers c194abeb65 dedupe Buffers during serialization 2020-12-14 08:16:09 +01:00
Tobias Koppers 5a80ba12f1 help the GC 2020-12-14 08:16:09 +01:00
Tobias Koppers 0701f48294 improve error message for weird objects in ObjectMiddleware
add Date serializer to default serializers
2020-06-02 16:09:48 +02:00
evilebottnawi dafa4cd69a chore: setup cspell 2020-03-12 19:51:26 +03:00
Tobias Koppers eab25de485 dedupe object keys of plain object 2020-01-28 11:35:18 +01:00
Tobias Koppers f49838c95d style improvements and test 2020-01-28 11:35:10 +01:00
Tobias Koppers b40a345451 refactor Persistent Cache
cache is split into multiple .pack files which represent usage of cache items
this allows to only read/deserialize files that are needed
and reduces the need to rewrite .pack files
while still packaging multiple cache items together

lazy (de)serialization system has changed to allow writeLazy and writeSeparate
2020-01-28 11:35:06 +01:00
Tobias Koppers b086bfbcc6 faster object type lookup during deserialization 2019-11-13 12:18:04 +01:00
Tobias Koppers d8c93b40be faster serialization for deserialized data 2019-11-04 10:46:33 +01:00
Tobias Koppers 83c5305872 improve error message when deserialization failed 2019-11-01 12:19:27 +01:00
Tobias Koppers e9596ac799 faster referenceables in ObjectMiddleware 2019-08-13 17:03:01 +02:00
Tobias Koppers b2e7837288 replace Object.assign with object spread 2019-06-19 13:16:05 +02:00
Tobias Koppers 6db94536ad Merge tag 'v4.34.0' into next
4.34.0
2019-06-13 10:51:12 +02:00
Tobias Koppers ad6e095c43 Improve typings of SerializerMiddlewares 2019-01-24 16:51:05 +01:00
Tobias Koppers 00065741d2 log a warning when serialization fails 2019-01-19 11:47:19 +01:00
Tobias Koppers 44663f8c67 allow serializing of objects with null prototype 2018-12-25 22:08:35 +01:00
Tobias Koppers d9238f061d memorize lazy data on access
remove need for read on write
add queue for file accesses in FileMiddleware to support concurrent access
2018-12-21 12:05:29 +01:00
Tobias Koppers aedc34b76d load internal serializers internally
allows to bundle webpack
2018-12-20 11:04:31 +01:00
Tobias Koppers 590772b934 add packed store mode 2018-10-30 09:54:40 +01:00
Tobias Koppers c46d89b02d serialize JS Errors 2018-10-25 10:52:33 +02:00
Michael Ciniawsky f7df43d080 feat(ErrorObjectSerializer): make `{Error}` serializable 2018-10-25 10:52:32 +02:00
Tobias Koppers 4b69df1117 allow to make classes not-serializable
make ContextModule not-serializable because it's not needed
2018-10-18 15:52:22 +02:00
Tobias Koppers 06cd79f17f add serializer for RegExp 2018-10-18 12:44:38 +02:00