New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@api-components/amf-helper-mixin

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@api-components/amf-helper-mixin - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

3

amf-helper-mixin.js

@@ -29,3 +29,3 @@ /**

ns.aml.vocabularies.document.Document = docKey + 'Document';
ns.aml.vocabularies.document.SecuritySchemeFragment = docKey + 'SecuritySchemeFragment';
// ns.aml.vocabularies.document.SecuritySchemeFragment = docKey + 'SecuritySchemeFragment';
ns.aml.vocabularies.document.UserDocumentation = docKey + 'UserDocumentation';

@@ -72,2 +72,3 @@ ns.aml.vocabularies.document.DataType = docKey + 'DataType';

ns.aml.vocabularies.security.ParametrizedSecurityScheme = secKey + 'ParametrizedSecurityScheme';
ns.aml.vocabularies.security.SecuritySchemeFragment = secKey + 'SecuritySchemeFragment';
ns.aml.vocabularies.security.SecurityScheme = secKey + 'SecurityScheme';

@@ -74,0 +75,0 @@ ns.aml.vocabularies.security.security = secKey + 'security';

schema => aml.vocabularies.core
./amf-helper-mixin/amf-helper-mixin.js: return this._getValue(shape, this.ns.schema.desc);
./amf-helper-mixin/amf-helper-mixin.js: if (this._hasType(enc, this.ns.schema.webApi)) {
./amf-helper-mixin/amf-helper-mixin.js: const key = this._getAmfKey(this.ns.schema.doc);
./auth-methods/auth-method-oauth2.js: const nKey = this._getAmfKey(this.ns.schema.schemaName);
./auth-methods/auth-method-custom.js: this._schemeDescription = this._getValue(scheme, this.ns.schema.desc);
./api-summary/api-summary.js: return this._getValue(shape, this.ns.schema.schemaName);
./api-summary/api-summary.js: return this._getValue(webApi, this.ns.schema.name + 'version');
./api-summary/api-summary.js: const key = this._getAmfKey(this.ns.schema.name + 'provider');
./api-summary/api-summary.js: return this._getValue(provider, this.ns.schema.schemaName);
./api-summary/api-summary.js: return this._getValue(provider, this.ns.schema.name + 'email');
./api-summary/api-summary.js: let value = this._getValue(provider, this.ns.schema.name + 'url');
./api-summary/api-summary.js: const key = this._getAmfKey(this.ns.schema.name + 'url');
./api-summary/api-summary.js: return this._getValue(webApi, this.ns.schema.name + 'termsOfService');
./api-summary/api-summary.js: const key = this._getAmfKey(this.ns.schema.name + 'license');
./api-summary/api-summary.js: name: this._getValue(item, this.ns.schema.schemaName),
./api-navigation/api-navigation.js: const dkey = this._getAmfKey(this.ns.schema.doc);
./api-navigation/api-navigation.js: } else if (this._hasType(item, this.ns.schema.creativeWork)) {
./api-navigation/api-navigation.js: let name = this._getValue(item, this.ns.schema.schemaName);
./api-navigation/api-navigation.js: let name = this._getValue(item, this.ns.schema.displayName);
./api-navigation/api-navigation.js: const name = this._getValue(item, this.ns.schema.title);
./api-navigation/api-navigation.js: let name = this._getValue(item, this.ns.schema.schemaName);
./api-navigation/api-navigation.js: const label = this._getValue(item, this.ns.schema.schemaName);
./api-example-generator/api-example-generator.js: let title = this._getValue(example, this.ns.schema.schemaName);

@@ -27,0 +7,0 @@ ./api-documentation-document/api-documentation-document.js: this._title = this._getValue(shape, this.ns.schema.title);

ns2.aml.vocabularies.security
./auth-methods/demo/oauth2.js: const key = helper._getAmfKey(helper.ns.raml.vocabularies.security + 'security');

@@ -7,0 +5,0 @@ ./auth-methods/demo/oauth2.js: const secPrefix = helper.ns.raml.vocabularies.security;

@@ -29,5 +29,1 @@ ns2.aml.vocabularies.data

./api-view-model-transformer/api-view-model-transformer.js: const vKey = this._getAmfKey(this.ns.raml.vocabularies.data + 'value');
./api-annotation-document/api-annotation-document.js: const key = this._getAmfKey(this.ns.raml.vocabularies.data + 'value');
./api-annotation-document/api-annotation-document.js: return this._hasType(item, this.ns.raml.vocabularies.data + 'Scalar');
./api-annotation-document/api-annotation-document.js: return this._getValue(item, this.ns.raml.vocabularies.data + 'value');
./api-annotation-document/api-annotation-document.js: const dataKey = this._getAmfKey(this.ns.raml.vocabularies.data);

@@ -45,3 +45,1 @@ ns2.aml.vocabularies.document

./api-endpoint-documentation/api-endpoint-documentation.js: value = this._getValue(item, this.ns.raml.vocabularies.document + 'value');
./api-annotation-document/api-annotation-document.js: const key = this._getAmfKey(this.ns.raml.vocabularies.document + 'customDomainProperties');
./api-annotation-document/api-annotation-document.js: return this._getValue(item, this.ns.raml.vocabularies.document + 'name');

@@ -66,4 +66,2 @@ ns.aml.vocabularies.apiContract;

./api-navigation/api-navigation.js: const path = this._getValue(item, this.ns.raml.vocabularies.http + 'path');
./api-summary/api-summary.js: const key = this._getAmfKey(this.ns.raml.vocabularies.http + 'endpoint');
./api-summary/api-summary.js: path: this._getValue(item, this.ns.raml.vocabularies.http + 'path'),
./api-endpoint-documentation/demo/index.js: name = helper._getValue(item, helper.ns.raml.vocabularies.http + 'path');

@@ -70,0 +68,0 @@ ./api-endpoint-documentation/demo/index.js: name = helper._getValue(item, helper.ns.raml.vocabularies.http + 'path');

@@ -7,4 +7,2 @@ ns2.w3.hydra.core => ns2.aml.vocabularies.apiContract;

./api-body-editor/api-body-editor-amf-overlay.js: const opKey = this._getAmfKey(this.ns.w3.hydra.core + 'expects');
./api-summary/api-summary.js: const key = this._getAmfKey(this.ns.w3.hydra.core + 'supportedOperation');
./api-summary/api-summary.js: method: this._getValue(item, this.ns.w3.hydra.core + 'method')
./api-navigation/api-navigation.js: const key = this._getAmfKey(this.ns.w3.hydra.supportedOperation);

@@ -11,0 +9,0 @@ ./api-navigation/api-navigation.js: const methodKey = this.ns.w3.hydra.core + 'method';

{
"name": "@api-components/amf-helper-mixin",
"description": "A mixin with common functions user by most AMF components to compyte AMF values",
"version": "4.0.2",
"version": "4.0.3",
"license": "Apache-2.0",

@@ -6,0 +6,0 @@ "main": "amf-helper-mixin.js",

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