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

@types/d3-drag

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/d3-drag - npm Package Compare versions

Comparing version 1.0.7 to 1.1.0

d3-drag/LICENSE

18

d3-drag/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for D3JS d3-drag module 1.0
// Type definitions for D3JS d3-drag module 1.1
// Project: https://github.com/d3/d3-drag/

@@ -6,3 +6,3 @@ // Definitions by: Tom Wanzek <https://github.com/tomwanzek>, Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov>

// Last module patch version validated against: 1.0.2
// Last module patch version validated against: 1.1.0

@@ -169,2 +169,16 @@ import { ArrayLike, Selection, ValueFn } from 'd3-selection';

/**
* Return the current click distance threshold, which defaults to zero.
*/
clickDistance(): number;
/**
* Set the maximum distance that the mouse can move between mousedown and mouseup that will trigger
* a subsequent click event. If at any point between mousedown and mouseup the mouse is greater than or equal to
* distance from its position on mousedown, the click event follwing mouseup will be suppressed.
*
* @param distance The distance threshold between mousedown and mouseup measured in client coordinates (event.clientX and event.clientY).
* The default is zero.
*/
clickDistance(distance: number): this;
/**
* Return the first currently-assigned listener matching the specified typenames, if any.

@@ -171,0 +185,0 @@ *

4

d3-drag/package.json
{
"name": "@types/d3-drag",
"version": "1.0.7",
"version": "1.1.0",
"description": "TypeScript definitions for D3JS d3-drag module",

@@ -30,4 +30,4 @@ "license": "MIT",

"peerDependencies": {},
"typesPublisherContentHash": "015fe815385ba0037a67da199c8429651ed3735aae7432df1a3e75fcaa7e6b09",
"typesPublisherContentHash": "b7c391203c389d6af1cd1c8f1d8d6280d369889ef231f28add1a922e4a1d6713",
"typeScriptVersion": "2.0"
}

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

Additional Details
* Last updated: Thu, 30 Mar 2017 21:29:26 GMT
* Last updated: Sat, 13 May 2017 17:12:32 GMT
* Dependencies: 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