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