@quenty/string 3.3.3 → 3.3.4-canary.90de6eb.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,14 @@
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
+ ## [3.3.4-canary.90de6eb.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/string@3.3.3...@quenty/string@3.3.4-canary.90de6eb.0) (2026-01-03)
7
+
8
+ **Note:** Version bump only for package @quenty/string
9
+
10
+
11
+
12
+
13
+
6
14
  ## [3.3.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/string@3.3.1...@quenty/string@3.3.3) (2025-04-07)
7
15
 
8
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/string",
3
- "version": "3.3.3",
3
+ "version": "3.3.4-canary.90de6eb.0",
4
4
  "description": "This module provides utility functions for strings",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -28,5 +28,5 @@
28
28
  "publishConfig": {
29
29
  "access": "public"
30
30
  },
31
- "gitHead": "64def70499ec067077ee39f279936b620b217847"
31
+ "gitHead": "90de6ebb6e0cb5e6798e08b312cb1864c1d3354c"
32
32
  }
@@ -192,7 +192,7 @@ end
192
192
  @param seperator string?
193
193
  @return string
194
194
  ]=]
195
- function String.addCommas(number: string | number, seperator: string): string
195
+ function String.addCommas(number: string | number, seperator: string?): string
196
196
  local strNumber
197
197
  if type(number) == "number" then
198
198
  strNumber = tostring(number)
@@ -201,6 +201,8 @@ function String.addCommas(number: string | number, seperator: string): string
201
201
  end
202
202
  seperator = seperator or ","
203
203
 
204
+ assert(seperator ~= nil, "Typechecking requires assertion")
205
+
204
206
  local index = -1
205
207
 
206
208
  while index ~= 0 do