arcvision 0.2.6 → 0.2.7
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/dist/index.js +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -58208,7 +58208,10 @@ var require_pass2_semantics = __commonJS({
|
|
|
58208
58208
|
continue;
|
|
58209
58209
|
const luaInvocationPatterns = [
|
|
58210
58210
|
/readFileSync\(['"].*\.lua['"].*\)/gi,
|
|
58211
|
+
/defineCommand\(\s*[^,]*,\s*\{[^}]*lua\s*:.+?\}/gi,
|
|
58212
|
+
// Matches defineCommand(commandName, { ... lua: ... })
|
|
58211
58213
|
/defineCommand\(\s*\{\s*lua\s*:.*?\}/gi,
|
|
58214
|
+
// Original pattern
|
|
58212
58215
|
/require\(['"].*\.lua['"].*\)/gi,
|
|
58213
58216
|
/fs\.readFileSync\(['"].*\.lua['"].*\)/gi,
|
|
58214
58217
|
/import\s+.*?from\s+['"].*\.lua['"].*\)?/gi,
|