Socket
Socket
Sign inDemoInstall

@api-components/api-type-document

Package Overview
Dependencies
Maintainers
4
Versions
62
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.18 to 4.2.19

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.18",
"version": "4.2.19",
"license": "Apache-2.0",

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

@@ -306,2 +306,21 @@ import { LitElement, html } from 'lit-element';

_arrayPropertiesTemplate() {
const { range } = this;
return html` ${this._hasProperty(range, this.ns.w3.shacl.minCount)
? this._listItemTemplate(
'Minimum array length',
'Minimum amount of items in array',
this.ns.w3.shacl.minCount
)
: ''}
${this._hasProperty(range, this.ns.w3.shacl.maxCount)
? this._listItemTemplate(
'Maximum array length',
'Maximum amount of items in array',
this.ns.w3.shacl.maxCount
)
: ''}`;
}
/**

@@ -359,2 +378,3 @@ * @return {TemplateResult|string} Template for the element.

${this.isEnum ? this._enumTemplate() : ''}
${this.isArray ? this._arrayPropertiesTemplate() : ''}

@@ -361,0 +381,0 @@ <section class="examples" ?hidden="${!this._hasExamples}">

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