react-base-table
Advanced tools
Comparing version 1.6.1 to 1.6.2
@@ -5,2 +5,6 @@ # CHANGELOG | ||
## v1.6.2 (2019-07-07) | ||
- fix: `getValue` returns the object itself if the path is not valid string | ||
## v1.6.1 (2019-07-06) | ||
@@ -7,0 +11,0 @@ |
@@ -169,3 +169,3 @@ import _objectSpread from "@babel/runtime/helpers/objectSpread"; | ||
return parts; | ||
} // copied from https://github.com/sindresorhus/dot-prop/blob/master/index.js | ||
} // changed from https://github.com/sindresorhus/dot-prop/blob/master/index.js | ||
@@ -175,3 +175,3 @@ | ||
if (object === null || typeof object !== 'object' || typeof path !== 'string') { | ||
return defaultValue === undefined ? object : defaultValue; | ||
return defaultValue; | ||
} | ||
@@ -178,0 +178,0 @@ |
@@ -188,3 +188,3 @@ "use strict"; | ||
return parts; | ||
} // copied from https://github.com/sindresorhus/dot-prop/blob/master/index.js | ||
} // changed from https://github.com/sindresorhus/dot-prop/blob/master/index.js | ||
@@ -194,3 +194,3 @@ | ||
if (object === null || (0, _typeof2["default"])(object) !== 'object' || typeof path !== 'string') { | ||
return defaultValue === undefined ? object : defaultValue; | ||
return defaultValue; | ||
} | ||
@@ -197,0 +197,0 @@ |
{ | ||
"name": "react-base-table", | ||
"version": "1.6.1", | ||
"version": "1.6.2", | ||
"description": "a react table component to display large data set with high performance and flexibility", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
804827