Kir_Antipov
959a0ec9fa
Added NeoForge metadata definition
2024-01-15 16:56:13 +03:00
Kir_Antipov
db98decdd8
Added NeoForgeEnvironmentType
2024-01-15 16:55:21 +03:00
Kir_Antipov
883bd31e30
Implemented NeoForgeDependencyType
...
neoforged/NeoForge@8786a13b21
2024-01-15 16:54:51 +03:00
Kir_Antipov
eda9c200e7
Removed NeoForge-related code from forge
2024-01-15 16:52:48 +03:00
Kir_Antipov
22bd9471da
Refactored metadata readers
...
- `ZippedLoaderMetadataReader` was removed
- Metadata readers now throw instead of returning `undefined`
2024-01-15 15:49:16 +03:00
Kir_Antipov
cf10a77ae0
Added utility methods for reading zipped files
2024-01-15 15:12:09 +03:00
Kir_Antipov
0fb9464622
Read projects
permission is now optional
...
Closes #101
2024-01-15 00:43:58 +03:00
Luca v. d. W
cb6e2c96e1
Support for single version in Forge ranges ( #98 )
...
* Added test cases for forge style single version "range"
* Made forge version range separator optional to allow single version
* Verify closed end version range is treated as typo for open end
* Interpret range as single version only in absence of separator
Fixes #95
---------
Co-authored-by: Kir_Antipov <40232067+Kir-Antipov@users.noreply.github.com>
2024-01-14 23:59:41 +03:00
Minecraftschurli
f8cee9e545
Fixed incorrect URL generated for Modrinth ( #89 )
...
Fixes #73
2024-01-14 23:31:24 +03:00
Kir_Antipov
53b7c10188
Fixed build errors presented by updated deps
2024-01-14 23:16:24 +03:00
Kir_Antipov
21760b2c91
Made error messages a bit more user-friendly
...
Closes #87
2024-01-14 22:52:08 +03:00
Kir_Antipov
3eb68e07b5
Added a way to infer version name from a filename
2024-01-14 22:49:53 +03:00
Kir_Antipov
dde2a04f94
Added message
parameter to throw helpers
2024-01-14 22:27:10 +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
Kir_Antipov
926b1a264b
Fixed regex generator returning non-global RegExp
2024-01-12 16:41:12 +03:00
Kir_Antipov
915ab6b52b
Fixed range normalizer returning undefined
2024-01-12 16:39:30 +03:00
Kir_Antipov
49c8e7d535
Added missing April Fools' versions to the lookup
2024-01-12 16:37:25 +03:00
Kir_Antipov
6e1bcb10b6
Fixed wildcard range parsing
...
Fixes #91
2024-01-03 22:00:13 +03:00
Kir_Antipov
0a3874adee
Better NeoForge support
...
Closes #85
2024-01-03 21:30:24 +03:00
Kir_Antipov
b34393cfcd
Fixed version resolution in releaseless context
...
Fixes #78
2024-01-03 20:32:59 +03:00
Kir_Antipov
86e7074aca
Fixed GitHub Release changelog overrides
...
Fixes #77
Fixes #90
2024-01-03 20:08:21 +03:00
Kir_Antipov
689f343a8c
Added filter for duplicate dependencies
...
Fixes #72
2024-01-03 19:20:40 +03:00
Kir_Antipov
69d94c54c3
CurseForge accepts loaders
only for mods
...
Fixes #69
2023-05-30 15:43:48 +03:00
Kir_Antipov
9cf54a3e8c
Logger should use friendly names of the platforms
2023-05-20 15:50:41 +03:00
Kir_Antipov
cf1e5a95bb
Added id
validation to CurseForge and Modrinth uploaders
2023-05-20 15:27:49 +03:00
Kir_Antipov
48e56214c9
id
can be read from metadata again
2023-05-20 15:21:21 +03:00
Kir_Antipov
4cf81648dc
Fixed default value resolution in ModrinthUploader
2023-05-20 15:11:48 +03:00