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

konva

Package Overview
Dependencies
Maintainers
1
Versions
214
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

konva - npm Package Compare versions

Comparing version 7.2.0 to 7.2.1

5

CHANGELOG.md

@@ -6,2 +6,7 @@ # Change Log

## 7.2.1
* Fix correct rendering of `Konva.Label` when heigh of text is changed
* Fix correct `transformstart` and `transformend` events when several nodes are attached with `Konva.Transformer`
## 7.2.0

@@ -8,0 +13,0 @@

2

lib/Global.js

@@ -50,3 +50,3 @@ "use strict";

_global: exports.glob,
version: '7.2.0',
version: '7.2.1',
isBrowser: detectBrowser(),

@@ -53,0 +53,0 @@ isUnminified: /param/.test(function (param) { }.toString()),

@@ -29,3 +29,4 @@ "use strict";

'text',
'width'
'width',
'height',
], CHANGE_KONVA = 'Change.konva', NONE = 'none', UP = 'up', RIGHT = 'right', DOWN = 'down', LEFT = 'left', attrChangeListLen = ATTR_CHANGE_LIST.length;

@@ -95,7 +96,7 @@ var Label = (function (_super) {

width: width,
height: height
height: height,
});
text.setAttrs({
x: -1 * x,
y: -1 * y
y: -1 * y,
});

@@ -183,3 +184,3 @@ }

width: width,
height: height
height: height,
};

@@ -186,0 +187,0 @@ };

@@ -478,3 +478,5 @@ "use strict";

this._fire('transformstart', { evt: e, target: this.getNode() });
this.getNode()._fire('transformstart', { evt: e, target: this.getNode() });
this._nodes.forEach(function (target) {
target._fire('transformstart', { evt: e, target: target });
});
};

@@ -668,3 +670,5 @@ Transformer.prototype._handleMouseMove = function (e) {

if (node) {
node.fire('transformend', { evt: e, target: node });
this._nodes.forEach(function (target) {
target._fire('transformend', { evt: e, target: target });
});
}

@@ -671,0 +675,0 @@ this._movingAnchorName = null;

{
"name": "konva",
"version": "7.2.0",
"version": "7.2.1",
"author": "Anton Lavrenov",

@@ -5,0 +5,0 @@ "files": [

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