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

1

lib/index.d.ts

@@ -11,2 +11,3 @@ export { createNewGame } from './createNewGame';

export { undo } from './undo';
export { redo } from './redo';
/**

@@ -13,0 +14,0 @@ * Deprecated. This function has been renamed to getUnicodeRepresentation.

4

lib/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.undoLastMove = exports.isValidMove = exports.getAsciiRepresentation = exports.undo = exports.getTurn = exports.getValidMoveArray = exports.getWinner = exports.isGameOver = exports.makeMove = exports.getUnicodeRepresentation = exports.isMoveValid = exports.createGameFromMoves = exports.createNewGame = void 0;
exports.undoLastMove = exports.isValidMove = exports.getAsciiRepresentation = exports.redo = exports.undo = exports.getTurn = exports.getValidMoveArray = exports.getWinner = exports.isGameOver = exports.makeMove = exports.getUnicodeRepresentation = exports.isMoveValid = exports.createGameFromMoves = exports.createNewGame = void 0;
var createNewGame_1 = require("./createNewGame");

@@ -24,2 +24,4 @@ Object.defineProperty(exports, "createNewGame", { enumerable: true, get: function () { return createNewGame_1.createNewGame; } });

Object.defineProperty(exports, "undo", { enumerable: true, get: function () { return undo_1.undo; } });
var redo_1 = require("./redo");
Object.defineProperty(exports, "redo", { enumerable: true, get: function () { return redo_1.redo; } });
var getUnicodeRepresentation_2 = require("./getUnicodeRepresentation");

@@ -26,0 +28,0 @@ var isMoveValid_2 = require("./isMoveValid");

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

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

@@ -208,3 +208,3 @@ # quoridor.js

```TypeScript
import { createGameFromMoves, undo, getUnicodeRepresentation } from 'quoridor';
import { createGameFromMoves, redo, undo, getUnicodeRepresentation } from 'quoridor';

@@ -211,0 +211,0 @@ const game = createGameFromMoves(['e2', 'e8', 'd7v']);

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