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 7.2.1 to 7.2.2

9

dist/chess/Chess.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Chess = exports.ChessGameState = exports.ChessTags = exports.ChessRatingType = void 0;
const toSafeInteger_1 = require("lodash-es/toSafeInteger");
const shortid = require("shortid");
const isNumber_1 = require("lodash-es/isNumber");
const indexOf_1 = require("lodash-es/indexOf");
const tslib_1 = require("tslib");
const toSafeInteger_1 = tslib_1.__importDefault(require("lodash/toSafeInteger"));
const shortid = tslib_1.__importStar(require("shortid"));
const isNumber_1 = tslib_1.__importDefault(require("lodash/isNumber"));
const indexOf_1 = tslib_1.__importDefault(require("lodash/indexOf"));
const Color_1 = require("./Color");

@@ -9,0 +10,0 @@ const GameResult_1 = require("./GameResult");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.turnToPly = exports.plyToColor = exports.plyToTurn = void 0;
const toSafeInteger_1 = require("lodash-es/toSafeInteger");
const tslib_1 = require("tslib");
const toSafeInteger_1 = tslib_1.__importDefault(require("lodash/toSafeInteger"));
const Color_1 = require("./Color");

@@ -6,0 +7,0 @@ const plyToTurn = (ply) => {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FenString = exports.FenFormat = void 0;
const repeat_1 = require("lodash-es/repeat");
const toSafeInteger_1 = require("lodash-es/toSafeInteger");
const tslib_1 = require("tslib");
const repeat_1 = tslib_1.__importDefault(require("lodash/repeat"));
const toSafeInteger_1 = tslib_1.__importDefault(require("lodash/toSafeInteger"));
const Piece_1 = require("./Piece");

@@ -7,0 +8,0 @@ const Square_1 = require("./Square");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Move = void 0;
const shortid = require("shortid");
const tslib_1 = require("tslib");
const shortid = tslib_1.__importStar(require("shortid"));
const Color_1 = require("./Color");

@@ -6,0 +7,0 @@ const SimpleMove_1 = require("./SimpleMove");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.register = void 0;
const tslib_1 = require("tslib");
const onix_core_1 = require("onix-core");
const enTranslation = require("./i18n/en-us.json");
const esTranslation = require("./i18n/es-es.json");
const ruTranslation = require("./i18n/ru-ru.json");
const enTranslation = tslib_1.__importStar(require("./i18n/en-us.json"));
const esTranslation = tslib_1.__importStar(require("./i18n/es-es.json"));
const ruTranslation = tslib_1.__importStar(require("./i18n/ru-ru.json"));
let initialized = false;

@@ -9,0 +10,0 @@ const register = () => {

{
"name": "onix-chess",
"version": "7.2.1",
"version": "7.2.2",
"description": "Onix chess library",

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

"chessground": "^7.9.3",
"lodash-es": "^4.17.15",
"onix-core": "^4.2.2",
"lodash": "^4.17.20",
"onix-core": "^4.2.3",
"redux": "^4.0.5",

@@ -37,6 +37,6 @@ "shortid": "^2.2.16",

"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/register": "^7.12.10",
"@types/lodash-es": "^4.17.4",
"@types/node": "^14.14.13",
"@types/lodash": "^4.14.166",
"@types/node": "^14.14.16",
"@types/shortid": "0.0.29",

@@ -48,5 +48,5 @@ "chai": "^4.2.0",

"typescript": "^4.1.3",
"webpack": "^5.10.1",
"webpack-cli": "^4.2.0"
"webpack": "^5.11.1",
"webpack-cli": "^4.3.0"
}
}

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

import toSafeInteger from 'lodash-es/toSafeInteger';
import toSafeInteger from 'lodash/toSafeInteger';
import * as shortid from 'shortid';
import isNumber from 'lodash-es/isNumber';
import indexOf from 'lodash-es/indexOf';
import isNumber from 'lodash/isNumber';
import indexOf from 'lodash/indexOf';

@@ -6,0 +6,0 @@ import { Squares, Colors } from '../types/Types';

@@ -1,2 +0,2 @@

import toSafeInteger from "lodash-es/toSafeInteger";
import toSafeInteger from "lodash/toSafeInteger";
import { Colors } from "../types/Types";

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

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

import repeat from 'lodash-es/repeat';
import toSafeInteger from 'lodash-es/toSafeInteger';
import repeat from 'lodash/repeat';
import toSafeInteger from 'lodash/toSafeInteger';
import { Hashtable } from 'onix-core/dist/Hashtable';

@@ -4,0 +4,0 @@ import { Colors, Squares, Pieces } from '../types/Types';

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

Sorry, the diff of this file is too big to display

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 too big to display

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