@ctil/gql 1.0.11 → 1.0.12
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3737,7 +3737,7 @@ function formatGraphQLValue(value) {
|
|
|
3737
3737
|
if (value === null) return "null";
|
|
3738
3738
|
if (typeof value === "string") {
|
|
3739
3739
|
if (value.startsWith("$")) return value;
|
|
3740
|
-
if (/^[A-
|
|
3740
|
+
if (/^[A-Z_]+$/.test(value)) return value;
|
|
3741
3741
|
return JSON.stringify(value);
|
|
3742
3742
|
}
|
|
3743
3743
|
if (typeof value === "number" || typeof value === "boolean") {
|