onix-chess
Advanced tools
Comparing version 1.8.30 to 1.8.31
@@ -116,3 +116,3 @@ import repeat from 'lodash-es/repeat'; | ||
for (sq = 0; sq < 64; sq++) { | ||
var p = fen2Piece[board_text.charAt(sq)]; | ||
var p = fen2Piece(board_text.charAt(sq)); | ||
if (p !== Piece.NoPiece) { | ||
@@ -119,0 +119,0 @@ pos.addPiece(p, fenToSquare(sq)); |
{ | ||
"name": "onix-chess", | ||
"version": "1.8.30", | ||
"version": "1.8.31", | ||
"description": "Onix chess library", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -143,3 +143,3 @@ import repeat from 'lodash-es/repeat'; | ||
for (sq = 0; sq < 64; sq++) { | ||
const p = fen2Piece[board_text.charAt(sq)]; | ||
const p = fen2Piece(board_text.charAt(sq)); | ||
if (p !== Piece.NoPiece) { | ||
@@ -146,0 +146,0 @@ pos.addPiece(p, fenToSquare(sq)); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
399378