@quenty/binder 9.2.1-canary.13f8c62.0 → 9.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 CHANGED
@@ -3,12 +3,13 @@
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.1-canary.13f8c62.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/binder@9.2.0...@quenty/binder@9.2.1-canary.13f8c62.0) (2023-12-22)
6
+ # [9.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/binder@9.2.0...@quenty/binder@9.3.0) (2023-12-28)
7
7
 
8
8
 
9
9
  ### Bug Fixes
10
10
 
11
11
  * Add :HasTag() call to Binder ([13f8c62](https://github.com/Quenty/NevermoreEngine/commit/13f8c62d4d62675db0f7ebd42c32daf8e61bb904))
12
+ * Binder doesn't push stuff past lifetime of subscription ([f7d11a1](https://github.com/Quenty/NevermoreEngine/commit/f7d11a1c05ad6a8c7151952a2b5b89e93bbb5540))
12
13
 
13
14
 
14
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/binder",
3
- "version": "9.2.1-canary.13f8c62.0",
3
+ "version": "9.3.0",
4
4
  "description": "Utility object to Bind a class to Roblox object, and associated helper methods",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,19 +25,19 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/baseobject": "7.1.0",
29
- "@quenty/brio": "9.2.1-canary.13f8c62.0",
30
- "@quenty/instanceutils": "8.2.1-canary.13f8c62.0",
31
- "@quenty/linkutils": "8.2.1-canary.13f8c62.0",
32
- "@quenty/loader": "7.1.0",
33
- "@quenty/maid": "2.6.0",
34
- "@quenty/promise": "7.1.0",
35
- "@quenty/rx": "8.2.1-canary.13f8c62.0",
36
- "@quenty/signal": "3.1.0",
37
- "@quenty/valueobject": "8.2.1-canary.13f8c62.0"
28
+ "@quenty/baseobject": "^7.1.0",
29
+ "@quenty/brio": "^9.3.0",
30
+ "@quenty/instanceutils": "^8.3.0",
31
+ "@quenty/linkutils": "^8.3.0",
32
+ "@quenty/loader": "^7.1.0",
33
+ "@quenty/maid": "^2.6.0",
34
+ "@quenty/promise": "^7.1.0",
35
+ "@quenty/rx": "^8.3.0",
36
+ "@quenty/signal": "^3.1.0",
37
+ "@quenty/valueobject": "^8.3.0"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "13f8c62d4d62675db0f7ebd42c32daf8e61bb904"
42
+ "gitHead": "7440d02391695fa3e9c22f8c8285451ccfa32ad5"
43
43
  }
@@ -246,12 +246,18 @@ function Binder:ObserveAllBrio()
246
246
  maid:GiveTask(self:GetClassAddedSignal():Connect(handleNewClass))
247
247
 
248
248
  for _, item in pairs(self:GetAll()) do
249
+ if not sub:IsPending() then
250
+ break
251
+ end
252
+
249
253
  handleNewClass(item)
250
254
  end
251
255
 
252
- maid:GiveTask(self:GetClassRemovingSignal():Connect(function(class)
253
- maid[class] = nil
254
- end))
256
+ if sub:IsPending() then
257
+ maid:GiveTask(self:GetClassRemovingSignal():Connect(function(class)
258
+ maid[class] = nil
259
+ end))
260
+ end
255
261
 
256
262
  return maid
257
263
  end)