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.14 to 4.2.15

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

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

@@ -183,3 +183,3 @@ import { LitElement, CSSResult, TemplateResult } from 'lit-element';

_computeRenderMainExample(noMainExample: boolean, hasExamples: boolean): boolean;
_computeRenderMainExample(noMainExample: boolean, hasExamples: boolean, isScalar: boolean): boolean;

@@ -186,0 +186,0 @@ /**

@@ -292,5 +292,7 @@ import { LitElement, html } from 'lit-element';

this.requestUpdate('_hasExamples', old);
const scalarType = this._hasType(this.type, this.ns.aml.vocabularies.shapes.ScalarShape);
this._renderMainExample = this._computeRenderMainExample(
this.noMainExample,
value
value,
scalarType
);

@@ -341,4 +343,4 @@ }

_computeRenderMainExample(noMainExample, hasExamples) {
return !!(!noMainExample && hasExamples);
_computeRenderMainExample(noMainExample, hasExamples, isScalar = false) {
return isScalar ? false : !!(!noMainExample && hasExamples);
}

@@ -345,0 +347,0 @@

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