Kir_Antipov
d903dafa4f
Added tests for curseforge-uploader
2024-01-12 17:54:57 +03:00
Kir_Antipov
f61c637942
Added tests for curseforge-upload-api-client
2024-01-12 17:54:31 +03:00
Kir_Antipov
2c6ab90c5f
Added tests for curseforge-project
2024-01-12 17:54:06 +03:00
Kir_Antipov
c7659c2f43
Added tests for curseforge-game-version
2024-01-12 17:53:29 +03:00
Kir_Antipov
ccec351c99
Added tests for curseforge-game-version-type
2024-01-12 17:53:02 +03:00
Kir_Antipov
db32f23160
Added tests for curseforge-game-version-map
2024-01-12 17:52:37 +03:00
Kir_Antipov
ee6d69a543
Added tests for curseforge-eternal-api-client
2024-01-12 17:51:59 +03:00
Kir_Antipov
202593d713
Added tests for curseforge-error
2024-01-12 17:51:32 +03:00
Kir_Antipov
f4c3ab9a3b
Added tests for curseforge-dependency-type
2024-01-12 17:51:12 +03:00
Kir_Antipov
bdc5814fcb
Added tests for github-uploader
2024-01-12 17:50:29 +03:00
Kir_Antipov
67d2f2b2d8
Added tests for github-release
2024-01-12 17:50:04 +03:00
Kir_Antipov
ed2fbd8914
Added tests for github-context
2024-01-12 17:49:44 +03:00
Kir_Antipov
18961aec12
Added tests for github-api-client
2024-01-12 17:49:24 +03:00
Kir_Antipov
72881dcc5a
Added tests for mojang-api-client
2024-01-12 17:48:58 +03:00
Kir_Antipov
b77098a9f6
Added tests for minecraft
2024-01-12 17:48:12 +03:00
Kir_Antipov
ccbac7ff3c
Added tests for minecraft-version
2024-01-12 17:47:52 +03:00
Kir_Antipov
fc398cef0e
Added tests for minecraft-version-type
2024-01-12 17:47:28 +03:00
Kir_Antipov
0c87367ef8
Added tests for minecraft-version-provider
2024-01-12 17:47:02 +03:00
Kir_Antipov
49cec93c3c
Added tests for minecraft-version-lookup
2024-01-12 17:46:40 +03:00
Kir_Antipov
0c53565546
Tested getOwnEntries
against arrays
2024-01-12 17:45:45 +03:00
Kir_Antipov
5c75c036c0
Added a test-stub for the typescript
module
2024-01-12 17:44:35 +03:00
Kir_Antipov
7fec30e288
Made fetch
-related utils for testing purposes
2024-01-12 17:40:26 +03:00
Kir_Antipov
750c0028b0
Added Modrinth test data
2024-01-12 17:38:14 +03:00
Kir_Antipov
d76b17e309
Added Mojang test data
2024-01-12 17:37:45 +03:00
Kir_Antipov
a863aff69c
Added GitHub test data
2024-01-12 17:37:26 +03:00
Kir_Antipov
8a8aba5ca4
Updated CurseForge test data
2024-01-12 17:36:58 +03:00
Kir_Antipov
84db9b85e2
Fixed typo causing exceptions on unknown loaders
2024-01-12 17:33:37 +03:00
Kir_Antipov
156eade8c0
Made use of custom fetch
in ModrinthUploader
2024-01-12 17:30:42 +03:00
Kir_Antipov
cd9c696b4e
Made use of custom fetch
in GitHubUploader
2024-01-12 17:30:08 +03:00
Kir_Antipov
254c18a087
Made use of custom fetch
in CurseForgeUploader
2024-01-12 17:29:35 +03:00
Kir_Antipov
1d6cb47d45
Added fetch
to the generic uploader options
...
This allows us to have better control over the behavior of a generic uploader.
2024-01-12 17:28:01 +03:00
Kir_Antipov
dfd4e9ac5b
Fixed getOwnEntries
for arrays
2024-01-12 17:25:09 +03:00
Kir_Antipov
0ebd21131f
In some rare cases even cached body can be used
2024-01-12 17:23:34 +03:00
Kir_Antipov
4b559b054a
Fixed HttpResponseOptions
being ignored
...
The problem here is that the spread operator doesn't work with getters.
Thus, if an instance implementing the `HttpResponseOptions` interface with getters instead of regular readonly fields is supplied to the method, it won't function as expected, even though TypeScript's static typing indicates that everything should be fine.
2024-01-12 17:21:36 +03:00
Kir_Antipov
577191382f
Made .redirect()
respect the provided options
2024-01-12 17:16:00 +03:00
Kir_Antipov
78c153f935
Never set multipart/form-data
manually, kids
...
Why did I do this?
2024-01-12 17:13:45 +03:00
Kir_Antipov
814b583fb0
Fixed the return type of isReadableStream
...
Previously, it would return `undefined` instead of `false` when `stream` was undefined.
2024-01-12 17:10:36 +03:00
Kir_Antipov
c35cdf9d6f
Fixed Content-Length
not being a string
2024-01-12 17:09:24 +03:00
Kir_Antipov
8c5467ce2d
Added proper support for MultiMap
to getHeader
2024-01-12 17:06:15 +03:00
Kir_Antipov
cf2e81d32f
MultiMap
handles string values a bit better now
2024-01-12 17:04:17 +03:00
Kir_Antipov
d62de05339
Fixed null-handling in the IDENTITY
path parser
2024-01-12 17:02:28 +03:00
Kir_Antipov
c6583524f5
Converted ActionParameterFactoryOptions
to Enum
2024-01-12 17:01:08 +03:00
Kir_Antipov
6972e71bc3
Tweaked error message to better align with others
2024-01-12 16:59:46 +03:00
Kir_Antipov
baebb4e594
Added missing branch for CONFLICTING dependencies
2024-01-12 16:56:57 +03:00
Kir_Antipov
ee9458a1c4
Forgot to normalize the response as undefined
2024-01-12 16:53:50 +03:00
Kir_Antipov
ef46ac5abb
/projects
now supports IDs **and** slugs
...
Yay!
2024-01-12 16:52:16 +03:00
Kir_Antipov
940eefb550
Fixed null-handling in game version comparers
2024-01-12 16:50:31 +03:00
Kir_Antipov
43b1ff503e
getProject
no longer returns inaccurate results
2024-01-12 16:49:03 +03:00
Kir_Antipov
4ea0380bed
Fixed the return type of isCurseForgeError
...
Previously, it would return `undefined` instead of `false` when `error` was undefined.
2024-01-12 16:47:25 +03:00
Kir_Antipov
f9620d09b5
Fixed version normalization for legacy versions
2024-01-12 16:42:11 +03:00