mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
[types-2.0] D3 Upgrade to version 4.4 (#13138)
* d3 (Update to version 4.4) * Pin dependency for d3-geo to version 1.4 * Pin dependency for d3-zoom to version 1.1 * Update header comment version to 4.4 * d3 legacy linting * disabled linting of legacy definitions and tests at file level. * Remove tslint:disable from legacy tests
This commit is contained in:
+4
-4
@@ -2708,15 +2708,15 @@ function testMultiUtcFormat() {
|
||||
}
|
||||
|
||||
function testEnterSizeEmpty() {
|
||||
|
||||
|
||||
var selectionSize: number,
|
||||
emptyStatus: boolean;
|
||||
|
||||
|
||||
var newNodes = d3.selectAll('.test')
|
||||
.data(['1', '2', '3'])
|
||||
.enter();
|
||||
|
||||
|
||||
emptyStatus = newNodes.empty();
|
||||
selectionSize = newNodes.size();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+5
-1
@@ -1,8 +1,12 @@
|
||||
// Type definitions for d3JS v3.5.17
|
||||
// Type definitions for d3JS 3.5
|
||||
// Project: http://d3js.org/
|
||||
// Definitions by: Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/* tslint:disable */
|
||||
|
||||
// Latest patch version of module validated against: 3.5.17
|
||||
|
||||
export = d3;
|
||||
export as namespace d3;
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Type definitions for D3JS d3 standard bundle v4.3
|
||||
// Type definitions for D3JS d3 standard bundle 4.4
|
||||
// Project: https://github.com/d3/d3
|
||||
// Definitions by: Tom Wanzek <https://github.com/tomwanzek>, Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
Vendored
+2
@@ -3,6 +3,8 @@
|
||||
// Definitions by: Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/* tslint:disable */
|
||||
|
||||
import * as d3 from 'd3';
|
||||
|
||||
declare module 'd3' {
|
||||
|
||||
+2
-2
@@ -12,7 +12,7 @@
|
||||
"@types/d3-ease": "1.0",
|
||||
"@types/d3-force": "1.0",
|
||||
"@types/d3-format": "1.0",
|
||||
"@types/d3-geo": "1.3",
|
||||
"@types/d3-geo": "1.4",
|
||||
"@types/d3-hierarchy": "1.0",
|
||||
"@types/d3-interpolate": "1.1",
|
||||
"@types/d3-path": "1.0",
|
||||
@@ -29,6 +29,6 @@
|
||||
"@types/d3-timer": "1.0",
|
||||
"@types/d3-transition": "1.0",
|
||||
"@types/d3-voronoi": "1.1",
|
||||
"@types/d3-zoom": "1.0"
|
||||
"@types/d3-zoom": "1.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user