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.4.1 to 2.4.2

6

CHANGELOG.md

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

## [2.4.2][2018-10-12]
### Fixed
* Fixed a wrong cache when a shape inside group has `listening = false`
## [2.4.1][2018-10-08]

@@ -10,0 +16,0 @@

21

konva.d.ts

@@ -8,9 +8,11 @@ declare namespace Konva {

export interface KonvaEventObject<E> {
target: Konva.Shape;
evt: E;
currentTarget: Konva.Node;
cancelBubble: boolean;
}
type HandlerFunc<E = Event> = (
e: {
target: Konva.Shape;
evt: E;
currentTarget: Konva.Node;
cancelBubble: boolean;
}
e: KonvaEventObject<E>
) => void;

@@ -368,8 +370,3 @@

handler: (
e: {
target: Konva.Shape;
evt: KonvaNodeEventMap[K];
currentTarget: Konva.Node;
cancelBubble: boolean;
}
e: KonvaEventObject<KonvaNodeEventMap[K]>
) => void

@@ -376,0 +373,0 @@ ): this;

{
"name": "konva",
"version": "2.4.1",
"version": "2.4.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.4.1/konva.min.js"></script>
<script src="https://unpkg.com/konva@2.4.1/konva.js"></script>
<div id="container"></div>

@@ -72,6 +72,6 @@ <script>

```html
<script src="https://cdn.rawgit.com/konvajs/konva/1.7.3/konva.min.js"></script>
<script src="https://unpkg.com/konva@2.4.1/konva.js"></script>
```
You can use CDN: [https://cdn.rawgit.com/konvajs/konva/1.7.3/konva.min.js](https://cdn.rawgit.com/konvajs/konva/1.7.3/konva.min.js)
You can use CDN: [https://unpkg.com/konva@2.4.1/konva.js](https://unpkg.com/konva@2.4.1/konva.js)

@@ -78,0 +78,0 @@ ### 2 Load via AMD (requirejs):

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

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