Socket
Socket
Sign inDemoInstall

@types/d3-brush

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

@types/d3-brush - npm Package Compare versions

Comparing version 3.0.3 to 3.0.4

12

d3-brush/index.d.ts

@@ -11,3 +11,3 @@ // Type definitions for D3JS d3-brush module 3.0

import { Selection, TransitionLike, ValueFn } from 'd3-selection';
import { Selection, TransitionLike, ValueFn } from "d3-selection";

@@ -49,3 +49,7 @@ /**

*/
move(group: Selection<SVGGElement, Datum, any, any> | TransitionLike<SVGGElement, Datum>, selection: null | BrushSelection | ValueFn<SVGGElement, Datum, BrushSelection>, event?: Event): void;
move(
group: Selection<SVGGElement, Datum, any, any> | TransitionLike<SVGGElement, Datum>,
selection: null | BrushSelection | ValueFn<SVGGElement, Datum, BrushSelection>,
event?: Event,
): void;

@@ -247,3 +251,3 @@ /**

*/
type: 'start' | 'brush' | 'end' | string; // Leave failsafe string type for cases like 'brush.foo'
type: "start" | "brush" | "end" | string; // Leave failsafe string type for cases like 'brush.foo'
/**

@@ -261,3 +265,3 @@ * The current brush selection associated with the event.

*/
mode: 'drag' | 'space' | 'handle' | 'center';
mode: "drag" | "space" | "handle" | "center";
}
{
"name": "@types/d3-brush",
"version": "3.0.3",
"version": "3.0.4",
"description": "TypeScript definitions for D3JS d3-brush module",

@@ -40,4 +40,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-brush",

},
"typesPublisherContentHash": "6b0f18b74fb6da8e41dc14313b3ad6a94498025b4e169f8b6de0ecd558f74021",
"typeScriptVersion": "4.3"
"typesPublisherContentHash": "ccd593ca984fc72ed858102ff312c404832c366092d962b078361b7d4d13819d",
"typeScriptVersion": "4.5"
}

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

### Additional Details
* Last updated: Tue, 22 Aug 2023 18:04:17 GMT
* Last updated: Fri, 22 Sep 2023 20:29:40 GMT
* Dependencies: [@types/d3-selection](https://npmjs.com/package/@types/d3-selection)

@@ -14,0 +14,0 @@ * Global values: none

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