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.11 to 4.0.12

10

amf-helper-mixin.js

@@ -74,2 +74,5 @@ /**

ns.aml.vocabularies.security.SecurityScheme = secKey + 'SecurityScheme';
ns.aml.vocabularies.security.OAuth1Settings = secKey + 'OAuth1Settings';
ns.aml.vocabularies.security.OAuth2Settings = secKey + 'OAuth2Settings';
ns.aml.vocabularies.security.Scope = secKey + 'Scope';
ns.aml.vocabularies.security.security = secKey + 'security';

@@ -80,2 +83,9 @@ ns.aml.vocabularies.security.scheme = secKey + 'scheme';

ns.aml.vocabularies.security.type = secKey + 'type';
ns.aml.vocabularies.security.scope = secKey + 'scope';
ns.aml.vocabularies.security.accessTokenUri = secKey + 'accessTokenUri';
ns.aml.vocabularies.security.authorizationUri = secKey + 'authorizationUri';
ns.aml.vocabularies.security.authorizationGrant = secKey + 'authorizationGrant';
ns.aml.vocabularies.security.signature = secKey + 'signature';
ns.aml.vocabularies.security.tokenCredentialsUri = secKey + 'tokenCredentialsUri';
ns.aml.vocabularies.security.requestTokenUri = secKey + 'requestTokenUri';
ns.aml.vocabularies.apiContract = {};

@@ -82,0 +92,0 @@ ns.aml.vocabularies.http = ns.aml.vocabularies.apiContract;

@@ -738,1 +738,43 @@ <a name="2.0.11"></a>

## [4.0.11](https://github.com/advanced-rest-client/amf-helper-mixin/compare/3.0.2...4.0.11) (2019-10-13)
### Bug Fixes
* fixes [#1](https://github.com/advanced-rest-client/amf-helper-mixin/issues/1) (SE-12957) ([7eced33](https://github.com/advanced-rest-client/amf-helper-mixin/commit/7eced33))
* fixes setting cache value ([05bfb11](https://github.com/advanced-rest-client/amf-helper-mixin/commit/05bfb11))
* fixing linter error ([73c0cce](https://github.com/advanced-rest-client/amf-helper-mixin/commit/73c0cce))
* fixing media type placement ([9340378](https://github.com/advanced-rest-client/amf-helper-mixin/commit/9340378))
* fixing placemenet of SecuritySchemeFragment ([851f686](https://github.com/advanced-rest-client/amf-helper-mixin/commit/851f686))
* fixing previous fix ¯\_(ツ)_/¯ ([66185a8](https://github.com/advanced-rest-client/amf-helper-mixin/commit/66185a8))
* fixing type identyfication in compact model ([5d16747](https://github.com/advanced-rest-client/amf-helper-mixin/commit/5d16747))
### Features
* adding `__amfChanged` cllaback for amf setter ([e0bf834](https://github.com/advanced-rest-client/amf-helper-mixin/commit/e0bf834))
* adding guard to call `__amfChanged` only once per model ([db717b3](https://github.com/advanced-rest-client/amf-helper-mixin/commit/db717b3))
## [4.0.11](https://github.com/advanced-rest-client/amf-helper-mixin/compare/3.0.2...4.0.11) (2019-10-13)
### Bug Fixes
* fixes [#1](https://github.com/advanced-rest-client/amf-helper-mixin/issues/1) (SE-12957) ([7eced33](https://github.com/advanced-rest-client/amf-helper-mixin/commit/7eced33))
* fixes setting cache value ([05bfb11](https://github.com/advanced-rest-client/amf-helper-mixin/commit/05bfb11))
* fixing linter error ([73c0cce](https://github.com/advanced-rest-client/amf-helper-mixin/commit/73c0cce))
* fixing media type placement ([9340378](https://github.com/advanced-rest-client/amf-helper-mixin/commit/9340378))
* fixing placemenet of SecuritySchemeFragment ([851f686](https://github.com/advanced-rest-client/amf-helper-mixin/commit/851f686))
* fixing previous fix ¯\_(ツ)_/¯ ([66185a8](https://github.com/advanced-rest-client/amf-helper-mixin/commit/66185a8))
* fixing type identyfication in compact model ([5d16747](https://github.com/advanced-rest-client/amf-helper-mixin/commit/5d16747))
### Features
* adding `__amfChanged` cllaback for amf setter ([e0bf834](https://github.com/advanced-rest-client/amf-helper-mixin/commit/e0bf834))
* adding guard to call `__amfChanged` only once per model ([db717b3](https://github.com/advanced-rest-client/amf-helper-mixin/commit/db717b3))

1

changes/schema.changes.txt

@@ -15,3 +15,2 @@ schema => aml.vocabularies.core

./api-documentation/api-documentation.js: return this._hasType(model, this.ns.schema.creativeWork);
./api-body-document/api-body-document.js: this._bodyName = this._getValue(body, this.ns.schema.schemaName);
./api-method-documentation/api-method-documentation.js: let name = this._getValue(method, this.ns.schema.schemaName);

@@ -18,0 +17,0 @@ ./api-method-documentation/api-method-documentation.js: const name = this._getValue(item, this.ns.schema.schemaName);

@@ -13,10 +13,2 @@ ./api-body-editor/api-body-editor-amf-overlay.js: } else if (this._hasType(schema, this.ns.w3.shacl.name + 'NodeShape')) {

./api-schema-document/api-schema-document.js: raw = this._getValue(item, this.ns.w3.shacl.name + 'raw');
./api-body-document/api-body-document.js: if (this._hasType(body, this.ns.w3.shacl.name + 'NodeShape') ||
./api-body-document/api-body-document.js: } else if (this._hasType(body, this.ns.w3.shacl.name + 'SchemaShape') ||
./api-body-document/api-body-document.js: const key = this._getAmfKey(this.ns.w3.shacl.name + 'and');
./api-body-document/api-body-document.js: let value = this._getValue(body, this.ns.w3.shacl.name + 'name');
./api-body-document/coverage/api-body-document.js.html: if (this._hasType(body, this.ns.w3.shacl.name + 'NodeShape') ||
./api-body-document/coverage/api-body-document.js.html: } else if (this._hasType(body, this.ns.w3.shacl.name + 'SchemaShape') ||
./api-body-document/coverage/api-body-document.js.html: const key = this._getAmfKey(this.ns.w3.shacl.name + 'and');
./api-body-document/coverage/api-body-document.js.html: let value = this._getValue(body, this.ns.w3.shacl.name + 'name');
./api-method-documentation/api-method-documentation.js: let value = this._getValue(schema, this.ns.w3.shacl.name + 'defaultValue');

@@ -23,0 +15,0 @@ ./api-method-documentation/coverage/api-method-documentation.js.html: let value = this._getValue(schema, this.ns.w3.shacl.name + 'defaultValue');

@@ -31,7 +31,2 @@ ns.aml.vocabularies.apiContract;

./api-documentation/api-documentation.js: const key = this._getAmfKey(this.ns.raml.vocabularies.http + 'accepts');
./api-body-document/api-body-document.js: const label = this._getValue(item, this.ns.raml.vocabularies.http + 'mediaType');
./api-body-document/api-body-document.js: const key = this._getAmfKey(this.ns.raml.vocabularies.http + 'schema');
./api-body-document/api-body-document.js: return this._getValue(data, this.ns.raml.vocabularies.http + 'mediaType');
./api-body-document/test/amf-loader.js: const pKey = helper._getAmfKey(helper.ns.raml.vocabularies.http + 'payload');
./api-body-document/test/api-body-document.test.js: const pKey = element._getAmfKey(element.ns.raml.vocabularies.http + 'payload');
./api-parameters-document/demo/index.js: const key = helper._getAmfKey(helper.ns.raml.vocabularies.http + 'parameter');

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

@@ -6,3 +6,2 @@ raml.vocabularies.http + 'schema' => ns.aml.vocabularies.shapes.schema

./api-body-editor/src/ApiBodyEditorAmfOverlay.js: const sKey = this._getAmfKey(this.ns.raml.vocabularies.http + 'schema');
./api-body-document/api-body-document.js: const key = this._getAmfKey(this.ns.raml.vocabularies.http + 'schema');
./api-endpoint-documentation/api-endpoint-documentation.js: const key = this._getAmfKey(this.ns.raml.vocabularies.http + 'schema');

@@ -9,0 +8,0 @@ ./multipart-payload-editor/demo/index.js: const skey = this.helper._getAmfKey(this.helper.ns.raml.vocabularies.http + 'schema');

ns2.aml.vocabularies.shapes
./api-body-editor/api-body-editor-amf-overlay.js: if (this._hasType(schema, this.ns.raml.vocabularies.shapes + 'UnionShape')) {

@@ -9,5 +7,1 @@ ./api-body-editor/api-body-editor-amf-overlay.js: const key = this._getAmfKey(this.ns.raml.vocabularies.shapes + 'anyOf');

./api-schema-document/api-schema-document.js: this._hasType(schema, this.ns.raml.vocabularies.shapes + 'ScalarShape') ||
./api-body-document/api-body-document.js: this._hasType(body, this.ns.raml.vocabularies.shapes + 'UnionShape')) {
./api-body-document/api-body-document.js: this._hasType(body, this.ns.raml.vocabularies.shapes + 'ScalarShape')) {
./api-body-document/api-body-document.js: } else if (this._hasType(body, this.ns.raml.vocabularies.shapes + 'ArrayShape')) {
./api-body-document/api-body-document.js: } else if (this._hasType(body, this.ns.raml.vocabularies.shapes + 'AnyShape')) {

@@ -16,6 +16,2 @@ ns2.w3.shacl

./api-schema-document/api-schema-document.js: raw = this._getValue(item, this.ns.w3.shacl.name + 'raw');
./api-body-document/api-body-document.js: if (this._hasType(body, this.ns.w3.shacl.name + 'NodeShape') ||
./api-body-document/api-body-document.js: } else if (this._hasType(body, this.ns.w3.shacl.name + 'SchemaShape') ||
./api-body-document/api-body-document.js: const key = this._getAmfKey(this.ns.w3.shacl.name + 'and');
./api-body-document/api-body-document.js: let value = this._getValue(body, this.ns.w3.shacl.name + 'name');
./api-method-documentation/api-method-documentation.js: let value = this._getValue(schema, this.ns.w3.shacl.name + 'defaultValue');
{
"name": "@api-components/amf-helper-mixin",
"description": "A mixin with common functions user by most AMF components to compyte AMF values",
"version": "4.0.11",
"version": "4.0.12",
"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