kui-utils 0.0.5 → 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/index.js CHANGED
@@ -2017,7 +2017,8 @@ function setCookie(name, value, options) {
2017
2017
  if (options === void 0) { options = {}; }
2018
2018
  var cookieOptions = __assign({ path: "/" }, options);
2019
2019
  var updatedCookie = "".concat(encodeURIComponent(name), "=").concat(encodeURIComponent(value));
2020
- _.forIn(cookieOptions, function (val, key) {
2020
+ Object.keys(cookieOptions).forEach(function (key) {
2021
+ var val = cookieOptions[key];
2021
2022
  updatedCookie += "; ".concat(key);
2022
2023
  updatedCookie += "=".concat(val);
2023
2024
  });