Repository navigation
v2.72.7-fix: Multiline import type regex fix
Changes
- Fix multiline
import typestatements not being detected during import scanning - Based on upstream v2.72.7 (commit a13554d)
- Cherry-picked fix from
fix/multiline-import-type-regexbranch
The Bug
The regex pattern .*? does not match newlines, causing multiline import type { X } statements to be skipped during bind-mount file scanning. This results in type-only imports not being mounted in the Docker container.
The Fix
Changed .*? to [\s\S]*? in pkg/function/deno.go to match any character including newlines.
Installation
Download the binary and copy it to:
/opt/homebrew/bin/supabase(or your system path)node_modules/supabase/bin/supabase(for yarn/npm scripts)
See README for detailed instructions.