@quenty/loader 10.9.0 → 10.9.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 +8 -0
- package/package.json +2 -2
- package/src/init.lua +6 -5
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
|
+
## [10.9.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/loader@10.9.0...@quenty/loader@10.9.1) (2026-01-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/loader
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [10.9.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/loader@10.8.3...@quenty/loader@10.9.0) (2025-05-10)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @quenty/loader
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/loader",
|
|
3
|
-
"version": "10.9.
|
|
3
|
+
"version": "10.9.1",
|
|
4
4
|
"description": "A simple module loader for Roblox",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "44e41814ddc3c14c3879320a10ed2d8e88103a4c"
|
|
30
30
|
}
|
package/src/init.lua
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
--!nonstrict
|
|
1
2
|
--[=[
|
|
2
3
|
Primary loader which handles bootstrapping different scenarios quickly
|
|
3
4
|
|
|
@@ -26,7 +27,7 @@ local Loader = {}
|
|
|
26
27
|
Loader.__index = Loader
|
|
27
28
|
Loader.ClassName = "Loader"
|
|
28
29
|
|
|
29
|
-
function Loader.new(packages, replicationType)
|
|
30
|
+
function Loader.new(packages: Instance, replicationType: ReplicationType.ReplicationType)
|
|
30
31
|
assert(typeof(packages) == "Instance", "Bad packages")
|
|
31
32
|
assert(ReplicationTypeUtils.isReplicationType(replicationType), "Bad replicationType")
|
|
32
33
|
|
|
@@ -40,7 +41,7 @@ function Loader.new(packages, replicationType)
|
|
|
40
41
|
return self
|
|
41
42
|
end
|
|
42
43
|
|
|
43
|
-
function Loader.bootstrapGame(packages)
|
|
44
|
+
function Loader.bootstrapGame(packages: Instance)
|
|
44
45
|
assert(typeof(packages) == "Instance", "Bad packages")
|
|
45
46
|
|
|
46
47
|
local self = Loader.new(packages, ReplicationTypeUtils.inferReplicationType())
|
|
@@ -61,7 +62,7 @@ function Loader.bootstrapGame(packages)
|
|
|
61
62
|
return self
|
|
62
63
|
end
|
|
63
64
|
|
|
64
|
-
function Loader.bootstrapPlugin(packages)
|
|
65
|
+
function Loader.bootstrapPlugin(packages: Instance)
|
|
65
66
|
assert(typeof(packages) == "Instance", "Bad packages")
|
|
66
67
|
|
|
67
68
|
local self = Loader.new(packages, ReplicationType.PLUGIN)
|
|
@@ -73,7 +74,7 @@ function Loader.bootstrapPlugin(packages)
|
|
|
73
74
|
return self
|
|
74
75
|
end
|
|
75
76
|
|
|
76
|
-
function Loader.bootstrapStory(storyScript)
|
|
77
|
+
function Loader.bootstrapStory(storyScript: Instance)
|
|
77
78
|
assert(typeof(storyScript) == "Instance", "Bad storyScript")
|
|
78
79
|
|
|
79
80
|
-- Prepopulate global package roots
|
|
@@ -94,7 +95,7 @@ function Loader.bootstrapStory(storyScript)
|
|
|
94
95
|
return self
|
|
95
96
|
end
|
|
96
97
|
|
|
97
|
-
function Loader.load(packagesOrModuleScript)
|
|
98
|
+
function Loader.load(packagesOrModuleScript: Instance)
|
|
98
99
|
assert(typeof(packagesOrModuleScript) == "Instance", "Bad packagesOrModuleScript")
|
|
99
100
|
|
|
100
101
|
local self = Loader.new(packagesOrModuleScript, ReplicationTypeUtils.inferReplicationType())
|