Skip to content

Commit

Permalink
fix(fe2): SSR memory leak caused by vue apollo
Browse files Browse the repository at this point in the history
  • Loading branch information
fabis94 committed Jan 9, 2025
1 parent be51d29 commit 079f835
Show file tree
Hide file tree
Showing 5 changed files with 216 additions and 76 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"husky": "^7.0.4",
"lint-staged": "^12.3.7",
"lockfile": "^1.0.4",
"npkill": "^0.12.2",
"pino-pretty": "^9.1.1",
"prettier": "^2.5.1",
"ts-node": "^10.9.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend-2/lib/common/generated/gql/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2585,7 +2585,7 @@ export type Query = {
/** Look up server users */
users: UserSearchResultCollection;
/** Look up server users with a collection of emails */
usersByEmail: UserSearchResultCollection;
usersByEmail: Array<Maybe<LimitedUser>>;
/** Validates the slug, to make sure it contains only valid characters and its not taken. */
validateWorkspaceSlug: Scalars['Boolean']['output'];
workspace: Workspace;
Expand Down
6 changes: 3 additions & 3 deletions packages/frontend-2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"eslint:inspect": "eslint-config-inspector"
},
"dependencies": {
"@apollo/client": "^3.9.6",
"@apollo/client": "^3.12.4",
"@artmizu/nuxt-prometheus": "^2.2.1",
"@datadog/browser-rum": "^5.11.0",
"@headlessui/vue": "^1.7.13",
Expand Down Expand Up @@ -53,7 +53,7 @@
"@tiptap/suggestion": "2.10.3",
"@tiptap/vue-3": "2.10.3",
"@tryghost/content-api": "^1.11.21",
"@vue/apollo-composable": "4.0.2",
"@vue/apollo-composable": "npm:@speckle/[email protected]",
"@vue/apollo-ssr": "4.0.0",
"@vueuse/core": "^10.9.0",
"apollo-upload-client": "^18.0.1",
Expand All @@ -77,7 +77,7 @@
"tweetnacl-sealedbox-js": "^1.2.0",
"tweetnacl-util": "^0.15.1",
"ua-parser-js": "^1.0.38",
"vee-validate": "^4.7.0",
"vee-validate": "4.7.0",
"vue-advanced-cropper": "^2.8.8",
"vue-tippy": "^6.0.0",
"ws": "^8.17.1"
Expand Down
3 changes: 2 additions & 1 deletion packages/ui-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
}
},
"peerDependencies": {
"vee-validate": "^4.7.0",
"vue": "^3.3.0"
},
"dependencies": {
Expand All @@ -57,7 +58,6 @@
"lodash-es": "^4.0.0",
"nanoid": "^3.0.0",
"v3-infinite-loading": "^1.2.2",
"vee-validate": "^4.7.0",
"vue-advanced-cropper": "^2.8.8",
"vue-tippy": "^6.0.0"
},
Expand Down Expand Up @@ -97,6 +97,7 @@
"type-fest": "^2.13.1",
"typescript": "^5.0.4",
"unplugin-vue-macros": "^2.7.0",
"vee-validate": "^4.15.0",
"vite": "^4.5.2",
"vite-plugin-dts": "^3.6.3",
"vue": "^3.3.8",
Expand Down
Loading

0 comments on commit 079f835

Please sign in to comment.