8000
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 1fef1f4 commit a7395cbCopy full SHA for a7395cb
index.js
@@ -154,7 +154,7 @@ module.exports = function serialize(obj, options) {
154
str = str.replace(UNSAFE_CHARS_REGEXP, escapeUnsafeChars);
155
}
156
157
- if (functions.length === 0 && regexps.length === 0 && dates.length === 0 && maps.length === 0 && sets.length === 0) {
+ if (functions.length === 0 && regexps.length === 0 && dates.length === 0 && maps.length === 0 && sets.length === 0 && undefs.length === 0) {
158
return str;
159
160
0 commit comments