mirror of
https://github.com/konvajs/konva.git
synced 2025-05-07 15:57:53 +08:00
update CHANGELOG with new version
This commit is contained in:
parent
3a6cd6b94b
commit
f34bbf13f3
@ -3,6 +3,10 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
### 8.3.8 (2020-05-05)
|
||||||
|
|
||||||
|
- Disable all exports in `package.json`
|
||||||
|
|
||||||
### 8.3.7 (2022-05-04)
|
### 8.3.7 (2022-05-04)
|
||||||
|
|
||||||
- Migrate to CommonJS exports only
|
- Migrate to CommonJS exports only
|
||||||
|
@ -85,8 +85,8 @@ gulp.task(
|
|||||||
gulp.parallel([
|
gulp.parallel([
|
||||||
'update-version-lib',
|
'update-version-lib',
|
||||||
'update-version-cmj',
|
'update-version-cmj',
|
||||||
'update-version-es-to-cmj-index',
|
// 'update-version-es-to-cmj-index',
|
||||||
'update-version-es-to-cmj-node',
|
// 'update-version-es-to-cmj-node',
|
||||||
'pre-build',
|
'pre-build',
|
||||||
])
|
])
|
||||||
);
|
);
|
||||||
|
2
konva.js
2
konva.js
@ -8,7 +8,7 @@
|
|||||||
* Konva JavaScript Framework v8.3.7
|
* Konva JavaScript Framework v8.3.7
|
||||||
* http://konvajs.org/
|
* http://konvajs.org/
|
||||||
* Licensed under the MIT
|
* Licensed under the MIT
|
||||||
* Date: Wed May 04 2022
|
* Date: Thu May 05 2022
|
||||||
*
|
*
|
||||||
* Original work Copyright (C) 2011 - 2013 by Eric Rowell (KineticJS)
|
* Original work Copyright (C) 2011 - 2013 by Eric Rowell (KineticJS)
|
||||||
* Modified work Copyright (C) 2014 - present by Anton Lavrenov (Konva)
|
* Modified work Copyright (C) 2014 - present by Anton Lavrenov (Konva)
|
||||||
|
2
konva.min.js
vendored
2
konva.min.js
vendored
@ -3,7 +3,7 @@
|
|||||||
* Konva JavaScript Framework v8.3.7
|
* Konva JavaScript Framework v8.3.7
|
||||||
* http://konvajs.org/
|
* http://konvajs.org/
|
||||||
* Licensed under the MIT
|
* Licensed under the MIT
|
||||||
* Date: Wed May 04 2022
|
* Date: Thu May 05 2022
|
||||||
*
|
*
|
||||||
* Original work Copyright (C) 2011 - 2013 by Eric Rowell (KineticJS)
|
* Original work Copyright (C) 2011 - 2013 by Eric Rowell (KineticJS)
|
||||||
* Modified work Copyright (C) 2014 - present by Anton Lavrenov (Konva)
|
* Modified work Copyright (C) 2014 - present by Anton Lavrenov (Konva)
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
"browser": "./lib/index.js",
|
"browser": "./lib/index.js",
|
||||||
"typings": "./lib/index-types.d.ts",
|
"typings": "./lib/index-types.d.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"exports": {
|
"__ignore_exports": {
|
||||||
".": {
|
".": {
|
||||||
"node": {
|
"node": {
|
||||||
"require": "./cmj/index-node.js",
|
"require": "./cmj/index-node.js",
|
||||||
|
@ -5,23 +5,23 @@ function equal(val1, val2, message) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// try to import only core
|
// try to import only core
|
||||||
import Konva from 'konva';
|
// import Konva from '../';
|
||||||
|
|
||||||
// no external shapes
|
// // no external shapes
|
||||||
// equal(Konva.Rect, undefined, 'no external shapes');
|
// // equal(Konva.Rect, undefined, 'no external shapes');
|
||||||
|
|
||||||
import { Rect } from 'konva/lib/shapes/Rect';
|
// import { Rect } from '../lib/shapes/Rect';
|
||||||
|
|
||||||
equal(Rect !== undefined, true, 'Rect is defined');
|
// equal(Rect !== undefined, true, 'Rect is defined');
|
||||||
|
|
||||||
equal(Konva.Rect, Rect, 'Rect is injected');
|
// equal(Konva.Rect, Rect, 'Rect is injected');
|
||||||
|
|
||||||
import Konva2 from 'konva';
|
// import Konva2 from '../';
|
||||||
|
|
||||||
equal(Konva2.Rect, Rect, 'Rect is injected');
|
// equal(Konva2.Rect, Rect, 'Rect is injected');
|
||||||
|
|
||||||
equal(Konva2, Konva, 'Same Konva');
|
// equal(Konva2, Konva, 'Same Konva');
|
||||||
|
|
||||||
// just do a simple action
|
// // just do a simple action
|
||||||
const stage = new Konva.Stage();
|
// const stage = new Konva.Stage();
|
||||||
stage.toDataURL();
|
// stage.toDataURL();
|
||||||
|
Loading…
Reference in New Issue
Block a user