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

@api-components/api-type-document

Package Overview
Dependencies
Maintainers
4
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@api-components/api-type-document - npm Package Compare versions

Comparing version 4.2.26 to 4.2.27

2

package.json
{
"name": "@api-components/api-type-document",
"description": "A documentation table for type (resource) properties. Works with AMF data model",
"version": "4.2.26",
"version": "4.2.27",
"license": "Apache-2.0",

@@ -6,0 +6,0 @@ "main": "index.js",

@@ -393,2 +393,9 @@ import { LitElement, html } from 'lit-element';

_toBoolean(value) {
if (typeof value === 'boolean') {
return value
}
return value === 'true'
}
/**

@@ -408,6 +415,7 @@ * Computes value for `isRequired` property.

if (this._hasType(shape, this.ns.aml.vocabularies.apiContract.Parameter)) {
return /** @type boolean */ Boolean(this._getValue(
const required = this._getValue(
shape,
this.ns.aml.vocabularies.apiContract.required
));
)
return this._toBoolean(required);
}

@@ -414,0 +422,0 @@ const data = this._getValue(shape, this.ns.w3.shacl.minCount);

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