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.4 to 4.0.0

22

rbush/index.d.ts

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

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

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

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

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

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

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

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

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

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

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

],
"type": "module",
"main": "",
"types": "index.d.ts",
"exports": "./index.d.ts",
"repository": {

@@ -29,4 +31,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "fc80def3bc1d9260b66290f3b11e0e11feeda47e77f779972a657120647bc2d6",
"typesPublisherContentHash": "a6479e8247e20d9927dc562cef7411645f9a724817a19dd486baa6214636b4ac",
"typeScriptVersion": "4.8"
}

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

### Additional Details
* Last updated: Mon, 19 Aug 2024 20:35:51 GMT
* Last updated: Thu, 26 Sep 2024 17:08:07 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