Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Yagnap committed Oct 9, 2024
1 parent 1e0967f commit e13eea7
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 21 deletions.
3 changes: 1 addition & 2 deletions js/browser/contextmenuEdges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
import * as util from "./util";
import { config } from "../config/config";
import { EDGE } from "../edge";
import * as language from "../lang/language";
import { Graph } from "./graph";
import { type MenuItem, ContextMenu } from "./contextmenu";
import type { MenuItem } from "./contextmenu";
import log from "loglevel";

/** Register modular edge context menu.
Expand Down
2 changes: 1 addition & 1 deletion js/browser/contextmenuNodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as rdf from "../rdf";
import { NODE } from "../node";
import * as util from "./util";
import { Graph, Direction } from "./graph";
import { type MenuItem, ContextMenu } from "./contextmenu";
import type { MenuItem } from "./contextmenu";
import * as sparql from "../sparql";
import * as language from "../lang/language";

Expand Down
1 change: 0 additions & 1 deletion js/browser/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { progress } from "./progress";
import { View } from "./view";
import type { Core, Collection, NodeCollection, EdgeCollection, NodeSingular } from "cytoscape";
import cytoscape from "cytoscape"; //eslint-disable-line no-duplicate-imports
import type { Menu } from "./menu";
import log from "loglevel";

/** Specify the direction of edges to show around a given node. */
Expand Down
1 change: 0 additions & 1 deletion js/browser/init.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { config } from "../config/config";
import { loadGraphFromSparql } from "../loadGraphFromSparql";
import { loadGraphFromJsonFile, loadLayoutFromJsonObject } from "./load";
import { Menu } from "./menu";
import { Search } from "./search";
import * as layout from "../layout";
import * as sparql from "../sparql";
Expand Down
2 changes: 2 additions & 0 deletions js/config/config.dist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ Copy to js/config/config.ts after checkout and adapt to your preferences.
*/

import type { LogLevelDesc } from "loglevel";
// eslint-disable-next-line no-unused-vars
import snikConf from "./config.snik";
// eslint-disable-next-line no-unused-vars
import hitoConf from "./config.hito";

export const config = {
Expand Down
2 changes: 1 addition & 1 deletion js/config/config.hito.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import hitoView from "./initialView/hito.json" assert { type: "json" };
import { NODE } from "../node";
import { NodeSingular } from "cytoscape";
import type { NodeSingular } from "cytoscape";

let shapeMap: Map<string, string> = new Map([
["Citation", "rectangle"],
Expand Down
2 changes: 1 addition & 1 deletion js/config/config.snik.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NodeSingular } from "cytoscape";
import type { NodeSingular } from "cytoscape";
import { NODE } from "../node";
import snikView from "./initialView/snik.json" assert { type: "json" };

Expand Down
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,39 @@
"type": "module",
"homepage": "https://github.com/snikproject/graph#readme",
"dependencies": {
"@types/chai": "^4.3.17",
"@types/cytoscape": "^3.21.5",
"@types/jquery": "^3.5.30",
"@types/chai": "^5.0.0",
"@types/cytoscape": "^3.21.8",
"@types/jquery": "^3.5.31",
"@types/micromodal": "^0.3.5",
"@types/node": "^22.1.0",
"@types/node": "^22.7.5",
"@types/stats": "^0.16.30",
"chai": "^5.1.1",
"cytoscape": "^3.30.2",
"cytoscape-context-menus": "^4.1.0",
"cytoscape-euler": "^1.2.2",
"cytoscape-context-menus": "^4.2.1",
"cytoscape-euler": "^1.2.3",
"cytoscape-svg": "^0.4.0",
"fuse.js": "^7.0.0",
"golden-layout": "^1.5.9",
"hotkeys-js": "^3.13.7",
"jquery": "^3.7.1",
"loglevel": "^1.9.1",
"loglevel": "^1.9.2",
"micromodal": "^0.4.10",
"notyf": "^3.10.0",
"spin.js": "^4.1.2",
"stats.js": "^0.17.0",
"tippy.js": "^6.3.7",
"vite": "^5.4.0",
"vitest": "^2.0.5"
"vite": "^5.4.8",
"vitest": "^2.1.2"
},
"devDependencies": {
"c8": "^10.1.2",
"husky": "^9.1.4",
"lint-staged": "^15.2.8",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"oxlint": "^0.4.3",
"prettier": "^3.3.3",
"typedoc": "^0.26.5",
"typedoc-plugin-merge-modules": "^6.0.0",
"typescript": "^5.5.4",
"typedoc": "^0.26.8",
"typedoc-plugin-merge-modules": "^6.0.1",
"typescript": "^5.6.3",
"vite-plugin-oxlint": "^1.0.5"
},
"keywords": [
Expand Down

0 comments on commit e13eea7

Please sign in to comment.