Skip to content

Commit

Permalink
Update apollo-angular
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerKiKi committed Sep 27, 2024
1 parent f2fc569 commit 85524a2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
"@angular/platform-browser": "^18.2.3",
"@angular/platform-browser-dynamic": "^18.2.3",
"@angular/router": "^18.2.3",
"@apollo/client": "^3.10.8",
"@apollo/client": "^3.11.8",
"@ecodev/natural-layout": "^2.0.2",
"@graphql-tools/mock": "^9.0.3",
"apollo-angular": "^7.0.2",
"apollo-angular": "^7.2.0",
"crypto-es": "^2.1.0",
"extract-files": "^13.0.0",
"graphql": "^16.9.0",
Expand Down
5 changes: 3 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ import {
providePanels,
provideSeo,
} from '@ecodev/natural';
import {Apollo} from 'apollo-angular';
import {routes} from './app/app-routing';
import {AppComponent} from './app/app.component';
import {DemoLoggerExtra} from './app/demo.error-handler';
import {AnyLinkMutationService} from './app/shared/services/any-link-mutation.service';
import {environment} from './environments/environment';
import {provideApollo} from 'apollo-angular';
import {InMemoryCache} from '@apollo/client/core';

if (environment.production) {
enableProdMode();
Expand All @@ -30,7 +31,7 @@ bootstrapApplication(AppComponent, {
providers: [
provideZoneChangeDetection({eventCoalescing: true}),
provideNativeDateAdapter(),
Apollo,
provideApollo(() => ({cache: new InMemoryCache()})),
naturalProviders,
provideIcons({
natural: {
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -341,10 +341,10 @@
dependencies:
tslib "^2.3.0"

"@apollo/client@^3.10.8":
version "3.10.8"
resolved "https://registry.yarnpkg.com/@apollo/client/-/client-3.10.8.tgz#96b1548818e45fac752ec2bd318e5466d9ca26b5"
integrity sha512-UaaFEitRrPRWV836wY2L7bd3HRCfbMie1jlYMcmazFAK23MVhz/Uq7VG1nwbotPb5xzFsw5RF4Wnp2G3dWPM3g==
"@apollo/client@^3.11.8":
version "3.11.8"
resolved "https://registry.yarnpkg.com/@apollo/client/-/client-3.11.8.tgz#f6bacdc7e1b243807c1387113e1d445a53471a9c"
integrity sha512-CgG1wbtMjsV2pRGe/eYITmV5B8lXUCYljB2gB/6jWTFQcrvirUVvKg7qtFdjYkQSFbIffU1IDyxgeaN81eTjbA==
dependencies:
"@graphql-typed-document-node/core" "^3.1.1"
"@wry/caches" "^1.0.0"
Expand Down Expand Up @@ -3639,10 +3639,10 @@ anymatch@~3.1.2:
normalize-path "^3.0.0"
picomatch "^2.0.4"

apollo-angular@^7.0.2:
version "7.0.2"
resolved "https://registry.yarnpkg.com/apollo-angular/-/apollo-angular-7.0.2.tgz#35f4d396aedbc905acd0d40402802666ec6449ce"
integrity sha512-OBj+KnVfGsJ1wdsOj5CENyjBnd85vseAlgqW1kG4tvgz0QPgPlUHx5KBKhwlf2hWZceNQQcXoWQmnXxzdZbWDg==
apollo-angular@^7.2.0:
version "7.2.0"
resolved "https://registry.yarnpkg.com/apollo-angular/-/apollo-angular-7.2.0.tgz#eaf4495405ead533e445cace391989c37de7fa58"
integrity sha512-YPpRMkV7Le4VKyYfBuwG4WntAg00gJozwvVKtgtYyFVgsqaIUKpFc0mM0RYWoMoULxzkHRNOFYh57PXSrHQWjg==
dependencies:
tslib "^2.6.2"

Expand Down

0 comments on commit 85524a2

Please sign in to comment.