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

@idraw/core

Package Overview
Dependencies
Maintainers
2
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@idraw/core - npm Package Compare versions

Comparing version 0.4.0-beta.8 to 0.4.0-beta.9

19

dist/esm/middleware/selector/index.js

@@ -133,3 +133,3 @@ import { calcElementsViewInfo, calcElementVertexesInGroup, calcElementQueueVertexesQueueInGroup, calcElementSizeController, rotatePointInGroup, getGroupQueueFromList, findElementsFromList, findElementsFromListByPositions, deepResizeGroupElement } from '@idraw/util';

hover: (e) => {
var _a, _b;
var _a, _b, _c, _d, _e;
const resizeType = sharer.getSharedStorage(keyResizeType);

@@ -193,3 +193,18 @@ const actionType = sharer.getSharedStorage(keyActionType);

triggerCursor(target);
if (target.type === 'over-element' && ((_b = target === null || target === void 0 ? void 0 : target.elements) === null || _b === void 0 ? void 0 : _b.length) === 1) {
if (target.type === null) {
return;
}
if (target.type === 'over-element' &&
sharer.getSharedStorage(keyActionType) === 'select' &&
target.elements.length === 1 &&
target.elements[0].uuid === ((_c = (_b = getActiveElements()) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.uuid)) {
return;
}
if (target.type === 'over-element' &&
sharer.getSharedStorage(keyActionType) === null &&
target.elements.length === 1 &&
target.elements[0].uuid === ((_d = sharer.getSharedStorage(keyHoverElement)) === null || _d === void 0 ? void 0 : _d.uuid)) {
return;
}
if (target.type === 'over-element' && ((_e = target === null || target === void 0 ? void 0 : target.elements) === null || _e === void 0 ? void 0 : _e.length) === 1) {
sharer.setSharedStorage(keyHoverElement, target.elements[0]);

@@ -196,0 +211,0 @@ updateHoverElement(target.elements[0]);

10

package.json
{
"name": "@idraw/core",
"version": "0.4.0-beta.8",
"version": "0.4.0-beta.9",
"description": "",

@@ -24,9 +24,9 @@ "main": "dist/esm/index.js",

"devDependencies": {
"@idraw/types": "^0.4.0-beta.8"
"@idraw/types": "^0.4.0-beta.9"
},
"dependencies": {},
"peerDependencies": {
"@idraw/board": "^0.4.0-beta.8",
"@idraw/renderer": "^0.4.0-beta.8",
"@idraw/util": "^0.4.0-beta.8"
"@idraw/board": "^0.4.0-beta.9",
"@idraw/renderer": "^0.4.0-beta.9",
"@idraw/util": "^0.4.0-beta.9"
},

@@ -33,0 +33,0 @@ "publishConfig": {

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

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