@types/d3-zoom
Advanced tools
Comparing version 2.0.2 to 3.0.0
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36960
561
+ Added@types/d3-color@3.1.3(transitive)
+ Added@types/d3-interpolate@3.0.4(transitive)
- Removed@types/d3-color@2.0.6(transitive)
- Removed@types/d3-interpolate@2.0.5(transitive)
Updated@types/d3-interpolate@*