@quenty/loader 10.7.1 → 10.8.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,17 @@
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.8.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/loader@10.7.1...@quenty/loader@10.8.0) (2025-02-18)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Support loading in plugins ([d7799a4](https://github.com/Quenty/NevermoreEngine/commit/d7799a445662245f9bb75c977e3307996bca2577))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [10.7.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/loader@10.7.0...@quenty/loader@10.7.1) (2024-11-04)
7
18
 
8
19
  **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.7.1",
3
+ "version": "10.8.0",
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": "01c43a0ddd3c5e0cb2d9027313dbfa9852eedef1"
29
+ "gitHead": "184a407d8d7366c39009444c3c9a7023cb176471"
30
30
  }
@@ -23,8 +23,8 @@ local function waitForValue(objectValue)
23
23
  end
24
24
 
25
25
  local loader = waitForValue(script:WaitForChild("LoaderLink"))
26
- if not loader:IsDescendantOf(game) then
27
- error("[LoaderLink] - Cannot load loader that is unparented from game")
26
+ if not (loader:IsDescendantOf(game) or loader:FindFirstAncestorWhichIsA("Plugin")) then
27
+ error("[LoaderLink] - Cannot load loader that is unparented from game or plugin")
28
28
  end
29
29
 
30
30
  return require(loader)