@quenty/attributeutils 9.1.1 → 9.2.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 +12 -0
- package/package.json +8 -7
- package/src/Shared/AttributeValue.lua +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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
|
+
# [9.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/attributeutils@9.1.1...@quenty/attributeutils@9.2.0) (2023-12-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Add AttributeTableValue.new(adornee, defaultValues) which allows for a cleaner use of multiple attributes being returned or indexed into. ([a2f2aa1](https://github.com/Quenty/NevermoreEngine/commit/a2f2aa1ebe049eb36e9c623a8e96216cba93a1d3))
|
|
12
|
+
* Refactor AttributeTableValue to support non-attibute values. ([17af0b6](https://github.com/Quenty/NevermoreEngine/commit/17af0b6bbc46b31e70cf067aa41d88d2b7717cc7))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
## [9.1.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/attributeutils@9.1.0...@quenty/attributeutils@9.1.1) (2023-10-28)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @quenty/attributeutils
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/attributeutils",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.2.0",
|
|
4
4
|
"description": "Provides utility functions to work with attributes in Roblox",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,16 +25,17 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/brio": "^9.
|
|
29
|
-
"@quenty/canceltoken": "^7.
|
|
30
|
-
"@quenty/loader": "^7.
|
|
28
|
+
"@quenty/brio": "^9.2.0",
|
|
29
|
+
"@quenty/canceltoken": "^7.1.0",
|
|
30
|
+
"@quenty/loader": "^7.1.0",
|
|
31
31
|
"@quenty/maid": "^2.6.0",
|
|
32
|
-
"@quenty/promise": "^7.
|
|
33
|
-
"@quenty/rx": "^8.
|
|
32
|
+
"@quenty/promise": "^7.1.0",
|
|
33
|
+
"@quenty/rx": "^8.2.0",
|
|
34
|
+
"@quenty/rxsignal": "^2.2.0",
|
|
34
35
|
"@quenty/symbol": "^2.2.0"
|
|
35
36
|
},
|
|
36
37
|
"publishConfig": {
|
|
37
38
|
"access": "public"
|
|
38
39
|
},
|
|
39
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "2c2dbbc0cb2fbb46b4f3270c559c63890fe18b26"
|
|
40
41
|
}
|
|
@@ -96,7 +96,7 @@ function AttributeValue:__index(index)
|
|
|
96
96
|
elseif AttributeValue[index] then
|
|
97
97
|
return AttributeValue[index]
|
|
98
98
|
else
|
|
99
|
-
error(("%q is not a member of AttributeValue"
|
|
99
|
+
error(string.format("%q is not a member of AttributeValue", tostring(index)))
|
|
100
100
|
end
|
|
101
101
|
end
|
|
102
102
|
|
|
@@ -104,7 +104,7 @@ function AttributeValue:__newindex(index, value)
|
|
|
104
104
|
if index == "Value" then
|
|
105
105
|
self._object:SetAttribute(rawget(self, "_attributeName"), value)
|
|
106
106
|
else
|
|
107
|
-
error(("%q is not a member of AttributeValue"
|
|
107
|
+
error(string.format("%q is not a member of AttributeValue", tostring(index)))
|
|
108
108
|
end
|
|
109
109
|
end
|
|
110
110
|
|