Commit graph

485 commits

Author SHA1 Message Date
Kir_Antipov
3f8d7d2115 Made SoftError for recoverable errors 2023-05-16 20:26:09 +03:00
Kir_Antipov
3fe2a3fdc9 Made a helper method to check if an object is an error 2023-05-16 20:25:04 +03:00
Kir_Antipov
5892ef60d8 Implemented FileNotFoundError 2023-05-16 20:23:02 +03:00
Kir_Antipov
8f97d4aee6 Implemented ArgumentNullError 2023-05-16 20:21:45 +03:00
Kir_Antipov
ab8f3468ca Implemented ArgumentError 2023-05-16 20:20:55 +03:00
Kir_Antipov
c56b60c966 Added security module 2023-05-16 20:17:55 +03:00
Kir_Antipov
2243945d3a Made a class that protects a string from being exposed 2023-05-16 20:17:23 +03:00
Kir_Antipov
a656c86e4a Added collections module 2023-05-16 20:09:53 +03:00
Kir_Antipov
fc0a818902 Made ArrayMap and MultiMap
`ArrayMap` is a map implementation which can use custom equality comparers

`MultiMap` is mostly an alias for `Map<K, V[]>`, but with some extra methods
2023-05-16 20:09:20 +03:00
Kir_Antipov
bddf78c669 Made ArraySet
A set implementation which can use custom equality comparers
2023-05-16 20:07:37 +03:00
Kir_Antipov
97a17208b2 Implemented array-like methods for iterables 2023-05-16 20:06:09 +03:00
Kir_Antipov
af85b577f1 Made an interface for all key-value iterables out there 2023-05-16 20:02:22 +03:00
Kir_Antipov
e3439aa021 Added types module 2023-05-16 19:58:58 +03:00
Kir_Antipov
67b5bcbf85 Made an alias for Partial<Record<K, V>> 2023-05-16 19:57:41 +03:00
Kir_Antipov
1967a52df9 Added a type that unwraps constructor parameters 2023-05-16 19:56:28 +03:00
Kir_Antipov
e473e4b641 Made a type to help me use generics as record keys 2023-05-16 19:54:56 +03:00
Kir_Antipov
2c2bcb4de7 Added a type that unwraps constructor return type 2023-05-16 19:53:51 +03:00
Kir_Antipov
f436b151aa Added a type that unwraps promises 2023-05-16 19:52:48 +03:00
Kir_Antipov
6e27f6c851 Made a type to indicate that await should be used 2023-05-16 19:51:43 +03:00
Kir_Antipov
09d0d25fdc Made a type that converts unions to intersections 2023-05-16 19:49:38 +03:00
Kir_Antipov
2ab31e0c32 Made a transpile-time version of typeof 2023-05-16 19:48:37 +03:00
Kir_Antipov
13a303ce8d Added logging module 2023-05-16 19:45:41 +03:00
Kir_Antipov
d60d8f63f3 LoggingStopwatch refactoring 2023-05-16 19:45:06 +03:00
Kir_Antipov
0cf4831003 Added diagnostics module 2023-05-16 19:43:36 +03:00
Kir_Antipov
d1b07fe763 Stopwatch refactoring 2023-05-16 19:42:49 +03:00
Kir_Antipov
a33f82afe1 Updated logger instantiation logic 2023-05-16 19:40:10 +03:00
Kir_Antipov
d043e7f23f Added a logger that writes logs to stdout 2023-05-16 19:38:46 +03:00
Kir_Antipov
19993c6f5b Added a logger that writes logs to the console 2023-05-16 19:37:21 +03:00
Kir_Antipov
65cb51a963 Implemented classic NullLogger 2023-05-16 19:35:58 +03:00
Kir_Antipov
9b882c411e Made helper methods to work with environment 2023-05-16 19:31:41 +03:00
Kir_Antipov
f1bd102e19 Added comparison module 2023-05-16 19:27:13 +03:00
Kir_Antipov
ef099bc69f Implemented default equality comparers for strings 2023-05-16 19:26:36 +03:00
Kir_Antipov
c6214a811a Made some helper methods to work with strings 2023-05-16 19:24:54 +03:00
Kir_Antipov
89d56de5e4 Implemented default comparers for strings 2023-05-16 19:22:08 +03:00
Kir_Antipov
d1b1ed9a16 Implemented comparers 2023-05-16 19:20:11 +03:00
Kir_Antipov
a537525099 Implemented equality comparers 2023-05-16 19:18:32 +03:00
Kir_Antipov
ce5227a2ce Added functions module 2023-05-16 19:05:13 +03:00
Kir_Antipov
7b75d612db Now it's possible to create middlewares 2023-05-16 19:04:41 +03:00
Kir_Antipov
63bbe0f72b Made interfaces for delegates
Because built-in `Function` is not flexible
2023-05-16 19:00:09 +03:00
Kir_Antipov
d263c15393 Added a possibility to make objects callable 2023-05-16 18:58:10 +03:00
Kir_Antipov
7882738bce Added java module 2023-05-16 18:54:51 +03:00
Kir_Antipov
34f7b1af54 Made a class that represents a Java version 2023-05-16 18:54:19 +03:00
Kir_Antipov
e62b237642 Updated the project to utilize ESM 2023-05-16 18:47:39 +03:00
Kir_Antipov
9ad1412834 Deleted old test suites 2023-05-16 18:40:21 +03:00
Kir_Antipov
fc1a2a044b Updated testing environment 2023-05-16 18:37:04 +03:00
Kir_Antipov
95d25ac238 Added Code of Conduct
From now on, the project is claimed by evil leftoids and, under no circumstances, can it be unclaimed.

It's been quite a while since the PolyMC drama, but I'm still impressed by how a few lines of text - simply stating that it's not okay to harass somebody - can cause a literal mental breakdown for some conservatives.
2023-05-16 18:27:43 +03:00
Kir_Antipov
80844d111c Added yaml dependency
Yep, now I need yet another parsing lib
2023-05-12 23:09:03 +03:00
Kir_Antipov
c866082262 Added semver dependency
It's needed to parse semantic versions of mod dependencies
2023-04-24 13:34:28 +03:00
Kir_Antipov
42dbb0af95 Updated node-fetch and removed form-data
Finally, I am able do that! All QOL updates of `node-fetch` were unsupported on Node12. Also, it includes `FormData` polyfill now
2023-04-15 17:35:37 +03:00
Kir_Antipov
642eab842e Removed @actions/github from dependencies
I don't think I need the whole 20 kB library to make 2 API calls
2023-04-15 17:23:58 +03:00