@quenty/binder 8.4.1 → 8.5.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
+ # [8.5.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/binder@8.4.1...@quenty/binder@8.5.0) (2023-01-01)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Cancel binder warning such that it will not warn upon failure to start if it's destroyed ([c88411e](https://github.com/Quenty/NevermoreEngine/commit/c88411e00fb1f7452a3189a8f0dd3de0b771c9ce))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [8.4.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/binder@8.4.0...@quenty/binder@8.4.1) (2022-12-27)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/binder
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/binder",
3
- "version": "8.4.1",
3
+ "version": "8.5.0",
4
4
  "description": "Utility object to Bind a class to Roblox object, and associated helper methods",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -26,17 +26,17 @@
26
26
  ],
27
27
  "dependencies": {
28
28
  "@quenty/baseobject": "^6.0.1",
29
- "@quenty/brio": "^8.2.1",
30
- "@quenty/instanceutils": "^7.3.1",
31
- "@quenty/linkutils": "^7.3.1",
29
+ "@quenty/brio": "^8.3.0",
30
+ "@quenty/instanceutils": "^7.4.0",
31
+ "@quenty/linkutils": "^7.4.0",
32
32
  "@quenty/loader": "^6.0.1",
33
33
  "@quenty/maid": "^2.4.0",
34
34
  "@quenty/promise": "^6.0.1",
35
35
  "@quenty/signal": "^2.3.0",
36
- "@quenty/valueobject": "^7.2.1"
36
+ "@quenty/valueobject": "^7.3.0"
37
37
  },
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "gitHead": "ff0c0732eca3400949945c58c1d3cb8a479c9789"
41
+ "gitHead": "b2393f15774341318803f9bdd1377a4aa9d2fb0e"
42
42
  }
@@ -78,10 +78,8 @@ function Binder.new(tagName, constructor, ...)
78
78
  self._listeners = {} -- [inst] = callback
79
79
  self._args = {...}
80
80
 
81
- task.delay(5, function()
82
- if not self._loaded then
83
- warn(("Binder %q is not loaded. Call :Start() on it!"):format(self._tagName))
84
- end
81
+ self._maid._warning = task.delay(5, function()
82
+ warn(("Binder %q is not loaded. Call :Start() on it!"):format(self._tagName))
85
83
  end)
86
84
 
87
85
  return self
@@ -120,6 +118,7 @@ function Binder:Start()
120
118
  if self._loaded then
121
119
  return
122
120
  end
121
+ self._maid._warning = nil
123
122
  self._loaded = true
124
123
 
125
124
  for _, inst in pairs(CollectionService:GetTagged(self._tagName)) do