Huge News!Announcing our $40M Series B led by Abstract Ventures.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 2.2.0 to 2.2.1

2

CHANGELOG.md

@@ -8,3 +8,3 @@ # Change Log

## [2.2.0][2018-08-10]
## [2.2.1][2018-08-10]

@@ -11,0 +11,0 @@ ### Added

{
"name": "konva",
"version": "2.2.0",
"version": "2.2.1",
"author": "Anton Lavrenov",

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

@@ -26,3 +26,3 @@ <p align="center">

```html
<script src="https://cdn.rawgit.com/konvajs/konva/2.2.0/konva.min.js"></script>
<script src="https://cdn.rawgit.com/konvajs/konva/2.2.1/konva.min.js"></script>
<div id="container"></div>

@@ -29,0 +29,0 @@ <script>

@@ -13,3 +13,4 @@ (function(Konva) {

'anchorStrokeChange',
'anchorStrokeWidthChange'
'anchorStrokeWidthChange',
'anchorFillChange'
].join(' ');

@@ -109,3 +110,4 @@

* Transformer constructor. Transformer is a special type of group that allow you transform Konva
* primitives and shapes.
* primitives and shapes. Transforming tool is not changing `width` and `height` properties of nodes
* when you resize them. Instead it changes `scaleX` and `scaleY` properties.
* @constructor

@@ -123,3 +125,4 @@ * @memberof Konva

* @param {Array} [config.borderDash] Array for border dash.
* @param {Number} [config.anchorStroke] Anchor stroke color
* @param {String} [config.anchorFill] Anchor fill color
* @param {String} [config.anchorStroke] Anchor stroke color
* @param {Number} [config.anchorStrokeWidth] Anchor stroke size

@@ -324,2 +327,8 @@ * @param {Number} [config.anchorSize] Default is 10

});
anchor.on('dragmove', function(e) {
e.cancelBubble = true;
});
anchor.on('dragend', function(e) {
e.cancelBubble = true;
});

@@ -781,2 +790,6 @@ // add hover styling

this._removeEvents();
var resizerNode = this.findOne('.' + this.movingResizer);
if (resizerNode) {
resizerNode.stopDrag();
}
}

@@ -783,0 +796,0 @@ },

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