Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions notNeededPackages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2897,6 +2897,10 @@
"libraryName": "hashids",
"asOfVersion": "2.0.0"
},
"hashmap": {
"libraryName": "hashmap",
"asOfVersion": "3.0.1"
},
"hcaptcha__react-hcaptcha": {
"libraryName": "@hcaptcha/react-hcaptcha",
"asOfVersion": "0.3.7"
Expand Down Expand Up @@ -2993,6 +2997,10 @@
"libraryName": "htmlparser2",
"asOfVersion": "4.1.0"
},
"http-codes": {
"libraryName": "http-codes",
"asOfVersion": "2.0.0"
},
"http-graceful-shutdown": {
"libraryName": "http-graceful-shutdown",
"asOfVersion": "2.3.0"
Expand Down
3 changes: 3 additions & 0 deletions types/d3-graphviz/d3-graphviz-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@ const options: d3Graphviz.GraphvizOptions = d3Graphviz.graphviz("").options();
// Can set the options
graphviz = graphviz.options(options);

// Can destroy
graphviz.destroy();

// Can use selectWithoutDataPropagation
const selected = select("this").selectWithoutDataPropagation("that");
6 changes: 6 additions & 0 deletions types/d3-graphviz/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,12 @@ export interface Graphviz<GElement extends BaseType, Datum, PElement extends Bas
* @param size the size in bytes of memory allocated to Viz.js
*/
totalMemory(size: number): this;

/**
* Removes the Graphviz renderer from the element it was created on,
* terminates any active dedicated web worker and closes any port connected to a shared web worker.
*/
destroy(): this;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion types/d3-graphviz/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@types/d3-graphviz",
"version": "2.6.9999",
"version": "3.1.9999",
"projects": [
"https://github.com/magjac/d3-graphviz"
],
Expand Down
6 changes: 0 additions & 6 deletions types/hashmap/.npmignore

This file was deleted.

46 changes: 0 additions & 46 deletions types/hashmap/hashmap-tests.ts

This file was deleted.

140 changes: 0 additions & 140 deletions types/hashmap/index.d.ts

This file was deleted.

25 changes: 0 additions & 25 deletions types/hashmap/package.json

This file was deleted.

20 changes: 0 additions & 20 deletions types/hashmap/tsconfig.json

This file was deleted.

5 changes: 0 additions & 5 deletions types/hashmap/v1/.npmignore

This file was deleted.

22 changes: 0 additions & 22 deletions types/hashmap/v1/hashmap-tests.ts

This file was deleted.

65 changes: 0 additions & 65 deletions types/hashmap/v1/index.d.ts

This file was deleted.

Loading