@quenty/maid 3.5.0 → 3.5.1

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
+ ## [3.5.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/maid@3.5.0...@quenty/maid@3.5.1) (2026-01-03)
7
+
8
+ **Note:** Version bump only for package @quenty/maid
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.5.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/maid@3.4.3...@quenty/maid@3.5.0) (2025-05-10)
7
15
 
8
16
  **Note:** Version bump only for package @quenty/maid
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/maid",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "description": "Easily cleanup event listeners and objects in Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -29,5 +29,5 @@
29
29
  "publishConfig": {
30
30
  "access": "public"
31
31
  },
32
- "gitHead": "20cff952c2cf06b959f2f11d2293bdef38acc604"
32
+ "gitHead": "44e41814ddc3c14c3879320a10ed2d8e88103a4c"
33
33
  }
@@ -1,3 +1,4 @@
1
+ --!nonstrict
1
2
  --[[
2
3
  @class Maid.story
3
4
  ]]
@@ -1,3 +1,4 @@
1
+ --!strict
1
2
  --[=[
2
3
  Utility methods involving maids and tasks.
3
4
  @class MaidTaskUtils
@@ -39,7 +40,7 @@ end
39
40
 
40
41
  @param job MaidTask -- Task to execute
41
42
  ]=]
42
- function MaidTaskUtils.doTask(job: MaidTask)
43
+ function MaidTaskUtils.doTask(job: MaidTask): ()
43
44
  if typeof(job) == "function" then
44
45
  (job :: any)()
45
46
  elseif typeof(job) == "table" then
@@ -80,11 +81,11 @@ end
80
81
  @param job MaidTask -- Job to delay execution
81
82
  @return () -> () -- function that will execute the job delayed
82
83
  ]=]
83
- function MaidTaskUtils.delayed(time: number, job: MaidTask)
84
+ function MaidTaskUtils.delayed(time: number, job: MaidTask): () -> ()
84
85
  assert(type(time) == "number", "Bad time")
85
86
  assert(MaidTaskUtils.isValidTask(job), "Bad job")
86
87
 
87
- return function()
88
+ return function(): ()
88
89
  task.delay(time, function()
89
90
  MaidTaskUtils.doTask(job)
90
91
  end)
@@ -1,3 +1,4 @@
1
+ --!nonstrict
1
2
  -- Don't want to include loader here, so we do this instead
2
3
  local Maid = require(game.ServerScriptService.maid.Shared.Maid)
3
4