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

@types/d3-zoom

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/d3-zoom - npm Package Compare versions

Comparing version 2.0.2 to 3.0.0

12

d3-zoom/index.d.ts

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

// Type definitions for d3JS d3-zoom module 2.0
// Type definitions for d3JS d3-zoom module 3.0
// Project: https://github.com/d3/d3-zoom/, https://d3js.org/d3-zoom

@@ -9,5 +9,4 @@ // Definitions by: Tom Wanzek <https://github.com/tomwanzek>

// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
// Last module patch version validated against: 2.0.0
// Last module patch version validated against: 3.0.0

@@ -467,4 +466,9 @@ import { Selection, TransitionLike, ValueFn } from 'd3-selection';

*/
export interface ZoomTransform {
export class ZoomTransform {
/**
* Returns a transform with scale k and translation (x, y).
*/
constructor(k: number, x: number, y: number);
/**
* The translation amount tx along the x-axis.

@@ -471,0 +475,0 @@ * This property should be considered read-only; instead of mutating a transform,

{
"name": "@types/d3-zoom",
"version": "2.0.2",
"version": "3.0.0",
"description": "TypeScript definitions for d3JS d3-zoom module",

@@ -43,7 +43,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-zoom",

"dependencies": {
"@types/d3-interpolate": "^2",
"@types/d3-interpolate": "*",
"@types/d3-selection": "*"
},
"typesPublisherContentHash": "7a280e72edc91be262335d8e388c82041ae1423103d8aabd119dcc7072e0e7b8",
"typesPublisherContentHash": "622599a863561c0f2d3bcf797aadbed53c24ca0cea6b148b6d450c611ed91171",
"typeScriptVersion": "3.6"
}

@@ -11,4 +11,4 @@ # Installation

### Additional Details
* Last updated: Fri, 25 Jun 2021 14:01:33 GMT
* Dependencies: [@types/d3-interpolate](https://npmjs.com/package/@types/d3-interpolate), [@types/d3-selection](https://npmjs.com/package/@types/d3-selection)
* Last updated: Sat, 26 Jun 2021 11:31:32 GMT
* Dependencies: [@types/d3-selection](https://npmjs.com/package/@types/d3-selection), [@types/d3-interpolate](https://npmjs.com/package/@types/d3-interpolate)
* Global values: none

@@ -15,0 +15,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