@quenty/binder 14.18.2-canary.544.d46888c.0 → 14.18.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,7 +3,7 @@
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.18.2-canary.544.d46888c.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/binder@14.18.1...@quenty/binder@14.18.2-canary.544.d46888c.0) (2025-03-28)
6
+ ## [14.18.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/binder@14.18.1...@quenty/binder@14.18.2) (2025-03-31)
7
7
 
8
8
  **Note:** Version bump only for package @quenty/binder
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/binder",
3
- "version": "14.18.2-canary.544.d46888c.0",
3
+ "version": "14.18.2",
4
4
  "description": "Utility object to Bind a class to Roblox object, and associated helper methods",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,19 +25,19 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/baseobject": "10.8.0",
29
- "@quenty/brio": "14.16.2-canary.544.d46888c.0",
30
- "@quenty/instanceutils": "13.16.2-canary.544.d46888c.0",
31
- "@quenty/linkutils": "13.16.2-canary.544.d46888c.0",
32
- "@quenty/loader": "10.8.0",
33
- "@quenty/maid": "3.4.0",
34
- "@quenty/promise": "10.10.1",
35
- "@quenty/rx": "13.16.2-canary.544.d46888c.0",
36
- "@quenty/signal": "7.10.0",
37
- "@quenty/valueobject": "13.16.2-canary.544.d46888c.0"
28
+ "@quenty/baseobject": "^10.8.0",
29
+ "@quenty/brio": "^14.16.2",
30
+ "@quenty/instanceutils": "^13.16.2",
31
+ "@quenty/linkutils": "^13.16.2",
32
+ "@quenty/loader": "^10.8.0",
33
+ "@quenty/maid": "^3.4.0",
34
+ "@quenty/promise": "^10.10.1",
35
+ "@quenty/rx": "^13.16.2",
36
+ "@quenty/signal": "^7.10.0",
37
+ "@quenty/valueobject": "^13.16.2"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "d46888c8ff66a7c7df276948146279c58cc05a18"
42
+ "gitHead": "af926ec08f523833f37d22477c72dca034219823"
43
43
  }
@@ -4,40 +4,38 @@
4
4
 
5
5
  local require = require(game:GetService("ServerScriptService"):FindFirstChild("LoaderUtils", true).Parent).bootstrapStory(script)
6
6
 
7
- local Binder = require("Binder")
8
7
  local BinderProvider = require("BinderProvider")
9
- local Jest = require("Jest")
8
+ local Binder = require("Binder")
10
9
 
11
- local describe = Jest.Globals.describe
12
- local expect = Jest.Globals.expect
13
- local it = Jest.Globals.it
10
+ return function()
11
+ describe("BinderProvider.new()", function()
12
+ local provider
13
+ local initialized = false
14
14
 
15
- describe("BinderProvider.new()", function()
16
- local provider
17
- local initialized = false
15
+ it("should execute immediately", function()
16
+ provider = BinderProvider.new("BinderServiceName", function(self, arg)
17
+ initialized = true
18
+ assert(arg == 12345, "Bad arg")
18
19
 
19
- it("should execute immediately", function()
20
- provider = BinderProvider.new("BinderServiceName", function(self, arg)
21
- initialized = true
22
- assert(arg == 12345, "Bad arg")
20
+ self:Add(Binder.new("Test", function()
21
+ return { Destroy = function() end; }
22
+ end))
23
+ end)
23
24
 
24
- self:Add(Binder.new("Test", function()
25
- return { Destroy = function() end; }
26
- end))
25
+ expect(provider).to.be.a("table")
27
26
  end)
28
27
 
29
- expect(provider).to.be.a("table")
30
- end)
28
+ it("should initialize", function()
29
+ expect(initialized).to.equal(false)
30
+ provider:Init(12345)
31
+ expect(initialized).to.equal(true)
32
+ end)
31
33
 
32
- it("should initialize", function()
33
- expect(initialized).toEqual(false)
34
- provider:Init(12345)
35
- expect(initialized).toEqual(true)
36
- end)
34
+ it("should contain the binder", function()
35
+ expect(provider.Test).to.be.a("table")
36
+ end)
37
37
 
38
- it("should contain the binder", function()
39
- expect(provider.Test).to.be.a("table")
38
+ provider:Destroy()
40
39
  end)
41
40
 
42
- provider:Destroy()
43
- end)
41
+ end