@alepot55/chessboardjs 2.1.5 → 2.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2424,7 +2424,6 @@ var Chessboard = (function () {
2424
2424
 
2425
2425
  check() {
2426
2426
  if (this.piece === null) {
2427
- console.log(this);
2428
2427
  throw new Error("Invalid move: piece is null");
2429
2428
  }
2430
2429
  if (!(this.piece instanceof Piece)) {
@@ -2830,7 +2829,6 @@ var Chessboard = (function () {
2830
2829
 
2831
2830
  executePieceTranslations(pendingTranslations, escapeFlags, animation) {
2832
2831
  for (let [_, sourceSquare, targetSquare] of pendingTranslations) {
2833
- console.log('executing translation: ', sourceSquare.id, targetSquare.id);
2834
2832
  let removeTarget = !escapeFlags[targetSquare.id] && targetSquare.piece;
2835
2833
  let moveObj = new Move(sourceSquare, targetSquare);
2836
2834
  this.translatePiece(moveObj, removeTarget, animation);
package/chessboard.js CHANGED
@@ -379,7 +379,6 @@ class Chessboard {
379
379
 
380
380
  executePieceTranslations(pendingTranslations, escapeFlags, animation) {
381
381
  for (let [_, sourceSquare, targetSquare] of pendingTranslations) {
382
- console.log('executing translation: ', sourceSquare.id, targetSquare.id);
383
382
  let removeTarget = !escapeFlags[targetSquare.id] && targetSquare.piece;
384
383
  let moveObj = new Move(sourceSquare, targetSquare);
385
384
  this.translatePiece(moveObj, removeTarget, animation);
@@ -22,7 +22,6 @@ class Move {
22
22
 
23
23
  check() {
24
24
  if (this.piece === null) {
25
- console.log(this);
26
25
  throw new Error("Invalid move: piece is null");
27
26
  }
28
27
  if (!(this.piece instanceof Piece)) {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "chess.js": "^1.0.0"
4
4
  },
5
5
  "name": "@alepot55/chessboardjs",
6
- "version": "2.1.5",
6
+ "version": "2.1.6",
7
7
  "main": "chessboard.js",
8
8
  "type": "module",
9
9
  "scripts": {