@quenty/lipsum 14.5.1 → 14.5.2-canary.497.2df557a.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
+ ## [14.5.2-canary.497.2df557a.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/lipsum@14.5.1...@quenty/lipsum@14.5.2-canary.497.2df557a.0) (2024-09-20)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Rename `:gsub()` to `string.gsub` ([9a730cb](https://github.com/Quenty/NevermoreEngine/commit/9a730cbd7001706787c5e5db0efe2306b2234b3a))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [14.5.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/lipsum@14.5.0...@quenty/lipsum@14.5.1) (2024-09-20)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/lipsum
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/lipsum",
3
- "version": "14.5.1",
3
+ "version": "14.5.2-canary.497.2df557a.0",
4
4
  "description": "A Lorem Ipsum generator in Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -27,17 +27,17 @@
27
27
  "Quenty"
28
28
  ],
29
29
  "dependencies": {
30
- "@quenty/loader": "^10.4.0",
31
- "@quenty/randomutils": "^6.4.0",
32
- "@quenty/string": "^3.2.0"
30
+ "@quenty/loader": "10.4.1-canary.497.2df557a.0",
31
+ "@quenty/randomutils": "6.4.1-canary.497.2df557a.0",
32
+ "@quenty/string": "3.2.1-canary.497.2df557a.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@quenty/maid": "^3.3.0",
36
- "@quenty/textserviceutils": "^13.5.1",
37
- "@quenty/uiobjectutils": "^6.4.1"
35
+ "@quenty/maid": "3.3.0",
36
+ "@quenty/textserviceutils": "13.5.2-canary.497.2df557a.0",
37
+ "@quenty/uiobjectutils": "6.4.2-canary.497.2df557a.0"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "a0dc70feb2e9ae87eccca4193951975ff59b7aae"
42
+ "gitHead": "2df557a9a5463c2c7beb257ff9f7786ac8ad746a"
43
43
  }
@@ -35,13 +35,13 @@ function LipsumUtils.username(random)
35
35
  -- leet speak
36
36
  if random:NextNumber() <= 0.5 then
37
37
  if random:NextNumber() <= 0.75 then
38
- word = word:gsub("o", "0")
38
+ word = string.gsub(word, "o", "0")
39
39
  end
40
40
  if random:NextNumber() <= 0.75 then
41
- word = word:gsub("i", "1")
41
+ word = string.gsub(word, "i", "1")
42
42
  end
43
43
  if random:NextNumber() <= 0.75 then
44
- word = word:gsub("l", "1")
44
+ word = string.gsub(word, "l", "1")
45
45
  end
46
46
  end
47
47
 
@@ -49,7 +49,7 @@ function LipsumUtils.username(random)
49
49
  if number <= 0.1 then
50
50
  return "xXx" .. RandomUtils.choice(WORDS) .. "xXx"
51
51
  elseif number <= 0.6 then
52
- return ("%s%03d"):format(word, random:NextInteger(0, 999))
52
+ return string.format("%s%03d", word, random:NextInteger(0, 999))
53
53
  else
54
54
  return word
55
55
  end