@quenty/valuebaseutils 13.5.1-canary.499.60b3012.0 → 13.6.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 CHANGED
@@ -3,7 +3,7 @@
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.5.1-canary.499.60b3012.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/valuebaseutils@13.5.0...@quenty/valuebaseutils@13.5.1-canary.499.60b3012.0) (2024-09-24)
6
+ # [13.6.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/valuebaseutils@13.5.0...@quenty/valuebaseutils@13.6.0) (2024-09-25)
7
7
 
8
8
  **Note:** Version bump only for package @quenty/valuebaseutils
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/valuebaseutils",
3
- "version": "13.5.1-canary.499.60b3012.0",
3
+ "version": "13.6.0",
4
4
  "description": "Provides utilities for working with valuesbase objects, like IntValue or ObjectValue in Roblox.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,15 +25,15 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/brio": "14.5.1-canary.499.60b3012.0",
29
- "@quenty/instanceutils": "13.5.1-canary.499.60b3012.0",
30
- "@quenty/loader": "10.4.0",
31
- "@quenty/promise": "10.4.0",
32
- "@quenty/rx": "13.5.1-canary.499.60b3012.0",
33
- "@quenty/rxsignal": "7.5.1-canary.499.60b3012.0"
28
+ "@quenty/brio": "^14.6.0",
29
+ "@quenty/instanceutils": "^13.6.0",
30
+ "@quenty/loader": "^10.5.0",
31
+ "@quenty/promise": "^10.5.0",
32
+ "@quenty/rx": "^13.6.0",
33
+ "@quenty/rxsignal": "^7.6.0"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "60b3012c35a2bf7c3c6a01ec440f9d639b9ad0cc"
38
+ "gitHead": "41715b15e2b48b2d22ff4f5277a8d4b7a0d32ef3"
39
39
  }
@@ -80,8 +80,7 @@ function ValueBaseUtils.getOrCreateValue(parent, instanceType, name, defaultValu
80
80
  local foundChild = parent:FindFirstChild(name)
81
81
  if foundChild then
82
82
  if not foundChild:IsA(instanceType) then
83
- warn(("[ValueBaseUtils.getOrCreateValue] - Value of type %q of name %q is of type %q in %s instead")
84
- :format(instanceType, name, foundChild.ClassName, foundChild:GetFullName()))
83
+ warn(string.format("[ValueBaseUtils.getOrCreateValue] - Value of type %q of name %q is of type %q in %s instead", instanceType, name, foundChild.ClassName, foundChild:GetFullName()))
85
84
  end
86
85
 
87
86
  return foundChild
@@ -112,8 +111,7 @@ function ValueBaseUtils.setValue(parent, instanceType, name, value)
112
111
  local foundChild = parent:FindFirstChild(name)
113
112
  if foundChild then
114
113
  if not foundChild:IsA(instanceType) then
115
- warn(("[ValueBaseUtils.setValue] - Value of type %q of name %q is of type %q in %s instead")
116
- :format(instanceType, name, foundChild.ClassName, foundChild:GetFullName()))
114
+ warn(string.format("[ValueBaseUtils.setValue] - Value of type %q of name %q is of type %q in %s instead", instanceType, name, foundChild.ClassName, foundChild:GetFullName()))
117
115
  end
118
116
 
119
117
  foundChild.Value = value
@@ -144,8 +142,7 @@ function ValueBaseUtils.getValue(parent, instanceType, name, default)
144
142
  if foundChild:IsA(instanceType) then
145
143
  return foundChild.Value
146
144
  else
147
- warn(("[ValueBaseUtils.getValue] - Value of type %q of name %q is of type %q in %s instead")
148
- :format(instanceType, name, foundChild.ClassName, foundChild:GetFullName()))
145
+ warn(string.format("[ValueBaseUtils.getValue] - Value of type %q of name %q is of type %q in %s instead", instanceType, name, foundChild.ClassName, foundChild:GetFullName()))
149
146
  return nil
150
147
  end
151
148
  else
@@ -55,7 +55,7 @@ function ValueBaseValue:__index(index)
55
55
  elseif ValueBaseValue[index] or index == "_defaultValue" then
56
56
  return ValueBaseValue[index]
57
57
  else
58
- error(("%q is not a member of ValueBaseValue"):format(tostring(index)))
58
+ error(string.format("%q is not a member of ValueBaseValue", tostring(index)))
59
59
  end
60
60
  end
61
61
 
@@ -63,7 +63,7 @@ function ValueBaseValue:__newindex(index, value)
63
63
  if index == "Value" then
64
64
  ValueBaseUtils.setValue(self._parent, self._className, self._name, value)
65
65
  else
66
- error(("%q is not a member of ValueBaseValue"):format(tostring(index)))
66
+ error(string.format("%q is not a member of ValueBaseValue", tostring(index)))
67
67
  end
68
68
  end
69
69