You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package @sitecore-jss/sitecore-jss has a dependency on "graphql-request": "^4.2.0". This has a downstream dependency on punycode, which under Node.Js 22 raises a deprecation message.
Later versions of graphql-request (latest is 7.1.2) do not have this downstream dependency
To Reproduce
use Node.Js 22
run anything that uses @sitecore-jss/sitecore-jss
observe the deprecation message:
Expected Behavior
No deprecation message shown
Possible Fix
the deprecation message can be traced to a very old version of [email protected] used downstream:
Later versions of graphql-request have removed the cross-fetch dependency and do not exhibit the same problem
Provide environment information
Sitecore Version: 10.3
JSS Version: 21
Environment Name and version: Node 22.13.0
The text was updated successfully, but these errors were encountered:
Describe the Bug
The package
@sitecore-jss/sitecore-jss
has a dependency on"graphql-request": "^4.2.0"
. This has a downstream dependency onpunycode
, which under Node.Js 22 raises a deprecation message.Later versions of
graphql-request
(latest is 7.1.2) do not have this downstream dependencyTo Reproduce
@sitecore-jss/sitecore-jss
Expected Behavior
No deprecation message shown
Possible Fix
the deprecation message can be traced to a very old version of
[email protected]
used downstream:Later versions of
graphql-request
have removed thecross-fetch
dependency and do not exhibit the same problemProvide environment information
The text was updated successfully, but these errors were encountered: