diff --git a/.circleci/config.yml b/.circleci/config.yml index 8012addc7fe..759e59f5445 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -86,7 +86,7 @@ workflows: node-version: - "14" - "16" - - "17" + - "18" - "Check for FIXM\x45" - Prettier - Spell check diff --git a/package-lock.json b/package-lock.json index eed8b2e9423..d396439d6ac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11854,9 +11854,9 @@ "license": "MIT", "dependencies": { "@apollo/usage-reporting-protobuf": "^3.3.0", - "@apollo/utils.createhash": "^1.0.0", + "@apollo/utils.createhash": "^1.1.0", "@apollo/utils.fetcher": "^1.0.0", - "@apollo/utils.isnodelike": "^1.0.0", + "@apollo/utils.isnodelike": "^1.1.0", "@apollo/utils.logger": "^1.0.0", "@apollographql/graphql-playground-html": "1.6.29", "@graphql-tools/mock": "^8.1.2", @@ -11963,9 +11963,9 @@ "version": "file:packages/server", "requires": { "@apollo/usage-reporting-protobuf": "^3.3.0", - "@apollo/utils.createhash": "^1.0.0", + "@apollo/utils.createhash": "^1.1.0", "@apollo/utils.fetcher": "^1.0.0", - "@apollo/utils.isnodelike": "^1.0.0", + "@apollo/utils.isnodelike": "^1.1.0", "@apollo/utils.logger": "^1.0.0", "@apollographql/graphql-playground-html": "1.6.29", "@graphql-tools/mock": "^8.1.2", diff --git a/packages/server/package.json b/packages/server/package.json index 476d3c2e58e..30be4aba0ce 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -26,8 +26,8 @@ }, "dependencies": { "@apollo/usage-reporting-protobuf": "^3.3.0", - "@apollo/utils.createhash": "^1.0.0", - "@apollo/utils.isnodelike": "^1.0.0", + "@apollo/utils.createhash": "^1.1.0", + "@apollo/utils.isnodelike": "^1.1.0", "@apollo/utils.logger": "^1.0.0", "@apollo/utils.fetcher": "^1.0.0", "@apollographql/graphql-playground-html": "1.6.29", diff --git a/packages/server/src/__tests__/integration/apolloServerTests.ts b/packages/server/src/__tests__/integration/apolloServerTests.ts index 99a0070f8dc..b06263f96ed 100644 --- a/packages/server/src/__tests__/integration/apolloServerTests.ts +++ b/packages/server/src/__tests__/integration/apolloServerTests.ts @@ -934,7 +934,8 @@ export function defineIntegrationTestSuiteApolloServerTests( const { family, address, port } = this.server.address() as AddressInfo; - if (family !== 'IPv4') { + // @ts-expect-error until https://github.com/DefinitelyTyped/DefinitelyTyped/pull/60042 + if (family !== 'IPv4' && family !== 4) { throw new Error(`The family was unexpectedly ${family}.`); } return new URL(`http://${address}:${port}`).toString(); @@ -1959,7 +1960,8 @@ export function defineIntegrationTestSuiteApolloServerTests( const { family, address, port } = fakeUsageReportingServer.address() as AddressInfo; - if (family !== 'IPv4') { + // @ts-expect-error until https://github.com/DefinitelyTyped/DefinitelyTyped/pull/60042 + if (family !== 'IPv4' && family !== 4) { throw new Error(`The family was unexpectedly ${family}.`); }