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

@types/rbush

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/rbush - npm Package Compare versions

Comparing version 3.0.3 to 3.0.4

22

rbush/index.d.ts

@@ -1,9 +0,11 @@

export interface BBox {
minX: number;
minY: number;
maxX: number;
maxY: number;
declare namespace RBush {
interface BBox {
minX: number;
minY: number;
maxX: number;
maxY: number;
}
}
export default class RBush<T> {
declare class RBush<T> {
/**

@@ -72,3 +74,3 @@ * Constructs an `RBush`, a high-performance 2D spatial index for points and

*/
search(box: BBox): T[];
search(box: RBush.BBox): T[];

@@ -86,3 +88,3 @@ /**

*/
collides(box: BBox): boolean;
collides(box: RBush.BBox): boolean;

@@ -108,3 +110,3 @@ /**

*/
toBBox(item: T): BBox;
toBBox(item: T): RBush.BBox;

@@ -188,1 +190,3 @@ /**

}
export = RBush;
{
"name": "@types/rbush",
"version": "3.0.3",
"version": "3.0.4",
"description": "TypeScript definitions for rbush",

@@ -28,4 +28,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rbush",

"dependencies": {},
"typesPublisherContentHash": "0dda27107fa0a9b9489b1595e0f0a6f23890921bb97cc9e82a6275b750c2477c",
"typeScriptVersion": "4.5"
"typesPublisherContentHash": "fc80def3bc1d9260b66290f3b11e0e11feeda47e77f779972a657120647bc2d6",
"typeScriptVersion": "4.8"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Mon, 20 Nov 2023 23:36:24 GMT
* Last updated: Mon, 19 Aug 2024 20:35:51 GMT
* Dependencies: none

@@ -14,0 +14,0 @@

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