api-elements
Advanced tools
Comparing version 0.2.4 to 0.2.5
# API Elements (JavaScript) CHANGELOG | ||
## 0.2.5 (2020-06-13) | ||
### Bug Fixes | ||
- Prevent `valueOf` from throwing an error while handling an object element | ||
which contains a member element which does not include a value. | ||
## 0.2.4 (2020-04-20) | ||
@@ -4,0 +11,0 @@ |
@@ -111,2 +111,6 @@ /* eslint-disable no-bitwise, no-underscore-dangle */ | ||
function mapValue(e, options, f, elements) { | ||
if (e === undefined) { | ||
return e; | ||
} | ||
const opts = updateTypeAttributes(e, options); | ||
@@ -113,0 +117,0 @@ if (e.content && (!isPlural(e) || !e.isEmpty)) { |
{ | ||
"name": "api-elements", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "API Elements JavaScript", | ||
@@ -30,3 +30,3 @@ "author": "Apiary.io <support@apiary.io>", | ||
"eslint": "^5.16.0", | ||
"mocha": "^5.2.0" | ||
"mocha": "^7.1.1" | ||
}, | ||
@@ -36,3 +36,3 @@ "engines": { | ||
}, | ||
"gitHead": "50efa2948c1d449bf6a13bfb15b4768920813d66" | ||
"gitHead": "567594e0cb9968e13126ae4df7625ec6c2ac9a3a" | ||
} |
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
46682
1100