@quenty/observablecollection 6.4.0 → 6.4.1-canary.d08dd64.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
+ ## [6.4.1-canary.d08dd64.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/observablecollection@6.4.0...@quenty/observablecollection@6.4.1-canary.d08dd64.0) (2024-01-01)
7
+
8
+
9
+ ### Features
10
+
11
+ * Add ObservableSet:GetRawSet() ([7a31f7e](https://github.com/Quenty/NevermoreEngine/commit/7a31f7ed8ab04c69d1098945f58d580cebdd29fb))
12
+
13
+
14
+
15
+
16
+
6
17
  # [6.4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/observablecollection@6.3.0...@quenty/observablecollection@6.4.0) (2023-12-28)
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": "6.4.0",
3
+ "version": "6.4.1-canary.d08dd64.0",
4
4
  "description": "A set of observable collections, such as sets, maps, sorted lists, and more.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -27,22 +27,22 @@
27
27
  "Quenty"
28
28
  ],
29
29
  "dependencies": {
30
- "@quenty/baseobject": "^7.1.0",
31
- "@quenty/brio": "^9.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/steputils": "^3.3.0",
38
- "@quenty/symbol": "^2.2.0",
39
- "@quenty/valueobject": "^8.3.0"
30
+ "@quenty/baseobject": "7.1.1-canary.d08dd64.0",
31
+ "@quenty/brio": "9.3.1-canary.d08dd64.0",
32
+ "@quenty/loader": "7.1.1-canary.d08dd64.0",
33
+ "@quenty/maid": "2.6.0",
34
+ "@quenty/promise": "7.1.1-canary.d08dd64.0",
35
+ "@quenty/rx": "8.3.1-canary.d08dd64.0",
36
+ "@quenty/signal": "3.1.1-canary.d08dd64.0",
37
+ "@quenty/steputils": "3.3.0",
38
+ "@quenty/symbol": "2.2.0",
39
+ "@quenty/valueobject": "8.3.1-canary.d08dd64.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@quenty/blend": "^7.3.0"
42
+ "@quenty/blend": "7.3.1-canary.d08dd64.0"
43
43
  },
44
44
  "publishConfig": {
45
45
  "access": "public"
46
46
  },
47
- "gitHead": "7440d02391695fa3e9c22f8c8285451ccfa32ad5"
47
+ "gitHead": "d08dd641615f51bc83b2fe46f11f41bd95acdec1"
48
48
  }
@@ -234,13 +234,18 @@ end
234
234
  @return { [T]: true }
235
235
  ]=]
236
236
  function ObservableSet:GetSetCopy()
237
- local set = {}
238
- for item, _ in pairs(self._set) do
239
- set[item] = true
240
- end
241
- return set
237
+ return table.clone(self._set)
238
+ end
239
+
240
+ --[=[
241
+ Gets the raw set. Do not modify this set.
242
+ @return { [T]: true }
243
+ ]=]
244
+ function ObservableSet:GetRawSet()
245
+ return self._set
242
246
  end
243
247
 
248
+
244
249
  --[=[
245
250
  Cleans up the ObservableSet and sets the metatable to nil.
246
251
  ]=]