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

konva

Package Overview
Dependencies
Maintainers
1
Versions
212
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.1.0 to 2.1.2

3

CHANGELOG.md

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

## [2.1.0][2018-05-16]
## [2.1.2][2018-05-16]

@@ -18,2 +18,3 @@ ## Fixed

* fixed `Konva.Arrow` with tension != 0
* Some fixes for `Konva.Transformer`

@@ -20,0 +21,0 @@ ## [2.0.3][2018-04-21]

{
"name": "konva",
"version": "2.1.0",
"version": "2.1.2",
"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.1.0/konva.min.js"></script>
<script src="https://cdn.rawgit.com/konvajs/konva/2.1.2/konva.min.js"></script>
<div id="container"></div>

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

@@ -169,10 +169,3 @@ (function(Konva) {

node.on(
TRANSFORM_CHANGE_STR,
function() {
this._clearCache(NODE_RECT);
this._clearCache('transform');
this._clearSelfAndDescendantCache('absoluteTransform');
}.bind(this)
);
node.on(TRANSFORM_CHANGE_STR, this._resetTransformCache.bind(this));

@@ -204,2 +197,6 @@ // TODO: why do we need this?

}
this._resetTransformCache();
},
_resetTransformCache: function() {
this._clearCache(NODE_RECT);

@@ -622,3 +619,3 @@ this._clearCache('transform');

forceUpdate: function() {
this._clearCache(NODE_RECT);
this._resetTransformCache();
this.update();

@@ -625,0 +622,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