massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / flatted / index.js
index 2cf0eeb52abc8a9ca86421c3e140d5cc82717268..9cc91070180dcf8c959d7d4431624dfd8b448497 100644 (file)
@@ -110,10 +110,18 @@ self.Flatted = (function (exports) {
       return after;
     }
   };
+  var toJSON = function toJSON(any) {
+    return $parse(stringify(any));
+  };
+  var fromJSON = function fromJSON(any) {
+    return parse($stringify(any));
+  };
 
+  exports.fromJSON = fromJSON;
   exports.parse = parse;
   exports.stringify = stringify;
+  exports.toJSON = toJSON;
 
   return exports;
 
-}({}));
+})({});