Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

onix-board

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onix-board - npm Package Compare versions

Comparing version 1.4.22 to 1.4.23

src/test/ChessBoardTest.ts

3

dist/chess/ChessDragLayer.js

@@ -71,4 +71,3 @@ import * as tslib_1 from "tslib";

isDragging: monitor.isDragging()
}); }),
tslib_1.__metadata("design:paramtypes", [Object])
}); })
], ChessDragLayer);

@@ -75,0 +74,0 @@ return ChessDragLayer;

import * as React from 'react';
import { DragSourceSpec } from 'react-dnd';
import { DragSourceSpec, ConnectDragSource } from 'react-dnd';
import { BoardRelatedStore } from './BoardState';

@@ -11,4 +11,4 @@ export interface PieceProps {

dnd: boolean;
children?: React.ReactNode;
context?: any;
connectDragSource?: ConnectDragSource;
isDragging?: boolean;
}

@@ -15,0 +15,0 @@ export interface DragPiece {

@@ -50,4 +50,3 @@ import * as tslib_1 from "tslib";

ChessPiece = tslib_1.__decorate([
DragSource("DND_TYPES.PIECE", pieceSource, collect),
tslib_1.__metadata("design:paramtypes", [Object, Object])
DragSource("DND_TYPES.PIECE", pieceSource, collect)
], ChessPiece);

@@ -54,0 +53,0 @@ return ChessPiece;

import * as React from 'react';
import { ConnectDropTarget } from 'react-dnd';
import { BoardRelatedStore } from './BoardState';

@@ -11,2 +12,5 @@ export interface SquareProps {

dnd: boolean;
connectDropTarget?: ConnectDropTarget;
isOver?: boolean;
canDrop?: boolean;
}

@@ -13,0 +17,0 @@ export declare class ChessSquare extends React.Component<SquareProps, {}> {

@@ -90,4 +90,3 @@ import * as tslib_1 from "tslib";

ChessSquare = tslib_1.__decorate([
DropTarget("DND_TYPES.PIECE", squareTarget, collect),
tslib_1.__metadata("design:paramtypes", [Object])
DropTarget("DND_TYPES.PIECE", squareTarget, collect)
], ChessSquare);

@@ -94,0 +93,0 @@ return ChessSquare;

{
"name": "onix-board",
"version": "1.4.22",
"version": "1.4.23",
"description": "Onix chess board abstractions",

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

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 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