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

quoridor

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quoridor - npm Package Compare versions

Comparing version 2.1.8 to 2.1.9

158

lib/consts.js

@@ -365,83 +365,83 @@ "use strict";

var initialPlayerMatrix = {
a1: 0,
a2: 0,
a3: 0,
a4: 0,
a5: 0,
a6: 0,
a7: 0,
a8: 0,
a9: 0,
b1: 0,
b2: 0,
b3: 0,
b4: 0,
b5: 0,
b6: 0,
b7: 0,
b8: 0,
b9: 0,
c1: 0,
c2: 0,
c3: 0,
c4: 0,
c5: 0,
c6: 0,
c7: 0,
c8: 0,
c9: 0,
d1: 0,
d2: 0,
d3: 0,
d4: 0,
d5: 0,
d6: 0,
d7: 0,
d8: 0,
d9: 0,
a1: null,
a2: null,
a3: null,
a4: null,
a5: null,
a6: null,
a7: null,
a8: null,
a9: null,
b1: null,
b2: null,
b3: null,
b4: null,
b5: null,
b6: null,
b7: null,
b8: null,
b9: null,
c1: null,
c2: null,
c3: null,
c4: null,
c5: null,
c6: null,
c7: null,
c8: null,
c9: null,
d1: null,
d2: null,
d3: null,
d4: null,
d5: null,
d6: null,
d7: null,
d8: null,
d9: null,
e1: 1,
e2: 0,
e3: 0,
e4: 0,
e5: 0,
e6: 0,
e7: 0,
e8: 0,
e2: null,
e3: null,
e4: null,
e5: null,
e6: null,
e7: null,
e8: null,
e9: 2,
f1: 0,
f2: 0,
f3: 0,
f4: 0,
f5: 0,
f6: 0,
f7: 0,
f8: 0,
f9: 0,
g1: 0,
g2: 0,
g3: 0,
g4: 0,
g5: 0,
g6: 0,
g7: 0,
g8: 0,
g9: 0,
h1: 0,
h2: 0,
h3: 0,
h4: 0,
h5: 0,
h6: 0,
h7: 0,
h8: 0,
h9: 0,
i1: 0,
i2: 0,
i3: 0,
i4: 0,
i5: 0,
i6: 0,
i7: 0,
i8: 0,
i9: 0,
f1: null,
f2: null,
f3: null,
f4: null,
f5: null,
f6: null,
f7: null,
f8: null,
f9: null,
g1: null,
g2: null,
g3: null,
g4: null,
g5: null,
g6: null,
g7: null,
g8: null,
g9: null,
h1: null,
h2: null,
h3: null,
h4: null,
h5: null,
h6: null,
h7: null,
h8: null,
h9: null,
i1: null,
i2: null,
i3: null,
i4: null,
i5: null,
i6: null,
i7: null,
i8: null,
i9: null,
};

@@ -448,0 +448,0 @@ var initialWallMatrix = {

@@ -49,3 +49,3 @@ "use strict";

var verticalWallPosition = "" + x + y + "v";
if (game.board[pawnPosition] === 0) {
if (game.board[pawnPosition] === null) {
row += ' ';

@@ -52,0 +52,0 @@ }

@@ -33,3 +33,3 @@ "use strict";

pos,
pos === move ? getTurn_1.getTurn(game) : val === getTurn_1.getTurn(game) ? 0 : val,
pos === move ? getTurn_1.getTurn(game) : val === getTurn_1.getTurn(game) ? null : val,
];

@@ -36,0 +36,0 @@ })), playerPositions: __assign(__assign({}, game.playerPositions), (_d = {}, _d[getTurn_1.getTurn(game)] = {

@@ -36,3 +36,3 @@ export declare type HorizontalPiecePosition = 'a' | 'b' | 'c' | 'd' | 'e' | 'f' | 'g' | 'h' | 'i';

export declare type Player = 1 | 2;
export declare type PlayerMatrix = Record<PawnPosition, Player | 0>;
export declare type PlayerMatrix = Record<PawnPosition, Player | null>;
export declare type WallMatrix = Record<WallPosition, boolean>;

@@ -39,0 +39,0 @@ declare type WallCount = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;

{
"name": "quoridor",
"version": "2.1.8",
"version": "2.1.9",
"description": "A JavaScipt Quoridor library for move validation etc.",

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

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