We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent badaa7e commit 65ad81fCopy full SHA for 65ad81f
src/index.mjs
@@ -75,7 +75,7 @@ function build(input) {
75
else if (propName) {
76
if (!spread) out += ',';
77
if (propCount === 0) out += '({';
78
- out += propName + ':';
+ out += JSON.stringify(propName) + ':';
79
out += field || ((propHasValue || buffer) && JSON.stringify(buffer)) || 'true';
80
propName = '';
81
spread = false;
0 commit comments