@quenty/valuebaseutils 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 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/valuebaseutils@13.17.3...@quenty/valuebaseutils@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/valuebaseutils@13.17.2...@quenty/valuebaseutils@13.17.3) (2025-04-10)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/valuebaseutils
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/valuebaseutils",
3
- "version": "13.17.3",
3
+ "version": "13.17.4-canary.11a5dcf.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.17.3",
29
- "@quenty/instanceutils": "^13.17.3",
30
- "@quenty/loader": "^10.8.3",
31
- "@quenty/promise": "^10.10.4",
32
- "@quenty/rx": "^13.17.3",
33
- "@quenty/rxsignal": "^7.17.3"
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/promise": "10.10.5-canary.11a5dcf.0",
32
+ "@quenty/rx": "13.17.4-canary.11a5dcf.0",
33
+ "@quenty/rxsignal": "7.17.4-canary.11a5dcf.0"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "b06c070ae91d5dab7bd8de6e290ad2caabb15d8f"
38
+ "gitHead": "11a5dcf7d4c7a0bfbf3337e97d30e8346ea09d3f"
39
39
  }
@@ -5,10 +5,11 @@
5
5
 
6
6
  local require = require(script.Parent.loader).load(script)
7
7
 
8
- local RxInstanceUtils = require("RxInstanceUtils")
8
+ local Brio = require("Brio")
9
+ local Observable = require("Observable")
10
+ local Rx = require("Rx")
9
11
  local RxBrioUtils = require("RxBrioUtils")
10
- local _Observable = require("Observable")
11
- local _Brio = require("Brio")
12
+ local RxInstanceUtils = require("RxInstanceUtils")
12
13
 
13
14
  local RxValueBaseUtils = {}
14
15
 
@@ -25,8 +26,8 @@ function RxValueBaseUtils.observeBrio(
25
26
  parent: Instance,
26
27
  className: string,
27
28
  name: string,
28
- predicate: ((any) -> boolean)?
29
- ): _Observable.Observable<_Brio.Brio<any>>
29
+ predicate: Rx.Predicate<any>?
30
+ ): Observable.Observable<Brio.Brio<any>>
30
31
  assert(typeof(parent) == "Instance", "Bad parent")
31
32
  assert(type(className) == "string", "Bad className")
32
33
  assert(type(name) == "string", "Bad naem")
@@ -34,7 +35,7 @@ function RxValueBaseUtils.observeBrio(
34
35
  return RxInstanceUtils.observeLastNamedChildBrio(parent, className, name):Pipe({
35
36
  RxBrioUtils.switchMapBrio(RxValueBaseUtils.observeValue) :: any,
36
37
  RxBrioUtils.onlyLastBrioSurvives() :: any,
37
- if predicate then RxBrioUtils.where(predicate) else nil :: never,
38
+ if predicate then RxBrioUtils.where(predicate) :: any else nil :: never,
38
39
  }) :: any
39
40
  end
40
41
 
@@ -52,7 +53,7 @@ function RxValueBaseUtils.observe(
52
53
  className: string,
53
54
  name: string,
54
55
  defaultValue: any?
55
- ): _Observable.Observable<any>
56
+ ): Observable.Observable<any>
56
57
  assert(typeof(parent) == "Instance", "Bad parent")
57
58
  assert(type(className) == "string", "Bad className")
58
59
  assert(type(name) == "string", "Bad name")
@@ -62,16 +63,15 @@ function RxValueBaseUtils.observe(
62
63
  }) :: any
63
64
  end
64
65
 
65
-
66
66
  --[=[
67
67
  Observables a given value object's value
68
68
  @param valueObject Instance
69
69
  @return Observable<T>
70
70
  ]=]
71
- function RxValueBaseUtils.observeValue(valueObject): _Observable.Observable<any>
71
+ function RxValueBaseUtils.observeValue(valueObject: ValueBase): Observable.Observable<any>
72
72
  assert(typeof(valueObject) == "Instance", "Bad valueObject")
73
73
 
74
74
  return RxInstanceUtils.observeProperty(valueObject, "Value")
75
75
  end
76
76
 
77
- return RxValueBaseUtils
77
+ return RxValueBaseUtils
@@ -218,4 +218,4 @@ function ValueBaseUtils.createGetSet(instanceType: ValueBaseType, name: string)
218
218
  end
219
219
  end
220
220
 
221
- return ValueBaseUtils
221
+ return ValueBaseUtils
@@ -8,12 +8,12 @@ local require = require(script.Parent.loader).load(script)
8
8
 
9
9
  local RunService = game:GetService("RunService")
10
10
 
11
+ local Brio = require("Brio")
12
+ local Observable = require("Observable")
11
13
  local Rx = require("Rx")
12
14
  local RxSignal = require("RxSignal")
13
15
  local RxValueBaseUtils = require("RxValueBaseUtils")
14
16
  local ValueBaseUtils = require("ValueBaseUtils")
15
- local _Observable = require("Observable")
16
- local _Brio = require("Brio")
17
17
 
18
18
  local ValueBaseValue = {}
19
19
  ValueBaseValue.ClassName = "ValueBaseValue"
@@ -76,7 +76,7 @@ end
76
76
  function ValueBaseValue.ObserveBrio(
77
77
  self: ValueBaseValue,
78
78
  predicate: Rx.Predicate<any>?
79
- ): _Observable.Observable<_Brio.Brio<any>>
79
+ ): Observable.Observable<Brio.Brio<any>>
80
80
  return RxValueBaseUtils.observeBrio(self._parent, self._className, self._name, predicate)
81
81
  end
82
82
 
@@ -85,7 +85,7 @@ end
85
85
 
86
86
  @return Observable<any>
87
87
  ]=]
88
- function ValueBaseValue.Observe(self: ValueBaseValue): _Observable.Observable<any>
88
+ function ValueBaseValue.Observe(self: ValueBaseValue): Observable.Observable<any>
89
89
  return RxValueBaseUtils.observe(self._parent, self._className, self._name, self._defaultValue)
90
90
  end
91
91
 
@@ -111,4 +111,4 @@ function ValueBaseValue.__newindex(self: ValueBaseValue, index, value)
111
111
  end
112
112
  end
113
113
 
114
- return ValueBaseValue
114
+ return ValueBaseValue