update CHANGELOG with new version

This commit is contained in:
Anton Lavrenov 2022-05-05 18:41:17 -05:00
parent 3a6cd6b94b
commit f34bbf13f3
6 changed files with 21 additions and 17 deletions

View File

@ -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

View File

@ -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',
]) ])
); );

View File

@ -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
View File

@ -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)

View File

@ -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",

View File

@ -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();