Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

diagram-js

Package Overview
Dependencies
Maintainers
10
Versions
287
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

diagram-js - npm Package Compare versions

Comparing version 12.6.0 to 12.7.0

5

lib/features/popup-menu/PopupMenuComponent.js

@@ -212,5 +212,4 @@ import {

>
${ entry.imageUrl ? html`
<img class="djs-popup-entry-icon" src=${ entry.imageUrl } alt="" />
` : null }
${(entry.imageUrl && html`<img class="djs-popup-entry-icon" src=${ entry.imageUrl } alt="" />`) ||
(entry.imageHtml && html`<div class="djs-popup-entry-icon" dangerouslySetInnerHTML=${ { __html: entry.imageHtml } } />`)}

@@ -217,0 +216,0 @@ ${ entry.label ? html`

@@ -6,2 +6,4 @@ import { PopupMenuTarget } from './PopupMenu';

className: string;
imageUrl?: string;
imageHtml?: string;
label: string;

@@ -17,2 +19,5 @@ };

id: string;
imageUrl?: string;
imageHtml?: string;
label?: string;
title: string;

@@ -19,0 +24,0 @@ };

@@ -8,2 +8,4 @@ import { PopupMenuTarget } from './PopupMenu';

className: string;
imageUrl?: string;
imageHtml?: string;
label: string;

@@ -23,2 +25,5 @@ };

id: string;
imageUrl?: string;
imageHtml?: string;
label?: string;
title: string;

@@ -25,0 +30,0 @@ };

2

package.json
{
"name": "diagram-js",
"version": "12.6.0",
"version": "12.7.0",
"description": "A toolbox for displaying and modifying diagrams on the web",

@@ -5,0 +5,0 @@ "main": "lib/Diagram.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