@8base/utils
Advanced tools
Comparing version 0.17.0 to 0.17.1
@@ -55,10 +55,2 @@ "use strict"; | ||
if ((0, _verifiers.isJSONField)(fieldSchema)) { | ||
if ((0, _verifiers.isListField)(fieldSchema)) { | ||
result[fieldName] = R.map(JSON.stringify, result[fieldName]); | ||
} else { | ||
result[fieldName] = JSON.stringify(result[fieldName]); | ||
} | ||
} | ||
return result; | ||
@@ -65,0 +57,0 @@ }, {}, R.keys(data)); |
{ | ||
"name": "@8base/utils", | ||
"version": "0.17.0", | ||
"version": "0.17.1", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.js", |
@@ -10,3 +10,2 @@ //@flow | ||
isMetaField, | ||
isJSONField, | ||
} from '../verifiers'; | ||
@@ -52,10 +51,2 @@ | ||
if (isJSONField(fieldSchema)) { | ||
if (isListField(fieldSchema)) { | ||
result[fieldName] = R.map(JSON.stringify, result[fieldName]); | ||
} else { | ||
result[fieldName] = JSON.stringify(result[fieldName]); | ||
} | ||
} | ||
return result; | ||
@@ -62,0 +53,0 @@ }, {}, R.keys(data)); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
416922
3478