@quenty/datastore 7.25.0 → 7.25.1-canary.409.ed39424.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 +12 -0
- package/package.json +14 -14
- package/src/Shared/Utility/DataStoreStringUtils.lua +7 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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.25.1-canary.409.ed39424.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/datastore@7.25.0...@quenty/datastore@7.25.1-canary.409.ed39424.0) (2023-09-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Fix actual code for data store match ([ed39424](https://github.com/Quenty/NevermoreEngine/commit/ed3942460c7abbd3f21f988e562d0e5b84aeec05))
|
|
12
|
+
* Fix issue where DataStoreStringUtils.isValidUTF8(str) may not detect invalid strings ([88682b0](https://github.com/Quenty/NevermoreEngine/commit/88682b0600be6642fd44dc9db09a124eca46433c))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
# [7.25.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/datastore@7.24.0...@quenty/datastore@7.25.0) (2023-09-04)
|
|
7
19
|
|
|
8
20
|
**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.25.0",
|
|
3
|
+
"version": "7.25.1-canary.409.ed39424.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": "
|
|
30
|
-
"@quenty/bindtocloseservice": "
|
|
31
|
-
"@quenty/loader": "
|
|
32
|
-
"@quenty/maid": "
|
|
33
|
-
"@quenty/math": "
|
|
34
|
-
"@quenty/promise": "
|
|
35
|
-
"@quenty/rx": "
|
|
36
|
-
"@quenty/servicebag": "
|
|
37
|
-
"@quenty/signal": "
|
|
38
|
-
"@quenty/symbol": "
|
|
39
|
-
"@quenty/table": "
|
|
40
|
-
"@quenty/valueobject": "
|
|
29
|
+
"@quenty/baseobject": "6.3.0",
|
|
30
|
+
"@quenty/bindtocloseservice": "2.20.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.15.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.23.0"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "ed3942460c7abbd3f21f988e562d0e5b84aeec05"
|
|
46
46
|
}
|
|
@@ -17,12 +17,16 @@ function DataStoreStringUtils.isValidUTF8(str)
|
|
|
17
17
|
return false, "Not a string"
|
|
18
18
|
end
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
if not utf8.len(str) then
|
|
21
|
+
return false, "Invalid string"
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
-- https://gist.github.com/TheGreatSageEqualToHeaven/e0e1dc2698307c93f6013b9825705899#patch-1
|
|
25
|
+
if string.match(str, "[^\0-\127]") then
|
|
22
26
|
return false, "Invalid string"
|
|
23
27
|
end
|
|
24
28
|
|
|
25
29
|
return true
|
|
26
30
|
end
|
|
27
31
|
|
|
28
|
-
return DataStoreStringUtils
|
|
32
|
+
return DataStoreStringUtils
|