aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2023-02-25 01:26:11 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2023-02-26 13:27:37 +0100
commit9336850f69f8130e792f8f3763f4e4a951da1921 (patch)
tree80b81e3f726704eff460553409a79b414609fb41 /subprojects
parentrefactor: rename PartialInterpretation adapter (diff)
downloadrefinery-9336850f69f8130e792f8f3763f4e4a951da1921.tar.gz
refinery-9336850f69f8130e792f8f3763f4e4a951da1921.tar.zst
refinery-9336850f69f8130e792f8f3763f4e4a951da1921.zip
chore(deps): bump dependencies
Diffstat (limited to 'subprojects')
-rw-r--r--subprojects/frontend/package.json48
-rw-r--r--subprojects/frontend/src/editor/scrollbarViewPlugin.ts1
-rw-r--r--subprojects/frontend/src/utils/PendingTask.ts1
-rw-r--r--subprojects/frontend/src/utils/useDelayedSnackbar.ts1
-rw-r--r--subprojects/frontend/src/xtext/webSocketMachine.ts11
5 files changed, 29 insertions, 33 deletions
diff --git a/subprojects/frontend/package.json b/subprojects/frontend/package.json
index a9153cd4..885c7da7 100644
--- a/subprojects/frontend/package.json
+++ b/subprojects/frontend/package.json
@@ -23,56 +23,56 @@
23 }, 23 },
24 "homepage": "https://refinery.tools", 24 "homepage": "https://refinery.tools",
25 "dependencies": { 25 "dependencies": {
26 "@codemirror/autocomplete": "^6.4.0", 26 "@codemirror/autocomplete": "^6.4.2",
27 "@codemirror/commands": "^6.2.0", 27 "@codemirror/commands": "^6.2.1",
28 "@codemirror/language": "^6.4.0", 28 "@codemirror/language": "^6.6.0",
29 "@codemirror/lint": "^6.1.0", 29 "@codemirror/lint": "^6.1.1",
30 "@codemirror/search": "^6.2.3", 30 "@codemirror/search": "^6.2.3",
31 "@codemirror/state": "^6.2.0", 31 "@codemirror/state": "^6.2.0",
32 "@codemirror/view": "^6.7.3", 32 "@codemirror/view": "^6.9.1",
33 "@emotion/react": "^11.10.5", 33 "@emotion/react": "^11.10.6",
34 "@emotion/styled": "^11.10.5", 34 "@emotion/styled": "^11.10.6",
35 "@fontsource/inter": "^4.5.15", 35 "@fontsource/inter": "^4.5.15",
36 "@fontsource/jetbrains-mono": "^4.5.12", 36 "@fontsource/jetbrains-mono": "^4.5.12",
37 "@lezer/common": "^1.0.2", 37 "@lezer/common": "^1.0.2",
38 "@lezer/highlight": "^1.1.3", 38 "@lezer/highlight": "^1.1.3",
39 "@lezer/lr": "^1.3.3", 39 "@lezer/lr": "^1.3.3",
40 "@material-icons/svg": "^1.0.33", 40 "@material-icons/svg": "^1.0.33",
41 "@mui/icons-material": "5.11.0", 41 "@mui/icons-material": "5.11.9",
42 "@mui/material": "5.11.7", 42 "@mui/material": "5.11.10",
43 "@vitejs/plugin-react-swc": "^3.1.0", 43 "@vitejs/plugin-react-swc": "^3.2.0",
44 "ansi-styles": "^6.2.1", 44 "ansi-styles": "^6.2.1",
45 "escape-string-regexp": "^5.0.0", 45 "escape-string-regexp": "^5.0.0",
46 "lodash-es": "^4.17.21", 46 "lodash-es": "^4.17.21",
47 "loglevel": "^1.8.1", 47 "loglevel": "^1.8.1",
48 "loglevel-plugin-prefix": "^0.8.4", 48 "loglevel-plugin-prefix": "^0.8.4",
49 "mobx": "^6.7.0", 49 "mobx": "^6.8.0",
50 "mobx-react-lite": "^3.4.0", 50 "mobx-react-lite": "^3.4.0",
51 "ms": "^2.1.3", 51 "ms": "^2.1.3",
52 "nanoid": "^4.0.0", 52 "nanoid": "^4.0.1",
53 "notistack": "^2.0.8", 53 "notistack": "^2.0.8",
54 "react": "^18.2.0", 54 "react": "^18.2.0",
55 "react-dom": "^18.2.0", 55 "react-dom": "^18.2.0",
56 "xstate": "^4.35.4", 56 "xstate": "^4.37.0",
57 "zod": "^3.20.2" 57 "zod": "^3.20.6"
58 }, 58 },
59 "devDependencies": { 59 "devDependencies": {
60 "@lezer/generator": "^1.2.2", 60 "@lezer/generator": "^1.2.2",
61 "@tsconfig/node18-strictest-esm": "^1.0.1", 61 "@tsconfig/node18-strictest-esm": "^1.0.1",
62 "@types/eslint": "^8.21.0", 62 "@types/eslint": "^8.21.1",
63 "@types/html-minifier-terser": "^7.0.0", 63 "@types/html-minifier-terser": "^7.0.0",
64 "@types/lodash-es": "^4.17.6", 64 "@types/lodash-es": "^4.17.6",
65 "@types/micromatch": "^4.0.2", 65 "@types/micromatch": "^4.0.2",
66 "@types/ms": "^0.7.31", 66 "@types/ms": "^0.7.31",
67 "@types/node": "^18.11.18", 67 "@types/node": "^18.14.1",
68 "@types/prettier": "^2.7.2", 68 "@types/prettier": "^2.7.2",
69 "@types/react": "^18.0.27", 69 "@types/react": "^18.0.28",
70 "@types/react-dom": "^18.0.10", 70 "@types/react-dom": "^18.0.11",
71 "@typescript-eslint/eslint-plugin": "^5.50.0", 71 "@typescript-eslint/eslint-plugin": "^5.53.0",
72 "@typescript-eslint/parser": "^5.50.0", 72 "@typescript-eslint/parser": "^5.53.0",
73 "@xstate/cli": "^0.4.2", 73 "@xstate/cli": "^0.4.2",
74 "cross-env": "^7.0.3", 74 "cross-env": "^7.0.3",
75 "eslint": "^8.33.0", 75 "eslint": "^8.35.0",
76 "eslint-config-airbnb": "^19.0.4", 76 "eslint-config-airbnb": "^19.0.4",
77 "eslint-config-airbnb-typescript": "^17.0.0", 77 "eslint-config-airbnb-typescript": "^17.0.0",
78 "eslint-config-prettier": "^8.6.0", 78 "eslint-config-prettier": "^8.6.0",
@@ -85,10 +85,10 @@
85 "eslint-plugin-react-hooks": "^4.6.0", 85 "eslint-plugin-react-hooks": "^4.6.0",
86 "html-minifier-terser": "^7.1.0", 86 "html-minifier-terser": "^7.1.0",
87 "micromatch": "^4.0.5", 87 "micromatch": "^4.0.5",
88 "prettier": "^2.8.3", 88 "prettier": "^2.8.4",
89 "typescript": "4.9.5", 89 "typescript": "4.9.5",
90 "vite": "^4.1.1", 90 "vite": "^4.1.4",
91 "vite-plugin-pwa": "^0.14.1", 91 "vite-plugin-pwa": "^0.14.4",
92 "workbox-window": "^6.5.4" 92 "workbox-window": "^6.5.4"
93 } 93 }
94} 94}
diff --git a/subprojects/frontend/src/editor/scrollbarViewPlugin.ts b/subprojects/frontend/src/editor/scrollbarViewPlugin.ts
index f54251a9..f44034fd 100644
--- a/subprojects/frontend/src/editor/scrollbarViewPlugin.ts
+++ b/subprojects/frontend/src/editor/scrollbarViewPlugin.ts
@@ -266,7 +266,6 @@ export default function scrollbarViewPlugin(
266 if (firstRunTimeout !== undefined) { 266 if (firstRunTimeout !== undefined) {
267 clearTimeout(firstRunTimeout); 267 clearTimeout(firstRunTimeout);
268 } 268 }
269 // @ts-expect-error `@types/node` typings should not be in effect here.
270 firstRunTimeout = setTimeout(() => { 269 firstRunTimeout = setTimeout(() => {
271 spacer.style.minHeight = `${scrollHeight}px`; 270 spacer.style.minHeight = `${scrollHeight}px`;
272 firstRun = false; 271 firstRun = false;
diff --git a/subprojects/frontend/src/utils/PendingTask.ts b/subprojects/frontend/src/utils/PendingTask.ts
index fd52cef1..d0b24c1f 100644
--- a/subprojects/frontend/src/utils/PendingTask.ts
+++ b/subprojects/frontend/src/utils/PendingTask.ts
@@ -20,7 +20,6 @@ export default class PendingTask<T> {
20 ) { 20 ) {
21 this.resolveCallback = resolveCallback; 21 this.resolveCallback = resolveCallback;
22 this.rejectCallback = rejectCallback; 22 this.rejectCallback = rejectCallback;
23 // @ts-expect-error See https://github.com/mobxjs/mobx/issues/3582 on `@types/node` pollution
24 this.timeout = setTimeout(() => { 23 this.timeout = setTimeout(() => {
25 if (!this.resolved) { 24 if (!this.resolved) {
26 this.reject(new TimeoutError()); 25 this.reject(new TimeoutError());
diff --git a/subprojects/frontend/src/utils/useDelayedSnackbar.ts b/subprojects/frontend/src/utils/useDelayedSnackbar.ts
index 54716c0c..03ad6caa 100644
--- a/subprojects/frontend/src/utils/useDelayedSnackbar.ts
+++ b/subprojects/frontend/src/utils/useDelayedSnackbar.ts
@@ -21,7 +21,6 @@ export default function useDelayedSnackbar(
21 delay = defaultDelay, 21 delay = defaultDelay,
22 ) => { 22 ) => {
23 let key: SnackbarKey | undefined; 23 let key: SnackbarKey | undefined;
24 // @ts-expect-error See https://github.com/mobxjs/mobx/issues/3582 on `@types/node` pollution
25 let timeout: number | undefined = setTimeout(() => { 24 let timeout: number | undefined = setTimeout(() => {
26 timeout = undefined; 25 timeout = undefined;
27 key = enqueueSnackbar(message, options); 26 key = enqueueSnackbar(message, options);
diff --git a/subprojects/frontend/src/xtext/webSocketMachine.ts b/subprojects/frontend/src/xtext/webSocketMachine.ts
index 216ed86a..fc53fef3 100644
--- a/subprojects/frontend/src/xtext/webSocketMachine.ts
+++ b/subprojects/frontend/src/xtext/webSocketMachine.ts
@@ -1,5 +1,5 @@
1import ms from 'ms'; 1import ms from 'ms';
2import { actions, assign, createMachine, RaiseAction } from 'xstate'; 2import { actions, assign, createMachine } from 'xstate';
3 3
4const { raise } = actions; 4const { raise } = actions;
5 5
@@ -217,16 +217,15 @@ export default createMachine(
217 ...context, 217 ...context,
218 errors: [], 218 errors: [],
219 })), 219 })),
220 // Workaround from https://github.com/statelyai/xstate/issues/1414#issuecomment-699972485
221 raiseTimeoutError: raise({ 220 raiseTimeoutError: raise({
222 type: 'ERROR', 221 type: 'ERROR',
223 message: 'Open timeout', 222 message: 'Open timeout',
224 }) as RaiseAction<WebSocketEvent>, 223 }),
225 raisePromiseRejectionError: (_context, { data }) => 224 raisePromiseRejectionError: (_context, { data }) =>
226 raise({ 225 raise<WebSocketContext, WebSocketEvent>({
227 type: 'ERROR', 226 type: 'ERROR',
228 message: data, 227 message: String(data),
229 }) as RaiseAction<WebSocketEvent>, 228 }),
230 }, 229 },
231 }, 230 },
232); 231);