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
3
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.1.6 to 4.1.7

2

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

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

@@ -979,3 +979,3 @@ /**

_computeType(declares, references, selected) {
if (!declares || !selected) {
if ((!declares && !references) || !selected) {
return undefined;

@@ -986,3 +986,3 @@ }

const compactId = selected.replace('amf://id', '');
let type = declares.find((item) => item['@id'] === selected || item['@id'] === compactId);
let type = declares && declares.find((item) => item['@id'] === selected || item['@id'] === compactId);
if (!type && references && references.length) {

@@ -989,0 +989,0 @@ for (let i = 0, len = references.length; i < len; i++) {

Sorry, the diff of this file is too big to display

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