@quenty/rogue-properties 11.21.1 → 11.21.2

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
+ ## [11.21.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rogue-properties@11.21.1...@quenty/rogue-properties@11.21.2) (2025-03-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * correct type assertion for index in __index function ([#539](https://github.com/Quenty/NevermoreEngine/issues/539)) ([7420942](https://github.com/Quenty/NevermoreEngine/commit/74209423be9746b6e44c049bcf8c7bdf08aae1b3))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [11.21.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rogue-properties@11.21.0...@quenty/rogue-properties@11.21.1) (2025-03-09)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/rogue-properties
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/rogue-properties",
3
- "version": "11.21.1",
3
+ "version": "11.21.2",
4
4
  "description": "Roguelike properties which can be modified by external provides",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -52,5 +52,5 @@
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  },
55
- "gitHead": "6721857f84fe0a63aa9eda4eb40e084921ba8534"
55
+ "gitHead": "daeb62b79f5f4670526774fd77a25aff25de8bc6"
56
56
  }
@@ -225,7 +225,7 @@ function RoguePropertyTable:__newindex(index, value)
225
225
  end
226
226
 
227
227
  function RoguePropertyTable:__index(index)
228
- assert(type(index) == "string", "Bad index")
228
+ assert(type(index) == "string" or type(index) == "number", "Bad index")
229
229
 
230
230
  if RoguePropertyTable[index] then
231
231
  return RoguePropertyTable[index]
@@ -259,4 +259,4 @@ function RoguePropertyTable:__index(index)
259
259
  end
260
260
  end
261
261
 
262
- return RoguePropertyTable
262
+ return RoguePropertyTable