kui-utils 0.0.4 → 0.0.6

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/cjs/index.js CHANGED
@@ -2043,7 +2043,8 @@ function setCookie(name, value, options) {
2043
2043
  if (options === void 0) { options = {}; }
2044
2044
  var cookieOptions = __assign({ path: "/" }, options);
2045
2045
  var updatedCookie = "".concat(encodeURIComponent(name), "=").concat(encodeURIComponent(value));
2046
- ___default["default"].forIn(cookieOptions, function (val, key) {
2046
+ Object.keys(cookieOptions).forEach(function (key) {
2047
+ var val = cookieOptions[key];
2047
2048
  updatedCookie += "; ".concat(key);
2048
2049
  updatedCookie += "=".concat(val);
2049
2050
  });