wikibase-sdk
Advanced tools
Comparing version 10.0.1 to 10.0.2
@@ -53,4 +53,4 @@ import { isPlainObject, uniq } from '../utils/utils.js'; | ||
// When keeping other attributes, the value becomes an object instead of a direct value | ||
let valueObj; | ||
if (isPlainObject(value)) { | ||
let valueObj = { value }; | ||
if (isPlainObject(value) && 'value' in value) { | ||
valueObj = value; | ||
@@ -57,0 +57,0 @@ } |
{ | ||
"name": "wikibase-sdk", | ||
"version": "10.0.1", | ||
"version": "10.0.2", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "utils functions to query a Wikibase instance and simplify its results", |
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
325956