Commit Graph

13 Commits

Author SHA1 Message Date
Linden
fb2225e373 chore: add copyright notices to each file
Some people accidentally, mistakenly, and without any malicious intent forget to attribute code from this resource to its source. This change will hopefully assist people, so that they do not make that mistake again.
2025-03-18 18:46:09 +11:00
Linden
fffdcd9999 fix(require/loadJson): correct path for json files 2024-04-09 20:02:35 +10:00
Linden
1ff845a451 refactor(require): cleanup and improve debug info 2024-04-06 15:59:26 +11:00
Linden
56b99a7657 refactor(require): improve module resolution and debugging info
- Improved error messages.
- Include checked file paths on failed module resolution.
- Moved repeated code into separate functions.
- Workaround for incorrect "circular-dependency" error.
- Added additional package.path "./?/init.lua".
- Added support for package.searchers.
2024-04-05 21:53:48 +11:00
Linden
09ca963f26 refactor(resource): load extra modules 2024-04-01 19:15:04 +11:00
Kenshin13
acfb665459 fix(imports/require): resource source extraction in getModuleInfo (#504) 2024-02-24 01:17:06 +11:00
David Malchin
744744c147 fix(require): return false when module returns false (#502) 2024-02-17 22:04:36 +11:00
Linden
0c2f0ec68e fix(require): chunk name and error path for load/loadjson 2023-12-19 09:04:29 +11:00
Linden
048edfa86f feat(require): add load/loadjson functions 2023-12-07 18:24:14 +11:00
FjamZoo
e72c9bc1c8 fix(require): support asset protection garbage (#443) 2023-11-08 02:07:54 +11:00
Linden
699884aa17 feat(require): external module support for require (#422) 2023-09-19 20:25:17 +10:00
Linden
594fa73bfd refactor(require): use error from Lua_require on failed load 2023-08-13 08:55:54 +10:00
Linden
7ab2aac9be feat(imports/require): custom require for script files 2023-02-22 09:53:58 +11:00