New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

onix-chess

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onix-chess - npm Package Compare versions

Comparing version 6.6.1 to 6.6.2

8

dist/chess/Chess.js

@@ -486,4 +486,8 @@ "use strict";

this.currentMove = this.moveList[key];
this.currentPos = new Position_1.Position(this.currentMove.fen);
this.currentMove = this.currentMove.Next;
if (!this.currentMove.isBegin()) {
this.currentPos = new Position_1.Position(this.currentMove.Prev.fen);
}
else {
this.currentPos.copyFrom(this.startPos);
}
}

@@ -490,0 +494,0 @@ this.supressEvents = false;

{
"name": "onix-chess",
"version": "6.6.1",
"version": "6.6.2",
"description": "Onix chess library",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -575,4 +575,7 @@ import toSafeInteger from 'lodash-es/toSafeInteger';

this.currentMove = this.moveList[key];
this.currentPos = new Position(this.currentMove.fen);
this.currentMove = this.currentMove.Next!;
if (!this.currentMove.isBegin()) {
this.currentPos = new Position(this.currentMove.Prev.fen);
} else {
this.currentPos.copyFrom(this.startPos);
}
}

@@ -579,0 +582,0 @@

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