Commit Graph

66 Commits

Author SHA1 Message Date
alexander-akait e6ed2acecf fix: respect the `cause` of any errors and the `errors` of `AggregateError` in stats 2025-04-23 00:36:13 +03:00
Alexander Akait 4d6d3800b4
fix: types 2025-04-16 17:04:11 +03:00
Alexander Akait e911f5296d
fix: no `object` types and less `any` types
Github Actions / lint (push) Has been cancelled Details
Github Actions / basic (push) Has been cancelled Details
Github Actions / validate-legacy-node (push) Has been cancelled Details
Github Actions / unit (push) Has been cancelled Details
Github Actions / integration (10.x, macos-latest, a) (push) Has been cancelled Details
Github Actions / integration (10.x, macos-latest, b) (push) Has been cancelled Details
Github Actions / integration (10.x, ubuntu-latest, a) (push) Has been cancelled Details
Github Actions / integration (10.x, ubuntu-latest, b) (push) Has been cancelled Details
Github Actions / integration (10.x, windows-latest, a) (push) Has been cancelled Details
Github Actions / integration (10.x, windows-latest, b) (push) Has been cancelled Details
Github Actions / integration (12.x, ubuntu-latest, a) (push) Has been cancelled Details
Github Actions / integration (14.x, ubuntu-latest, a) (push) Has been cancelled Details
Github Actions / integration (16.x, ubuntu-latest, a) (push) Has been cancelled Details
Github Actions / integration (18.x, ubuntu-latest, a) (push) Has been cancelled Details
Github Actions / integration (18.x, ubuntu-latest, b) (push) Has been cancelled Details
Github Actions / integration (20.x, macos-latest, a) (push) Has been cancelled Details
Github Actions / integration (20.x, macos-latest, b) (push) Has been cancelled Details
Github Actions / integration (20.x, ubuntu-latest, a) (push) Has been cancelled Details
Github Actions / integration (20.x, ubuntu-latest, b) (push) Has been cancelled Details
Github Actions / integration (20.x, windows-latest, a) (push) Has been cancelled Details
Github Actions / integration (20.x, windows-latest, b) (push) Has been cancelled Details
Github Actions / integration (22.x, macos-latest, a) (push) Has been cancelled Details
Github Actions / integration (22.x, macos-latest, b) (push) Has been cancelled Details
Github Actions / integration (22.x, ubuntu-latest, a) (push) Has been cancelled Details
Github Actions / integration (22.x, ubuntu-latest, b) (push) Has been cancelled Details
Github Actions / integration (22.x, windows-latest, a) (push) Has been cancelled Details
Github Actions / integration (22.x, windows-latest, b) (push) Has been cancelled Details
Github Actions / integration (23.x, ubuntu-latest, a) (push) Has been cancelled Details
Github Actions / integration (23.x, ubuntu-latest, b) (push) Has been cancelled Details
Github Actions / integration (lts/*, ubuntu-latest, a, 1) (push) Has been cancelled Details
Github Actions / integration (lts/*, ubuntu-latest, b, 1) (push) Has been cancelled Details
2025-04-02 19:02:22 +03:00
Alexander Akait cb93228ce5
fix: use `xxhash64` for `cache.hashAlgorithm` when `experiments.futureDefaults` (#19323) 2025-03-13 22:39:02 +03:00
alexander-akait 70bdb248e4 fix: no `Function` types 2025-03-13 19:34:04 +03:00
alexander-akait a1df00d339 refactor: improve eslint configuration and better types 2025-03-12 04:56:14 +03:00
alexander-akait c1c085d74a fix: `strict` types 2025-03-11 17:20:50 +03:00
alexander-akait 5a94c06c67 fix: types 2025-03-11 03:28:01 +03:00
Alexander Akait 7b4641f5ee
fix: types (#19291) 2025-03-07 16:12:22 +03:00
alexander.akait e10dcf597e fix: types 2024-10-24 06:02:20 +03:00
alexander.akait 636b5c5dba fix: types 2024-10-02 00:18:10 +03:00
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