Socket
Socket
Sign inDemoInstall

chess.js

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chess.js - npm Package Compare versions

Comparing version 0.13.3 to 0.13.4

8

chess.js

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc