@thigasdevelopment/luam 0.4.1 → 0.5.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.
Files changed (3) hide show
  1. package/README.md +2 -3
  2. package/luam.mjs +14096 -10784
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -490,7 +490,7 @@ local vip = new VIPPlayer('Thigas', 2)
490
490
  | Comments | `# line` and `#* block *#`; write length without a space as `#items` |
491
491
  | Object extensions | `items.count` → `table.size(items)`, `name.trim`, `ratio.clamp(a, b)` |
492
492
  | Multi-return | `local x, y, z = getElementPosition(el)` — typed from the MTA catalog |
493
- | `export` | Erased from the Lua, written into `meta.xml` as `<export function="f" />` |
493
+ | `export` | Erased from the Lua, written into `meta.xml` as `<export function="f" http="false" />` |
494
494
  | Native libraries | `sleep` plus the `Threads`, `Async` and `Dotenv` classes, injected only when named |
495
495
  | Native classes | `local tasks = new Async(100)` — same `new` as a project class |
496
496
  | MTA OOP classes | `Player.getRandom()`, `File.exists(path)`, and callable constructors such as `File(path)` |
@@ -681,8 +681,7 @@ node packages/lsp/dist/luam-lsp.mjs --stdio
681
681
  - **No static members, declared metamethods, or generic classes.**
682
682
  - **The editor does not re-check an open file when another one changes.**
683
683
  Cross-module violations surface in `luam check`.
684
- - **An export is named, never verified**, and cannot carry an attribute such as
685
- `http="true"`.
684
+ - **An export is named, never verified** against the side that calls it.
686
685
 
687
686
  ---
688
687