@intlify/core 12.0.0-alpha.13 → 12.0.0-alpha.14

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @intlify/core v12.0.0-alpha.13
2
+ * @intlify/core v12.0.0-alpha.14
3
3
  * (c) 2016-present kazuya kawaguchi and contributors
4
4
  * @license MIT
5
5
  **/
@@ -1986,8 +1986,7 @@ function resolveValue(obj, path) {
1986
1986
  */
1987
1987
  if (AST_NODE_PROPS_KEYS.includes(key) && isMessageAST(last)) return null;
1988
1988
  if (!isObject(last)) return null;
1989
- if (!hasOwn(last, key)) return null;
1990
- const val = last[key];
1989
+ const val = getOwn(last, key);
1991
1990
  if (val === void 0) return null;
1992
1991
  if (isFunction(last)) return null;
1993
1992
  last = val;
@@ -2034,7 +2033,7 @@ function getWarnMessage(code, ...args) {
2034
2033
  * Intlify core-base version
2035
2034
  * @internal
2036
2035
  */
2037
- const VERSION = "12.0.0-alpha.13";
2036
+ const VERSION = "12.0.0-alpha.14";
2038
2037
  const NOT_RESOLVED = -1;
2039
2038
  const DEFAULT_LOCALE = "en-US";
2040
2039
  const MISSING_RESOLVE_VALUE = "";