diff --git a/packages/graphql-react-query/package.json b/packages/graphql-react-query/package.json index 1606949d..4622b444 100644 --- a/packages/graphql-react-query/package.json +++ b/packages/graphql-react-query/package.json @@ -24,7 +24,7 @@ "lodash-es": "^4.17.21", "react": "^18.2.0", "typescript": "^5.2.2", - "valtio": "^1.11.2", + "valtio": "^2.1.0", "zod": "^3.22.4" }, "peerDependencies": { @@ -33,7 +33,7 @@ "@types/react": ">=17", "lodash-es": "^4.17.21", "react": ">=17", - "valtio": "^1.11.2", + "valtio": "^2.1.0", "zod": "^3.22.2" }, "publishConfig": { diff --git a/packages/graphql-react-ws/package.json b/packages/graphql-react-ws/package.json index 715e9828..9b98d544 100644 --- a/packages/graphql-react-ws/package.json +++ b/packages/graphql-react-ws/package.json @@ -25,14 +25,14 @@ "graphql": "^16.8.1", "react": "^18.2.0", "typescript": "^5.2.2", - "valtio": "^1.11.2" + "valtio": "^2.1.0" }, "peerDependencies": { "@soundxyz/gql-string": "workspace:^0.1.0", "@types/react": "^18.0.28", "graphql": "^16.6.0", "react": "^18.2.0", - "valtio": "^1.11.2" + "valtio": "^2.1.0" }, "publishConfig": { "directory": "dist" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index acf4e136..5d74f46a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -227,8 +227,8 @@ importers: specifier: ^5.2.2 version: 5.2.2 valtio: - specifier: ^1.11.2 - version: 1.11.2(@types/react@18.2.28)(react@18.2.0) + specifier: ^2.1.0 + version: 2.1.0(@types/react@18.2.28)(react@18.2.0) zod: specifier: ^3.22.4 version: 3.22.4 @@ -271,8 +271,8 @@ importers: specifier: ^5.2.2 version: 5.2.2 valtio: - specifier: ^1.11.2 - version: 1.11.2(@types/react@18.2.28)(react@18.2.0) + specifier: ^2.1.0 + version: 2.1.0(@types/react@18.2.28)(react@18.2.0) publishDirectory: dist packages: @@ -1792,6 +1792,7 @@ packages: glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + deprecated: Glob versions prior to v9 are no longer supported globals@11.12.0: resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} @@ -1929,6 +1930,7 @@ packages: inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} @@ -2465,8 +2467,8 @@ packages: promise@7.3.1: resolution: {integrity: sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==} - proxy-compare@2.5.1: - resolution: {integrity: sha512-oyfc0Tx87Cpwva5ZXezSp5V9vht1c7dZBhvuV/y3ctkgMVUmiAGDVeeB0dKhGSyT0v1ZTEQYpe/RXlBVBNuCLA==} + proxy-compare@3.0.0: + resolution: {integrity: sha512-y44MCkgtZUCT9tZGuE278fB7PWVf7fRYy0vbRXAts2o5F0EfC4fIQrvQQGBJo1WJbFcVLXzApOscyJuZqHQc1w==} pseudomap@1.0.2: resolution: {integrity: sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==} @@ -2914,12 +2916,12 @@ packages: validate-npm-package-license@3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} - valtio@1.11.2: - resolution: {integrity: sha512-1XfIxnUXzyswPAPXo1P3Pdx2mq/pIqZICkWN60Hby0d9Iqb+MEIpqgYVlbflvHdrp2YR/q3jyKWRPJJ100yxaw==} + valtio@2.1.0: + resolution: {integrity: sha512-UryxkWilm5huamW8vNAvj7KLodPgSN5EVWcetwzcy8pVyc27tQ+RqSRmJ0zx/Cq219O7yqaNl12GcCSujoLDUw==} engines: {node: '>=12.20.0'} peerDependencies: - '@types/react': '>=16.8' - react: '>=16.8' + '@types/react': '>=18.0.0' + react: '>=18.0.0' peerDependenciesMeta: '@types/react': optional: true @@ -5635,7 +5637,7 @@ snapshots: dependencies: asap: 2.0.6 - proxy-compare@2.5.1: {} + proxy-compare@3.0.0: {} pseudomap@1.0.2: {} @@ -6079,10 +6081,9 @@ snapshots: spdx-correct: 3.2.0 spdx-expression-parse: 3.0.1 - valtio@1.11.2(@types/react@18.2.28)(react@18.2.0): + valtio@2.1.0(@types/react@18.2.28)(react@18.2.0): dependencies: - proxy-compare: 2.5.1 - use-sync-external-store: 1.2.0(react@18.2.0) + proxy-compare: 3.0.0 optionalDependencies: '@types/react': 18.2.28 react: 18.2.0