@quenty/spring 7.2.0 → 8.0.0-canary.439.eb597ee.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
+ # [8.0.0-canary.439.eb597ee.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/spring@7.2.0...@quenty/spring@8.0.0-canary.439.eb597ee.0) (2024-01-17)
7
+
8
+ **Note:** Version bump only for package @quenty/spring
9
+
10
+
11
+
12
+
13
+
6
14
  # [7.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/spring@7.1.0...@quenty/spring@7.2.0) (2024-01-08)
7
15
 
8
16
  **Note:** Version bump only for package @quenty/spring
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/spring",
3
- "version": "7.2.0",
3
+ "version": "8.0.0-canary.439.eb597ee.0",
4
4
  "description": "Spring implementation for Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -29,7 +29,8 @@
29
29
  "access": "public"
30
30
  },
31
31
  "dependencies": {
32
- "@quenty/loader": "^7.3.0"
32
+ "@quenty/ducktype": "3.0.0-canary.439.eb597ee.0",
33
+ "@quenty/loader": "8.0.0-canary.439.eb597ee.0"
33
34
  },
34
- "gitHead": "075fb03a03f12ade8758f667767ba738204e0c4b"
35
+ "gitHead": "eb597ee01e62e4dd91190bb7abd1d1404652d5ff"
35
36
  }
@@ -3,6 +3,11 @@
3
3
 
4
4
  @class LinearValue
5
5
  ]=]
6
+
7
+ local require = require(script.Parent.loader).load(script)
8
+
9
+ local DuckTypeUtils = require("DuckTypeUtils")
10
+
6
11
  local LinearValue = {}
7
12
  LinearValue.ClassName = "LinearValue"
8
13
  LinearValue.__index = LinearValue
@@ -28,7 +33,7 @@ end
28
33
  @return boolean -- True if a linear value, false otherwise
29
34
  ]=]
30
35
  function LinearValue.isLinear(value)
31
- return type(value) == "table" and getmetatable(value) == LinearValue
36
+ return DuckTypeUtils.isImplementation(LinearValue, value)
32
37
  end
33
38
 
34
39
  --[=[