From 7a1193d108a905e316909c244af0c4b03c173430 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Fri, 20 Dec 2024 19:57:46 +0100 Subject: [PATCH] build: update dependencies (#497) * build: update dependencies * build: update dependencies --- packages/app/package.json | 37 ++++++++++++++++++------------------- packages/npm/package.json | 4 ++-- packages/npm/src/index.js | 4 +--- 3 files changed, 21 insertions(+), 24 deletions(-) diff --git a/packages/app/package.json b/packages/app/package.json index 17857d96..4689fd9a 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -28,38 +28,37 @@ "share" ], "dependencies": { - "@emotion/react": "~11.11.0", + "@emotion/react": "~11.14.0", "@kikobeats/use-query-state": "1.2.2", - "@microlink/mql": "~0.12.1", - "@microlink/react": "~5.5.12", - "@microlink/react-json-view": "~1.23.0", + "@microlink/mql": "~0.13.12", + "@microlink/react": "~5.5.22", + "@microlink/react-json-view": "~1.23.4", "@monaco-editor/react": "~4.6.0", "@snackbar/core": "~1.7.0", "babel-plugin-macros": "~3.1.0", "cycled": "~2.0.0", "deep-object-diff": "~1.1.9", - "framer-motion": "~11.0.2", + "framer-motion": "~11.15.0", "lz-ts": "~1.1.2", - "monaco-themes": "~0.4.3", - "next": "14.2.10", - "polished": "~4.3.0", - "prettier": "~2.8.3", - "react": "~18.2.0", - "react-aspect-ratio": "~1.1.4", - "react-dom": "~18.2.0", - "react-live": "~4.1.3", - "react-select": "~5.8.0", - "react-tabs": "~6.0.0", - "styled-components": "~6.1.1", - "theme-ui": "~0.16.0", - "throttle-debounce": "~5.0.0", + "monaco-themes": "~0.4.4", + "next": "15.1.2", + "polished": "~4.3.1", + "prettier": "2", + "react": "~19.0.0", + "react-aspect-ratio": "~1.1.9", + "react-dom": "~19.0.0", + "react-live": "~4.1.8", + "react-select": "~5.9.0", + "react-tabs": "~6.1.0", + "styled-components": "~6.1.13", + "theme-ui": "~0.17.1", + "throttle-debounce": "~5.0.2", "tickedoff": "~1.0.2" }, "devDependencies": { "babel-plugin-styled-components": "latest", "debug-logfmt": "latest", "download": "latest", - "eslint": "8", "eslint-config-next": "latest", "make-dir": "latest", "next-sitemap": "latest" diff --git a/packages/npm/package.json b/packages/npm/package.json index 4051bb9b..74d442d9 100644 --- a/packages/npm/package.json +++ b/packages/npm/package.json @@ -31,8 +31,8 @@ "share" ], "dependencies": { - "@microlink/mql": "~0.12.1", - "debug-logfmt": "~1.0.4", + "@microlink/mql": "~0.13.12", + "debug-logfmt": "~1.2.3", "dlv": "~1.1.3", "make-dir": "~3.1.0", "p-all": "~3.0.0" diff --git a/packages/npm/src/index.js b/packages/npm/src/index.js index 1daa44a2..0ebe677a 100644 --- a/packages/npm/src/index.js +++ b/packages/npm/src/index.js @@ -15,9 +15,7 @@ const pipeline = promisify(stream.pipeline) const takeScreenshot = async (url, mqlOpts) => { const { data } = await mql(url, { adblock: false, - element: '#screenshot', - meta: false, - screenshot: true, + screenshot: { element: '#screenshot' }, ...mqlOpts }) return data.screenshot.url