@quenty/ducktype 5.5.0 → 5.6.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
+ # [5.6.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/ducktype@5.5.0...@quenty/ducktype@5.6.0) (2024-10-04)
7
+
8
+ **Note:** Version bump only for package @quenty/ducktype
9
+
10
+
11
+
12
+
13
+
6
14
  # [5.5.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/ducktype@5.4.0...@quenty/ducktype@5.5.0) (2024-09-25)
7
15
 
8
16
  **Note:** Version bump only for package @quenty/ducktype
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/ducktype",
3
- "version": "5.5.0",
3
+ "version": "5.6.0",
4
4
  "description": "Utility functions to duck type a value",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,10 +25,10 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/loader": "^10.5.0"
28
+ "@quenty/loader": "^10.6.0"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "public"
32
32
  },
33
- "gitHead": "41715b15e2b48b2d22ff4f5277a8d4b7a0d32ef3"
33
+ "gitHead": "035abfa088c854a73e1c65b350267eaa17669646"
34
34
  }
@@ -28,7 +28,7 @@ function DuckTypeUtils._checkInterface(template, target)
28
28
  if targetMetatable and type(targetMetatable.__index) == "function" then
29
29
  -- Indexing into this target could cause an error. Treat it differently and fast-fail
30
30
  if templateMetatable then
31
- return targetMetatable.__index == templateMetatable.__index
31
+ return templateMetatable.__index == targetMetatable.__index
32
32
  end
33
33
 
34
34
  return false