From c30433e673708381b8fe6b601a44d1032da26a89 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 18 Mar 2024 01:25:55 +0000 Subject: [PATCH] Update all dependencies --- frontend/Dockerfile | 2 +- frontend/package.json | 52 +++++------ nhost-demo-template/package-lock.json | 128 +++++++++++++++++--------- nhost-demo-template/package.json | 2 +- 4 files changed, 112 insertions(+), 72 deletions(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 6661e27..3e3a684 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,4 +1,4 @@ -FROM node:19-alpine as build-stage +FROM node:20-alpine as build-stage WORKDIR /app RUN corepack enable diff --git a/frontend/package.json b/frontend/package.json index ecdfb3c..3517ffe 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "type": "module", "private": true, - "packageManager": "pnpm@7.28.0", + "packageManager": "pnpm@8.15.5", "scripts": { "build": "vite build", "dev": "vite --port 4010 --open", @@ -16,14 +16,14 @@ }, "dependencies": { "@apollo/client": "^3.6.9", - "@nhost/apollo": "^5.0.0", + "@nhost/apollo": "^6.0.0", "@nhost/core": "^0.9.0", - "@nhost/vue": "^1.0.0", - "@onesignal/onesignal-vue3": "^1.0.2", + "@nhost/vue": "^2.0.0", + "@onesignal/onesignal-vue3": "^2.0.0", "@quasar/extras": "^1.15.1", - "@vue/apollo-composable": "4.0.0-beta.4", - "@vueuse/core": "^9.1.0", - "@vueuse/head": "^1.0.0", + "@vue/apollo-composable": "4.0.2", + "@vueuse/core": "^10.0.0", + "@vueuse/head": "^2.0.0", "blitzar": "^1.2.2", "crypto-js": "^4.1.1", "graphql": "^16.5.0", @@ -34,12 +34,12 @@ "quasar": "^2.7.7", "vite-plugin-pages-sitemap": "^1.3.0", "vue": "^3.2.37", - "vue-demi": "^0.13.6", + "vue-demi": "^0.14.0", "vue-i18n": "^9.2.2", "vue-router": "^4.1.3" }, "devDependencies": { - "@antfu/eslint-config": "^0.35.0", + "@antfu/eslint-config": "^2.0.0", "@graphql-codegen/cli": "^3.0.0", "@graphql-codegen/typescript": "^3.0.0", "@graphql-codegen/typescript-operations": "^3.0.0", @@ -49,32 +49,32 @@ "@quasar/vite-plugin": "^1.1.1", "@types/crypto-js": "^4.1.1", "@types/markdown-it-link-attributes": "^3.0.1", - "@types/node": "^18.7.3", + "@types/node": "^20.0.0", "@types/nprogress": "^0.2.0", - "@vitejs/plugin-vue": "^4.0.0", + "@vitejs/plugin-vue": "^5.0.0", "@vue/test-utils": "^2.0.2", - "critters": "^0.0.16", + "critters": "^0.0.22", "cross-env": "^7.0.3", "eslint": "^8.21.0", "eslint-plugin-cypress": "^2.12.1", "https-localhost": "^4.7.1", "markdown-it-link-attributes": "^4.0.0", - "markdown-it-shiki": "^0.8.0", - "pnpm": "^7.8.0", - "sass": "1.58.3", - "shiki": "^0.14.0", - "taze": "^0.8.0", + "markdown-it-shiki": "^0.9.0", + "pnpm": "^8.0.0", + "sass": "1.72.0", + "shiki": "^1.0.0", + "taze": "^0.13.0", "typescript": "^5.0.0", "unocss": "^0.50.0", - "unplugin-auto-import": "^0.15.0", - "unplugin-vue-components": "^0.24.0", - "vite": "^4.0.0", - "vite-plugin-inspect": "^0.7.0", - "vite-plugin-pages": "^0.28.0", - "vite-plugin-pwa": "^0.14.0", - "vite-plugin-vue-layouts": "^0.8.0", - "vite-plugin-vue-markdown": "^0.22.0", + "unplugin-auto-import": "^0.17.0", + "unplugin-vue-components": "^0.26.0", + "vite": "^5.0.0", + "vite-plugin-inspect": "^0.8.0", + "vite-plugin-pages": "^0.32.0", + "vite-plugin-pwa": "^0.19.0", + "vite-plugin-vue-layouts": "^0.11.0", + "vite-plugin-vue-markdown": "^0.23.0", "vitest": "^0.29.0", - "vue-tsc": "^1.0.0" + "vue-tsc": "^2.0.0" } } diff --git a/nhost-demo-template/package-lock.json b/nhost-demo-template/package-lock.json index 0eb8448..87df068 100644 --- a/nhost-demo-template/package-lock.json +++ b/nhost-demo-template/package-lock.json @@ -1206,7 +1206,8 @@ "@graphql-typed-document-node/core": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/@graphql-typed-document-node/core/-/core-3.1.1.tgz", - "integrity": "sha512-NQ17ii0rK1b34VZonlmT2QMJFI70m0TRwbknO/ihlbatXyaktDhN/98vBiUU6kNBPljqGqyIrl2T4nY2RpFANg==" + "integrity": "sha512-NQ17ii0rK1b34VZonlmT2QMJFI70m0TRwbknO/ihlbatXyaktDhN/98vBiUU6kNBPljqGqyIrl2T4nY2RpFANg==", + "dev": true }, "@jridgewell/gen-mapping": { "version": "0.3.3", @@ -1256,34 +1257,55 @@ } }, "@nhost/graphql-js": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/@nhost/graphql-js/-/graphql-js-0.0.1.tgz", - "integrity": "sha512-mQEalS4b+v79kMbWUAqvK/vWMWf8qTjCsOP5rKS6FwcXx2HFWTOJtSb5h5BwnWC5veu7K4xoQsR5h2SluH41PQ==", + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/@nhost/graphql-js/-/graphql-js-0.1.9.tgz", + "integrity": "sha512-rzbthrKFwPhs8aXaTC8WFABpoMPtnVFuJqgzDTrid+LEb3i6zmnBboBwFtGnHw1pcFZFjaAb4K2Zv0Q6vlJqAw==", "requires": { - "@graphql-typed-document-node/core": "^3.1.1", - "cross-fetch": "^3.1.5", - "json-to-graphql-query": "^2.2.4" + "@graphql-typed-document-node/core": "^3.2.0", + "isomorphic-unfetch": "^3.1.0", + "jose": "^5.2.2" + }, + "dependencies": { + "@graphql-typed-document-node/core": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@graphql-typed-document-node/core/-/core-3.2.0.tgz", + "integrity": "sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ==" + }, + "jose": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/jose/-/jose-5.2.3.tgz", + "integrity": "sha512-KUXdbctm1uHVL8BYhnyHkgp3zDX5KW8ZhAKVFEfUbU2P8Alpzjb+48hHvjOdQIyPshoblhzsuqOwEEAbtHVirA==" + } } }, "@nhost/hasura-auth-js": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@nhost/hasura-auth-js/-/hasura-auth-js-2.0.0.tgz", - "integrity": "sha512-k+wjh9I6TldBciBEtAVImrJmRfmA42hYmWPSIEFsS0ExtdNYyUTrB3wbujhct8ysFeVtVtg86R/tRvlEz9y2vg==", - "requires": { - "@simplewebauthn/browser": "^6.0.0", - "cross-fetch": "^3.1.5", - "js-cookie": "^3.0.1", - "jwt-decode": "^3.1.2", - "xstate": "^4.33.5" + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@nhost/hasura-auth-js/-/hasura-auth-js-2.3.1.tgz", + "integrity": "sha512-OrNlfaUDbUaacl/MraHNdXN2A60W20zEgo8GKdEtHT8rvguBsivwHyXhJpy/oAsvXm3OnDsUY7lOHjiSWNqOtw==", + "requires": { + "@simplewebauthn/browser": "^6.2.2", + "fetch-ponyfill": "^7.1.0", + "jose": "^5.2.2", + "js-cookie": "^3.0.5", + "xstate": "^4.38.3" + }, + "dependencies": { + "jose": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/jose/-/jose-5.2.3.tgz", + "integrity": "sha512-KUXdbctm1uHVL8BYhnyHkgp3zDX5KW8ZhAKVFEfUbU2P8Alpzjb+48hHvjOdQIyPshoblhzsuqOwEEAbtHVirA==" + } } }, "@nhost/hasura-storage-js": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@nhost/hasura-storage-js/-/hasura-storage-js-2.0.0.tgz", - "integrity": "sha512-nfOtkKIK9OQpom03nXhgSPw1yMA1xEDKFtupK29A89epOtHkTYQUA9bOKXz2DG1TCrqOvY/mBmqTtFyaLty58Q==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@nhost/hasura-storage-js/-/hasura-storage-js-2.4.0.tgz", + "integrity": "sha512-iSOjiBWjxGRaZEyV1iJViDUVlQyhucBjyFZvSZxgQet1e4f4+lu3HCHPbi2CRMc0Os/BXX0AW/mzXMUwA0oC7A==", "requires": { + "fetch-ponyfill": "^7.1.0", "form-data": "^4.0.0", - "xstate": "^4.33.5" + "graphql": "16.8.1", + "xstate": "^4.38.3" }, "dependencies": { "form-data": { @@ -1295,18 +1317,23 @@ "combined-stream": "^1.0.8", "mime-types": "^2.1.12" } + }, + "graphql": { + "version": "16.8.1", + "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.8.1.tgz", + "integrity": "sha512-59LZHPdGZVh695Ud9lRzPBVTtlX9ZCV150Er2W43ro37wVof0ctenSaskPPjN7lVTIN8mSZt8PHUNKZuNQUuxw==" } } }, "@nhost/nhost-js": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@nhost/nhost-js/-/nhost-js-2.0.0.tgz", - "integrity": "sha512-L97uJAZfPuNzMI2ogP/JOchwPkeVfyYeNuv5TCzry6AWNQsjOAkE+rNAlAWoOzoqESCsNqokCAFCuoveH/JG7Q==", + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/@nhost/nhost-js/-/nhost-js-3.0.9.tgz", + "integrity": "sha512-HqQU8PkV/4zT5P/5fREO0P+qWkJMBo8J/69kjEeCYZhS/EyelmbsetRZHobY893f/shGMp9/pH+KTeeb1DY+mA==", "requires": { - "@nhost/graphql-js": "0.0.1", - "@nhost/hasura-auth-js": "2.0.0", - "@nhost/hasura-storage-js": "2.0.0", - "cross-fetch": "^3.1.5" + "@nhost/graphql-js": "0.1.9", + "@nhost/hasura-auth-js": "2.3.1", + "@nhost/hasura-storage-js": "2.4.0", + "isomorphic-unfetch": "^3.1.0" } }, "@nodelib/fs.scandir": { @@ -2142,6 +2169,7 @@ "version": "3.1.5", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.5.tgz", "integrity": "sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==", + "dev": true, "requires": { "node-fetch": "2.6.7" }, @@ -2150,6 +2178,7 @@ "version": "2.6.7", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "dev": true, "requires": { "whatwg-url": "^5.0.0" } @@ -2478,6 +2507,14 @@ "integrity": "sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ==", "dev": true }, + "fetch-ponyfill": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/fetch-ponyfill/-/fetch-ponyfill-7.1.0.tgz", + "integrity": "sha512-FhbbL55dj/qdVO3YNK7ZEkshvj3eQ7EuIGV2I6ic/2YiocvyWv+7jg2s4AyS0wdRU75s3tA8ZxI/xPigb0v5Aw==", + "requires": { + "node-fetch": "~2.6.1" + } + }, "figures": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", @@ -3047,6 +3084,15 @@ "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", "dev": true }, + "isomorphic-unfetch": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/isomorphic-unfetch/-/isomorphic-unfetch-3.1.0.tgz", + "integrity": "sha512-geDJjpoZ8N0kWexiwkX8F9NkTsXhetLPVbZFQ+JTW239QNOwvB0gniuR1Wc6f0AMTn7/mFGyXvHTifrCp/GH8Q==", + "requires": { + "node-fetch": "^2.6.1", + "unfetch": "^4.2.0" + } + }, "isomorphic-ws": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-5.0.0.tgz", @@ -3071,9 +3117,9 @@ "dev": true }, "js-cookie": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-3.0.1.tgz", - "integrity": "sha512-+0rgsUXZu4ncpPxRL+lNEptWMOWl9etvPHc/koSRp6MPwpRYAhmk0dUG00J4bxVV3r9uUzfo24wW0knS07SKSw==" + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-3.0.5.tgz", + "integrity": "sha512-cEiJEAEoIbWfCZYKWhVwFuvPX1gETRYPw6LlaTKoxD3s2AkXzkCjnp6h0V77ozyqj0jakteJ4YqDJT830+lVGw==" }, "js-tokens": { "version": "4.0.0", @@ -3131,11 +3177,6 @@ "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==" }, - "json-to-graphql-query": { - "version": "2.2.5", - "resolved": "https://registry.npmjs.org/json-to-graphql-query/-/json-to-graphql-query-2.2.5.tgz", - "integrity": "sha512-5Nom9inkIMrtY992LMBBG1Zaekrc10JaRhyZgprwHBVMDtRgllTvzl0oBbg13wJsVZoSoFNNMaeIVQs0P04vsA==" - }, "json-to-pretty-yaml": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/json-to-pretty-yaml/-/json-to-pretty-yaml-1.2.2.tgz", @@ -3169,11 +3210,6 @@ "verror": "1.10.0" } }, - "jwt-decode": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", - "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" - }, "lines-and-columns": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", @@ -3428,7 +3464,6 @@ "version": "2.6.9", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.9.tgz", "integrity": "sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==", - "dev": true, "requires": { "whatwg-url": "^5.0.0" } @@ -4315,6 +4350,11 @@ "integrity": "sha512-eXL4nmJT7oCpkZsHZUOJo8hcX3GbsiDOa0Qu9F646fi8dT3XuSVopVqAcEiVzSKKH7UoDti23wNX3qGFxcW5Qg==", "dev": true }, + "unfetch": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/unfetch/-/unfetch-4.2.0.tgz", + "integrity": "sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA==" + }, "unixify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unixify/-/unixify-1.0.0.tgz", @@ -4509,9 +4549,9 @@ "dev": true }, "xstate": { - "version": "4.36.0", - "resolved": "https://registry.npmjs.org/xstate/-/xstate-4.36.0.tgz", - "integrity": "sha512-AUI+KPgyy3g4PDpZWzUy/5ubd8VymbqikNmrJx5AQfqh+AQnemkBiabGROno+am1wUl2yeuT3UDrzUTSidfa6g==" + "version": "4.38.3", + "resolved": "https://registry.npmjs.org/xstate/-/xstate-4.38.3.tgz", + "integrity": "sha512-SH7nAaaPQx57dx6qvfcIgqKRXIh4L0A1iYEqim4s1u7c9VoCgzZc+63FY90AKU4ZzOC2cfJzTnpO4zK7fCUzzw==" }, "y18n": { "version": "5.0.8", diff --git a/nhost-demo-template/package.json b/nhost-demo-template/package.json index c68da7d..04f3ca9 100644 --- a/nhost-demo-template/package.json +++ b/nhost-demo-template/package.json @@ -10,7 +10,7 @@ "author": "", "license": "ISC", "dependencies": { - "@nhost/nhost-js": "^2.0.0", + "@nhost/nhost-js": "^3.0.0", "@types/express": "^4.17.13", "express": "^4.18.1", "graphql": "^16.5.0",