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.2 to 0.2.3

4

CHANGELOG.md
# API Elements (JavaScript) CHANGELOG
## 0.2.3 (2019-12-05)
Internal changes.
## 0.2.2 (2019-07-02)

@@ -4,0 +8,0 @@

@@ -21,3 +21,3 @@ const { ArrayElement } = require('minim');

* @type ArraySlice
* @memberof HttpMessagePayload.prototype
* @memberof AuthScheme.prototype
*/

@@ -31,3 +31,3 @@ get transitions() {

* @type ArraySlice
* @memberof HttpMessagePayload.prototype
* @memberof AuthScheme.prototype
*/

@@ -37,4 +37,18 @@ get members() {

}
/**
* @name grantTypeValue
* @memberof AuthScheme.prototype
*/
get grantTypeValue() {
const grantType = this.members.find(item => item.key.toValue() === 'grantType');
if (grantType && grantType.value) {
return grantType.value.toValue();
}
return undefined;
}
}
module.exports = AuthScheme;

8

package.json
{
"name": "api-elements",
"version": "0.2.2",
"version": "0.2.3",
"description": "API Elements JavaScript",

@@ -8,2 +8,6 @@ "author": "Apiary.io <support@apiary.io>",

"main": "lib/api-elements.js",
"files": [
"lib/*.js",
"lib/elements/*.js"
],
"homepage": "https://github.com/apiaryio/api-elements.js/tree/master/packages/api-elements",

@@ -32,3 +36,3 @@ "repository": {

},
"gitHead": "c0fd7dd00ddf8320287461ff0ba4932d12f2e82e"
"gitHead": "92e12bd81f6f5c873b411fa34e7df59cbe1dcc88"
}
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