@fireproof/core 0.5.10 → 0.5.11
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/src/fireproof.mjs
CHANGED
@@ -38910,7 +38910,7 @@ class DbIndex {
|
|
38910
38910
|
if (matches.length === 0) {
|
38911
38911
|
matches = /=>\s*(.*)/.exec(this.mapFnString);
|
38912
38912
|
}
|
38913
|
-
if (matches
|
38913
|
+
if (matches === null) {
|
38914
38914
|
return this.mapFnString
|
38915
38915
|
} else {
|
38916
38916
|
// it's a consise arrow function, match everythign after the arrow
|