Huge News!Announcing our $40M Series B led by Abstract Ventures.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 1.3.21 to 1.3.23

8

dist/chess/Chess.d.ts

@@ -88,6 +88,6 @@ import { Position } from './Position';

constructor(settings?: IChessSettings);
readonly CurrentMove: Move;
readonly CurrentPos: Position;
StartFen: string;
readonly NonStandardStart: boolean;
get CurrentMove(): Move;
get CurrentPos(): Position;
set StartFen(value: string);
get NonStandardStart(): boolean;
private clear;

@@ -94,0 +94,0 @@ private clearStandardTags;

@@ -37,10 +37,10 @@ import { SimpleMove } from './SimpleMove';

isBegin(): boolean;
readonly First: Move;
readonly Prev: Move;
readonly Next: Move;
get First(): Move;
get Prev(): Move;
get Next(): Move;
isLast(): boolean;
isEnd(): boolean;
readonly Last: Move;
readonly PlyCount: number;
readonly numVars: number;
get Last(): Move;
get PlyCount(): number;
get numVars(): number;
/**

@@ -57,7 +57,7 @@ * Add and enter variation

*/
exitVariation(): Window | this;
exitVariation(): this | Window;
truncate(): void;
append(sm: SimpleMove): Move;
readonly moveKey: string;
private readonly parentMoveKey;
get moveKey(): string;
private get parentMoveKey();
}

@@ -52,8 +52,9 @@ import { Castle } from './Castle';

clone(): Position;
WhoMove: number;
get WhoMove(): number;
set WhoMove(value: number);
/**
* Byte board
*/
readonly Board: number[];
readonly Captured: number[];
get Board(): number[];
get Captured(): number[];
/**

@@ -100,3 +101,3 @@ * Get piece on square

*/
readonly PlyCount: number;
get PlyCount(): number;
/**

@@ -103,0 +104,0 @@ * Get move number

{
"name": "onix-chess",
"version": "1.3.21",
"version": "1.3.23",
"description": "Onix chess library",

@@ -27,4 +27,4 @@ "main": "dist/index.js",

"lodash-es": "^4.17.15",
"onix-core": "^1.6.42",
"shortid": "^2.2.14",
"onix-core": "^1.6.43",
"shortid": "^2.2.15",
"warning": "^4.0.3"

@@ -34,9 +34,9 @@ },

"@types/lodash-es": "^4.17.3",
"@types/node": "^10.14.17",
"clean-webpack-plugin": "^0.1.19",
"ts-loader": "^4.5.0",
"typescript": "^2.9.2",
"webpack": "^4.39.3",
"webpack-cli": "^3.3.7"
"@types/node": "^12.12.29",
"clean-webpack-plugin": "^3.0.0",
"ts-loader": "^6.2.1",
"typescript": "^3.8.3",
"webpack": "^4.42.0",
"webpack-cli": "^3.3.11"
}
}

@@ -1,3 +0,5 @@

# Onix Chess [![npm][npm-badge]][npm]
# onix-chess
[![npm version][npm-badge]][npm] [![npm downloads][npd-badge]][npm] [![dependencies Status][dps-badge]][dps]
Onix Chess classes library.

@@ -11,3 +13,6 @@

[npm-badge]: https://badge.fury.io/js/onix-chess.svg
[npm]: https://badge.fury.io/js/onix-chess
[npm-badge]: https://img.shields.io/npm/v/onix-chess?style=flat
[npd-badge]: https://img.shields.io/npm/dm/onix-chess.svg?style=flat-square
[dps-badge]: https://david-dm.org/DrNixx/onix-chess/status.svg
[dps]: https://david-dm.org/DrNixx/onix-chess
[npm]: https://www.npmjs.com/package/onix-chess

@@ -0,0 +0,0 @@ import { IUser } from 'onix-core/dist/app/IUser';

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ const WHITE = 0;

@@ -0,0 +0,0 @@ export interface IOpeningPosition {

@@ -0,0 +0,0 @@ import { Color } from './Color';

@@ -0,0 +0,0 @@ import { Color } from './Color';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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