Fully autonomous AI Agents system capable of performing complex penetration testing tasks
Go ai-agentsai-security-toolanthropicautonomous-agentsgolanggptgraphqlmulti-agent-systemoffensive-securityopen-sourceopenaipenetration-testingpenetration-testing-toolsreactsecurity-automationsecurity-testingsecurity-toolsself-hosted
chore(frontend): upgrade @apollo/client to v4
Sergey Kozyrenkob6d998356366
diff --git a/frontend/package.json b/frontend/package.jsonindex ce22e319..d9b63b1c 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -18,7 +18,7 @@"test:watch": "vitest"},"dependencies": {- "@apollo/client": "^3.13.8",+ "@apollo/client": "^4.1.9","@hookform/resolvers": "^5.2.2","@monaco-editor/react": "^4.7.0","@radix-ui/react-accordion": "^1.2.11",diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yamlindex 5e524023..9456a8c6 100644--- a/frontend/pnpm-lock.yaml+++ b/frontend/pnpm-lock.yaml@@ -9,8 +9,8 @@ importers:.:dependencies:'@apollo/client':- specifier: ^3.13.8- version: 3.14.1(@types/[email protected])([email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])+ specifier: ^4.1.9+ version: 4.1.9([email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])'@hookform/resolvers':specifier: ^5.2.2version: 5.2.2([email protected]([email protected]))@@ -367,13 +367,14 @@ packages:resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}engines: {node: '>=10'}- '@apollo/[email protected]':- resolution: {integrity: sha512-SgGX6E23JsZhUdG2anxiyHvEvvN6CUaI4ZfMsndZFeuHPXL3H0IsaiNAhLITSISbeyeYd+CBd9oERXQDdjXWZw==}+ '@apollo/[email protected]':+ resolution: {integrity: sha512-qfpkQD51tdU/7iAR6aLb4w9o/L7I475DluWHRb61U/3Q0AH29nNOxOBHjBbWDdf16ncPOoQuxne1sEs2NjqBFw==}peerDependencies:- graphql: ^15.0.0 || ^16.0.0+ graphql: ^16.0.0graphql-ws: ^5.5.5 || ^6.0.3- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || >=19.0.0-rc- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || >=19.0.0-rc+ react: ^17.0.0 || ^18.0.0 || >=19.0.0-rc+ react-dom: ^17.0.0 || ^18.0.0 || >=19.0.0-rc+ rxjs: ^7.3.0subscriptions-transport-ws: ^0.9.0 || ^0.11.0peerDependenciesMeta:graphql-ws:@@ -5323,17 +5324,6 @@ packages:resolution: {integrity: sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==}engines: {node: '>= 0.4'}- resolution: {integrity: sha512-7kRDOuLHB87D/JESKxQoRwv4DzbIdwkAGQ7p6QKGdVlY1IZheUnVhlk/4UZlNUVxdAXpyxikE3URsG067ybVzw==}- peerDependencies:- '@types/react': '*'- react: '*'- peerDependenciesMeta:- '@types/react':- optional: true- react:- optional: true-resolution: {integrity: sha512-k158pK7wdC2qL3M5NcZROZ2tR/l7zOzjxXd5VGdcfIyoijjQqpHd3JKtYSBDpDZ38UI2WJWuFAtkMDxmx5kstA==}@@ -5422,6 +5412,9 @@ packages:resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}+ resolution: {integrity: sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==}+resolution: {integrity: sha512-wtZlHyOje6OZTGqAoaDKxFkgRtkF9CnHAVnCHKfuj200wAgL+bSJhdsCD2l0Qx/2ekEXjPWcyKkfGb5CPboslg==}engines: {node: '>=0.4'}@@ -5656,10 +5649,6 @@ packages:resolution: {integrity: sha512-6p4op8wE9CQv7uDFzulI6YXUw4lD9n4oQierdbFThEKVWVQcbQcUjdP27W8XE7V4QnWmnq9jueSHceyyQnqQVA==}- resolution: {integrity: sha512-b19dMThMV4HVFynSAM1++gBHAbk2Tc/osgLIBZMKsyqh34jb2e8Os7T6ZW/Bt3pJFdBTd2JwAnAAEQV7rSNvcQ==}- engines: {node: '>=0.10'}-resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==}@@ -5746,10 +5735,6 @@ packages:peerDependencies:typescript: '>=4.8.4'- resolution: {integrity: sha512-uivwYcQaxAucv1CzRp2n/QdYPo4ILf9VXgH19zEIjFx2EJufV16P0JtJVpYHy89DItG6Kwj2oIUjrcK5au+4tQ==}- engines: {node: '>=8'}-resolution: {integrity: sha512-320x5Ggei84AxzlXp91QkIGSw5wgaLT6GeAH0KsqDmRZdVWW2OiSeVvElVoatk3f7nicwXlElXsoFkARiGE2yg==}@@ -6167,12 +6152,6 @@ packages:resolution: {integrity: sha512-0LPOt3AxKqMdFBZA3HBAt/t/8vIKq7VaQYbuA8WxCgung+p9TVyKRYdpvCb80HcdTN2NkbIKbhNwKUfm3tQywQ==}- resolution: {integrity: sha512-QZWQekv6iB72Naeake9hS1KxHlotfRpe+WGNbNx5/ta+R3DNjVO2bswf63gXlWDcs+EMd7XY8HfVQyP1X6T4Zg==}-- resolution: {integrity: sha512-PQ2PC7R9rslx84ndNBZB/Dkv8V8fZEpk83RLgXtYd0fwUgEjseMn1Dgajh2x6S8QbZAFa9p2qVCEuYZNgve0dQ==}-resolution: {integrity: sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==}engines: {node: '>=18.0.0'}@@ -6191,7 +6170,7 @@ snapshots:'@alloc/[email protected]': {}- '@apollo/[email protected](@types/[email protected])([email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])':+ '@apollo/[email protected]([email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])':dependencies:'@graphql-typed-document-node/core': 3.2.0([email protected])'@wry/caches': 1.0.1@@ -6199,20 +6178,13 @@ snapshots:'@wry/trie': 0.5.0graphql: 16.14.0graphql-tag: 2.12.6([email protected])- hoist-non-react-statics: 3.3.2optimism: 0.18.1- prop-types: 15.8.1- rehackt: 0.1.0(@types/[email protected])([email protected])- symbol-observable: 4.0.0- ts-invariant: 0.10.3+ rxjs: 7.8.2tslib: 2.8.1- zen-observable-ts: 1.2.5optionalDependencies:graphql-ws: 6.0.8([email protected])([email protected])react: 19.2.6react-dom: 19.2.6([email protected])- transitivePeerDependencies:- - '@types/react''@ardatan/[email protected]([email protected])':dependencies:@@ -11691,11 +11663,6 @@ snapshots:gopd: 1.2.0set-function-name: 2.0.2- optionalDependencies:- '@types/react': 19.2.14- react: 19.2.6-dependencies:'@types/hast': 3.0.4@@ -11834,6 +11801,10 @@ snapshots:dependencies:queue-microtask: 1.2.3+ dependencies:+ tslib: 2.8.1+dependencies:call-bind: 1.0.9@@ -12107,8 +12078,6 @@ snapshots:- [email protected]: {}-@@ -12185,10 +12154,6 @@ snapshots:dependencies:typescript: 5.9.3- dependencies:- tslib: 2.8.1-@@ -12619,12 +12584,6 @@ snapshots:- dependencies:- zen-observable: 0.8.15-- [email protected]: {}-dependencies:zod: 4.4.3diff --git a/frontend/src/app.tsx b/frontend/src/app.tsxindex edd67496..9782dce9 100644--- a/frontend/src/app.tsx+++ b/frontend/src/app.tsx@@ -1,4 +1,4 @@-import { ApolloProvider } from '@apollo/client';+import { ApolloProvider } from '@apollo/client/react';import { lazy, Suspense } from 'react';import {createBrowserRouter,diff --git a/frontend/src/graphql/types.ts b/frontend/src/graphql/types.tsindex 5047a0b7..a02ffe4d 100644--- a/frontend/src/graphql/types.ts+++ b/frontend/src/graphql/types.ts@@ -1,5 +1,5 @@import { gql } from '@apollo/client';-import * as Apollo from '@apollo/client';+import * as Apollo from '@apollo/client/react';export type Maybe<T> = T | null;export type InputMaybe<T> = Maybe<T>;export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };diff --git a/frontend/src/providers/resources-provider.tsx b/frontend/src/providers/resources-provider.tsxindex 68fa602f..151a99c7 100644--- a/frontend/src/providers/resources-provider.tsx+++ b/frontend/src/providers/resources-provider.tsx@@ -1,4 +1,4 @@-import { useApolloClient } from '@apollo/client';+import { useApolloClient } from '@apollo/client/react';import { createContext, type ReactNode, useContext, useEffect, useMemo, useState } from 'react';import { toast } from 'sonner';