Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

graphql-fixtures incompatible with newer node versions #2775

Open
4 tasks done
mathiusj opened this issue May 15, 2024 · 1 comment
Open
4 tasks done

graphql-fixtures incompatible with newer node versions #2775

mathiusj opened this issue May 15, 2024 · 1 comment

Comments

@mathiusj
Copy link

mathiusj commented May 15, 2024

Overview

graphql-fixtures has a nested dependency of @apollo/[email protected] which has been deprecated since Sept 22, 2023

https://www.npmjs.com/package/@apollo/federation?activeTab=versions

Stacktrace

warning graphql-fixtures > graphql-tool-utilities > apollo-codegen-core > apollo-language-server > [email protected]: The `apollo-datasource` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
warning graphql-fixtures > graphql-tool-utilities > apollo-codegen-core > apollo-language-server > @apollo/[email protected]: The @apollo/federation package is deprecated and will reach end-of-life September 22, 2023. It contains outdated utilities for both running subgraphs and composing supergraph schemas. Please migrate to the appropriate package for your use case (@apollo/subgraph or @apollo/composition). For more details, see our announcement blog post (https://www.apollographql.com/blog/announcement/backend/announcing-the-end-of-life-schedule-for-apollo-gateway-v0-x/) and documentation (https://www.apollographql.com/docs/federation/federation-2/backward-compatibility/#is-official-support-ending-for-apollogateway-v0x).
warning graphql-fixtures > graphql-tool-utilities > apollo-codegen-core > apollo-language-server > [email protected]: The `apollo-server-errors` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
warning graphql-fixtures > graphql-tool-utilities > apollo-codegen-core > apollo-language-server > apollo-datasource > [email protected]: The `apollo-server-env` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/utils.fetcher` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
warning @shopify/jest-dom-mocks > fetch-mock > [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning @shopify/sewing-kit > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
warning @shopify/sewing-kit > @shopify/babel-preset > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
warning @shopify/sewing-kit > @shopify/babel-preset > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
warning @shopify/sewing-kit > @shopify/babel-preset > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-dynamic-import instead.
warning @shopify/sewing-kit > @shopify/babel-preset > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
warning @shopify/sewing-kit > @shopify/babel-preset > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
warning @shopify/sewing-kit > @shopify/babel-preset > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.
warning @shopify/sewing-kit > graphql-typescript-definitions > @types/[email protected]: This is a stub types definition. chokidar provides its own type definitions, so you do not need this installed.
warning @shopify/sewing-kit > svgo > [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
warning @shopify/sewing-kit > webpack-dev-middleware > [email protected]: this will be v4
warning @shopify/sewing-kit > jest-environment-jsdom > jsdom > [email protected]: Use your platform's native atob() and btoa() methods instead
warning @shopify/sewing-kit > jest-environment-jsdom > jsdom > data-urls > [email protected]: Use your platform's native atob() and btoa() methods instead
warning @shopify/sewing-kit > jest-environment-jsdom > jsdom > [email protected]: Use your platform's native DOMException instead
warning @shopify/sewing-kit > jest-environment-jsdom > jsdom > [email protected]: Use your platform's native performance.now() and performance.timeOrigin.
warning @shopify/sewing-kit > imagemin-optipng > exec-buffer > tempfile > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning @shopify/sewing-kit > node-sass > make-fetch-happen > cacache > @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
warning @shopify/sewing-kit > node-sass > node-gyp > make-fetch-happen > cacache > @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
[3/5] Fetching packages...
error @apollo/[email protected]: The engine "node" is incompatible with this module. Expected version ">=12.13.0 <17.0". Got "20.10.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Consuming repo

Cleaning up dependabot PRs in https://github.com/Shopify/shipping-to-production

Affected PRs require us to use node >= 20.10.0:

https://github.com/Shopify/shipping-to-production/pull/6391
https://github.com/Shopify/shipping-to-production/pull/6358

Area

  • Add any relevant Area: <area> labels to this issue

Scope

  • Is this issue related to a specific package?

    • Tag it with the Package: <package_name> label.

Checklist

  • Please delete the labels section before submitting your issue
  • I have described this issue in a way that is actionable (if possible)
@richardplatel
Copy link

This is also an issue for graphql-typescript-definitions: https://github.com/Shopify/abacus/issues/4266

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants