@quenty/linkutils 13.17.3 → 13.17.4-canary.11a5dcf.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/package.json +8 -8
- package/src/Shared/LinkUtils.lua +5 -4
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
|
+
## [13.17.4-canary.11a5dcf.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/linkutils@13.17.3...@quenty/linkutils@13.17.4-canary.11a5dcf.0) (2025-05-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Additional type checking updates ([05ba29a](https://github.com/Quenty/NevermoreEngine/commit/05ba29a03efc9f3feed74b34f1d9dfb237496214))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [13.17.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/linkutils@13.17.2...@quenty/linkutils@13.17.3) (2025-04-10)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/linkutils
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/linkutils",
|
|
3
|
-
"version": "13.17.
|
|
3
|
+
"version": "13.17.4-canary.11a5dcf.0",
|
|
4
4
|
"description": "Utility functions for links. Links are object values pointing to other values!",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/brio": "
|
|
29
|
-
"@quenty/instanceutils": "
|
|
30
|
-
"@quenty/loader": "
|
|
31
|
-
"@quenty/maid": "
|
|
32
|
-
"@quenty/promise": "
|
|
33
|
-
"@quenty/rx": "
|
|
28
|
+
"@quenty/brio": "14.17.4-canary.11a5dcf.0",
|
|
29
|
+
"@quenty/instanceutils": "13.17.4-canary.11a5dcf.0",
|
|
30
|
+
"@quenty/loader": "10.8.4-canary.11a5dcf.0",
|
|
31
|
+
"@quenty/maid": "3.4.4-canary.11a5dcf.0",
|
|
32
|
+
"@quenty/promise": "10.10.5-canary.11a5dcf.0",
|
|
33
|
+
"@quenty/rx": "13.17.4-canary.11a5dcf.0"
|
|
34
34
|
},
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "11a5dcf7d4c7a0bfbf3337e97d30e8346ea09d3f"
|
|
39
39
|
}
|
package/src/Shared/LinkUtils.lua
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
--!strict
|
|
1
2
|
--[=[
|
|
2
3
|
Utility functions for links. Links are an [ObjectValue] pointing to something else!
|
|
3
4
|
@class LinkUtils
|
|
@@ -5,8 +6,8 @@
|
|
|
5
6
|
|
|
6
7
|
local require = require(script.Parent.loader).load(script)
|
|
7
8
|
|
|
8
|
-
local promisePropertyValue = require("promisePropertyValue")
|
|
9
9
|
local promiseChild = require("promiseChild")
|
|
10
|
+
local promisePropertyValue = require("promisePropertyValue")
|
|
10
11
|
|
|
11
12
|
local LinkUtils = {}
|
|
12
13
|
|
|
@@ -37,11 +38,11 @@ end
|
|
|
37
38
|
@param from Instance
|
|
38
39
|
@return { Instance }
|
|
39
40
|
]=]
|
|
40
|
-
function LinkUtils.getAllLinkValues(linkName: string, from: Instance): {
|
|
41
|
+
function LinkUtils.getAllLinkValues(linkName: string, from: Instance): { Instance }
|
|
41
42
|
assert(type(linkName) == "string", "Bad linkName")
|
|
42
43
|
assert(typeof(from) == "Instance", "Bad from")
|
|
43
44
|
|
|
44
|
-
local linkValues = {}
|
|
45
|
+
local linkValues: { Instance } = {}
|
|
45
46
|
|
|
46
47
|
for _, item in from:GetChildren() do
|
|
47
48
|
if item:IsA("ObjectValue") and item.Name == linkName then
|
|
@@ -170,4 +171,4 @@ function LinkUtils.promiseLinkValue(maid, linkName: string, from: Instance)
|
|
|
170
171
|
end)
|
|
171
172
|
end
|
|
172
173
|
|
|
173
|
-
return LinkUtils
|
|
174
|
+
return LinkUtils
|