From 3c628ac6c74a40096cc33b7433a7684bf7de5742 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Sun, 24 Dec 2023 02:33:56 +0100 Subject: chore(deps): bump dependencies --- .../frontend/config/graphvizUMDVitePlugin.ts | 12 +++-- subprojects/frontend/package.json | 54 +++++++++++----------- 2 files changed, 34 insertions(+), 32 deletions(-) (limited to 'subprojects/frontend') diff --git a/subprojects/frontend/config/graphvizUMDVitePlugin.ts b/subprojects/frontend/config/graphvizUMDVitePlugin.ts index ab726e4f..0c3c9aa0 100644 --- a/subprojects/frontend/config/graphvizUMDVitePlugin.ts +++ b/subprojects/frontend/config/graphvizUMDVitePlugin.ts @@ -27,13 +27,15 @@ export default function graphvizUMDVitePlugin(): PluginOption { async buildStart() { const issuer = root === undefined ? issuerFileName : path.join(root, issuerFileName); - const resolvedPath = pnpapi.resolveRequest( - '@hpcc-js/wasm/graphviz', - issuer, - ); - if (resolvedPath === null) { + // Since https://github.com/hpcc-systems/hpcc-js-wasm/commit/15e1ace5edae7f94714e547a3ac20e0e17cd6b0c, + // hpcc-js has both a `.cjs` and a `.umd.js` build. PnPAPI will find the former, but we need the latter. + const resolvedPath = pnpapi + .resolveRequest('@hpcc-js/wasm/graphviz', issuer) + ?.replace(/\.cjs$/, '.umd.js'); + if (resolvedPath === undefined) { return; } + console.log(resolvedPath); if (command === 'serve') { url = `/@fs/${resolvedPath}`; } else { diff --git a/subprojects/frontend/package.json b/subprojects/frontend/package.json index f55093ce..9dec8b32 100644 --- a/subprojects/frontend/package.json +++ b/subprojects/frontend/package.json @@ -33,23 +33,23 @@ "@codemirror/language": "^6.9.3", "@codemirror/lint": "^6.4.2", "@codemirror/search": "^6.5.5", - "@codemirror/state": "^6.3.2", - "@codemirror/view": "^6.22.1", - "@emotion/react": "^11.11.1", + "@codemirror/state": "^6.3.3", + "@codemirror/view": "^6.22.3", + "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.0", - "@fontsource-variable/jetbrains-mono": "^5.0.18", - "@fontsource-variable/open-sans": "^5.0.18", - "@hpcc-js/wasm": "^2.15.0", - "@lezer/common": "^1.1.1", + "@fontsource-variable/jetbrains-mono": "^5.0.19", + "@fontsource-variable/open-sans": "^5.0.21", + "@hpcc-js/wasm": "^2.15.3", + "@lezer/common": "^1.1.2", "@lezer/highlight": "^1.2.0", "@lezer/lr": "^1.3.14", "@material-icons/svg": "^1.0.33", - "@mui/icons-material": "5.14.19", - "@mui/material": "5.14.19", - "@mui/system": "^5.14.19", - "@mui/x-data-grid": "^6.18.2", + "@mui/icons-material": "^5.15.1", + "@mui/material": "^5.15.1", + "@mui/system": "^5.15.1", + "@mui/x-data-grid": "^6.18.6", "ansi-styles": "^6.2.1", - "csstype": "^3.1.2", + "csstype": "^3.1.3", "d3": "^7.8.5", "d3-graphviz": "patch:d3-graphviz@npm%3A5.2.0#~/.yarn/patches/d3-graphviz-npm-5.2.0-161b1fbad4.patch", "d3-selection": "^3.0.0", @@ -65,7 +65,7 @@ "notistack": "^3.0.1", "react": "^18.2.0", "react-dom": "^18.2.0", - "react-resize-detector": "^9.1.0", + "react-resize-detector": "^9.1.1", "xstate": "^4.38.3", "zod": "^3.22.4" }, @@ -75,38 +75,38 @@ "@types/d3-graphviz": "^2.6.10", "@types/d3-selection": "^3.0.10", "@types/d3-zoom": "^3.0.8", - "@types/eslint": "^8.44.8", + "@types/eslint": "^8.56.0", "@types/html-minifier-terser": "^7.0.2", "@types/lodash-es": "^4.17.12", "@types/micromatch": "^4.0.6", "@types/ms": "^0.7.34", - "@types/node": "^20.10.2", + "@types/node": "^20.10.5", "@types/pnpapi": "^0.0.5", - "@types/react": "^18.2.41", - "@types/react-dom": "^18.2.17", - "@typescript-eslint/eslint-plugin": "^6.13.1", - "@typescript-eslint/parser": "^6.13.1", + "@types/react": "^18.2.45", + "@types/react-dom": "^18.2.18", + "@typescript-eslint/eslint-plugin": "^6.15.0", + "@typescript-eslint/parser": "^6.15.0", "@vitejs/plugin-react-swc": "^3.5.0", - "@xstate/cli": "^0.5.11", + "@xstate/cli": "^0.5.15", "cross-env": "^7.0.3", - "eslint": "^8.55.0", + "eslint": "^8.56.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^17.1.0", "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^3.6.1", - "eslint-plugin-import": "^2.29.0", + "eslint-plugin-import": "^2.29.1", "eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-mobx": "^0.0.9", - "eslint-plugin-prettier": "^5.0.1", + "eslint-plugin-prettier": "^5.1.1", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "html-minifier-terser": "^7.2.0", "micromatch": "^4.0.5", "pnpapi": "^0.0.0", - "prettier": "^3.1.0", - "typescript": "5.3.2", - "vite": "^5.0.4", - "vite-plugin-pwa": "^0.17.2", + "prettier": "^3.1.1", + "typescript": "5.3.3", + "vite": "^5.0.10", + "vite-plugin-pwa": "^0.17.4", "workbox-window": "^7.0.0" } } -- cgit v1.2.3-54-g00ecf