@quenty/observablecollection 2.1.0 → 2.1.1-canary.256.3cf0683.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 +9 -9
- package/src/Shared/ObservableSet.lua +4 -1
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
|
+
## [2.1.1-canary.256.3cf0683.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/observablecollection@2.1.0...@quenty/observablecollection@2.1.1-canary.256.3cf0683.0) (2022-03-27)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Do not error if observable set is already cleaned up, but we're removing ([934d3ac](https://github.com/Quenty/NevermoreEngine/commit/934d3ac0dc97e8a7ee65473109d26446b5ce77ed))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [2.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/observablecollection@2.0.0...@quenty/observablecollection@2.1.0) (2022-03-10)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/observablecollection
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/observablecollection",
|
|
3
|
-
"version": "2.1.0",
|
|
3
|
+
"version": "2.1.1-canary.256.3cf0683.0",
|
|
4
4
|
"description": "An observable set",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"Quenty"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@quenty/brio": "
|
|
31
|
-
"@quenty/loader": "
|
|
32
|
-
"@quenty/maid": "
|
|
33
|
-
"@quenty/promise": "
|
|
34
|
-
"@quenty/rx": "
|
|
35
|
-
"@quenty/signal": "
|
|
36
|
-
"@quenty/valuebaseutils": "
|
|
30
|
+
"@quenty/brio": "5.1.1-canary.256.3cf0683.0",
|
|
31
|
+
"@quenty/loader": "4.0.1-canary.256.3cf0683.0",
|
|
32
|
+
"@quenty/maid": "2.2.1-canary.256.3cf0683.0",
|
|
33
|
+
"@quenty/promise": "4.1.1-canary.256.3cf0683.0",
|
|
34
|
+
"@quenty/rx": "4.1.1-canary.256.3cf0683.0",
|
|
35
|
+
"@quenty/signal": "2.1.1-canary.256.3cf0683.0",
|
|
36
|
+
"@quenty/valuebaseutils": "4.1.1-canary.256.3cf0683.0"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "3cf06830affe1e6a6ca452a87969520cd941ccaa"
|
|
42
42
|
}
|
|
@@ -156,7 +156,10 @@ function ObservableSet:Remove(item)
|
|
|
156
156
|
if self._set[item] then
|
|
157
157
|
self._countValue.Value = self._countValue.Value - 1
|
|
158
158
|
self._set[item] = nil
|
|
159
|
-
|
|
159
|
+
|
|
160
|
+
if self.Destroy then
|
|
161
|
+
self.ItemRemoved:Fire(item)
|
|
162
|
+
end
|
|
160
163
|
end
|
|
161
164
|
end
|
|
162
165
|
|