@quenty/datastore 7.26.0 → 7.26.1-canary.413.3303b36.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
+ ## [7.26.1-canary.413.3303b36.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/datastore@7.26.0...@quenty/datastore@7.26.1-canary.413.3303b36.0) (2023-09-21)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Fix datastore writer copying non-table scenario ([3303b36](https://github.com/Quenty/NevermoreEngine/commit/3303b36511ca9a3d89ffa711dfc5723276166d55))
12
+
13
+
14
+
15
+
16
+
6
17
  # [7.26.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/datastore@7.25.2...@quenty/datastore@7.26.0) (2023-09-21)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/datastore
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/datastore",
3
- "version": "7.26.0",
3
+ "version": "7.26.1-canary.413.3303b36.0",
4
4
  "description": "Quenty's Datastore implementation for Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -26,21 +26,21 @@
26
26
  "Quenty"
27
27
  ],
28
28
  "dependencies": {
29
- "@quenty/baseobject": "^6.3.0",
30
- "@quenty/bindtocloseservice": "^2.21.0",
31
- "@quenty/loader": "^6.3.0",
32
- "@quenty/maid": "^2.6.0",
33
- "@quenty/math": "^2.5.0",
34
- "@quenty/promise": "^6.8.0",
35
- "@quenty/rx": "^7.16.0",
36
- "@quenty/servicebag": "^6.9.0",
37
- "@quenty/signal": "^2.4.0",
38
- "@quenty/symbol": "^2.2.0",
39
- "@quenty/table": "^3.3.0",
40
- "@quenty/valueobject": "^7.24.0"
29
+ "@quenty/baseobject": "6.3.0",
30
+ "@quenty/bindtocloseservice": "2.21.0",
31
+ "@quenty/loader": "6.3.0",
32
+ "@quenty/maid": "2.6.0",
33
+ "@quenty/math": "2.5.0",
34
+ "@quenty/promise": "6.8.0",
35
+ "@quenty/rx": "7.16.0",
36
+ "@quenty/servicebag": "6.9.0",
37
+ "@quenty/signal": "2.4.0",
38
+ "@quenty/symbol": "2.2.0",
39
+ "@quenty/table": "3.3.0",
40
+ "@quenty/valueobject": "7.24.0"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "gitHead": "fd634d0ed1918fc14bae8501aff1cc099d0537e7"
45
+ "gitHead": "3303b36511ca9a3d89ffa711dfc5723276166d55"
46
46
  }
@@ -252,7 +252,7 @@ function DataStoreWriter:_writeMergeWriters(original)
252
252
 
253
253
  -- Handle empty table scenario..
254
254
  -- This would also imply our original is nil somehow...
255
- if next(copy) == nil then
255
+ if type(copy) == "table" and next(copy) == nil then
256
256
  if type(self._saveDataSnapshot) ~= "table" then
257
257
  return nil
258
258
  end