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.7 to 4.2.8

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

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

@@ -61,3 +61,4 @@ [![Published on NPM](https://img.shields.io/npm/v/@api-components/api-type-document.svg)](https://www.npmjs.com/package/@api-components/api-type-document)

### Installation
```
```sh
npm install --save @api-components/api-type-document

@@ -112,4 +113,5 @@ ```

### Running the tests
```sh
npm test
```

@@ -655,3 +655,3 @@ import { LitElement, html } from 'lit-element';

></property-shape-document>`
: ''}
: html`<span>Array of:</span>`}

@@ -658,0 +658,0 @@ <div class="array-children">

@@ -422,3 +422,3 @@ /**

if (this._hasType(list, this.ns.aml.vocabularies.shapes.ScalarShape)) {
return this._computeRangeDataType(list);
return `Array of ${this._computeRangeDataType(list)}`;
}

@@ -425,0 +425,0 @@ return this._computeDisplayName(list, list);

@@ -184,2 +184,3 @@ import { LitElement, html } from 'lit-element';

typed = typed.replace(this.ns.w3.xmlSchema.key, '');
typed = typed.replace(this.ns.aml.vocabularies.shapes.toString(), '');
const stLetter = typed[0].toUpperCase();

@@ -299,2 +300,5 @@ return `${stLetter}${typed.substr(1)}`;

));
if (name === undefined) {
return undefined
}
if (name && name.indexOf('amf_inline_type') === 0) {

@@ -301,0 +305,0 @@ return undefined;

@@ -29,3 +29,3 @@ import { css } from 'lit-element';

.attribute-label {
font-weight: 500;
font-weight: var(--api-type-document-property-range-attribute-label-font-weight, 500);
margin-right: 12px;

@@ -32,0 +32,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