Comparing version 0.13.3 to 0.13.4
@@ -1467,3 +1467,3 @@ /* | ||
/* add the PGN header headerrmation */ | ||
/* add the PGN header information */ | ||
for (var i in header) { | ||
@@ -1509,5 +1509,7 @@ /* TODO: order of enumerated properties in header object is not | ||
/* if the position started with black to move, start PGN with 1. ... */ | ||
/* if the position started with black to move, start PGN with #. ... */ | ||
if (!history.length && move.color === 'b') { | ||
move_string = move_number + '. ...' | ||
const prefix = `${move_number}. ...` | ||
/* is there a comment preceding the first move? */ | ||
move_string = move_string ? `${move_string} ${prefix}` : prefix | ||
} else if (move.color === 'w') { | ||
@@ -1514,0 +1516,0 @@ /* store the previous generated move_string if we have one */ |
{ | ||
"name": "chess.js", | ||
"version": "0.13.3", | ||
"version": "0.13.4", | ||
"license": "BSD-2-Clause", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is too big to display
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
167818
4690