|
|
|
|
@ -17,8 +17,7 @@ A name is one or more dot-separated segments; each segment may contain |
|
|
|
|
`A–Z a–z 0–9 _ -`. Dots map to directory separators, so `require "db.migrations"` |
|
|
|
|
looks for `db/migrations.lua`. Paths (`/`, `..`), absolute names, and empty |
|
|
|
|
segments are rejected — a module can only ever be loaded from inside the |
|
|
|
|
search roots, which keeps `require` compatible with the sandbox: it is the |
|
|
|
|
only file access scripts have. |
|
|
|
|
search roots. |
|
|
|
|
|
|
|
|
|
## Search roots |
|
|
|
|
|
|
|
|
|
|