@quenty/defaultvalueutils 1.2.2 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE.md +1 -1
- package/package.json +2 -2
- package/src/Shared/DefaultValueUtils.lua +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/defaultvalueutils@1.2.2...@quenty/defaultvalueutils@1.3.0) (2026-01-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Add more typing ([f32615e](https://github.com/Quenty/NevermoreEngine/commit/f32615ec9d846a1a4392a3b21a0f594e8d420b44))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [1.2.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/defaultvalueutils@1.2.0...@quenty/defaultvalueutils@1.2.2) (2025-04-07)
|
|
7
18
|
|
|
8
19
|
|
package/LICENSE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2014-
|
|
3
|
+
Copyright (c) 2014-2026 James Onnen (Quenty)
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/defaultvalueutils",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Helps get the default or zero value for value types in Roblox",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "540aa2a77acbb6c9c5967fe4417400a903df2c2c"
|
|
31
31
|
}
|
|
@@ -43,7 +43,7 @@ local DEFAULT_VALUES = {
|
|
|
43
43
|
@param typeOfName string
|
|
44
44
|
@return any
|
|
45
45
|
]=]
|
|
46
|
-
function DefaultValueUtils.getDefaultValueForType(typeOfName: string)
|
|
46
|
+
function DefaultValueUtils.getDefaultValueForType(typeOfName: string): any
|
|
47
47
|
if DEFAULT_VALUES[typeOfName] ~= nil then
|
|
48
48
|
return DEFAULT_VALUES[typeOfName]
|
|
49
49
|
elseif typeOfName == "table" then
|