Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

api-elements

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-elements - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

7

CHANGELOG.md
# 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 @@

4

lib/define-value-of.js

@@ -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)) {

6

package.json
{
"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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc