-
Notifications
You must be signed in to change notification settings - Fork 273
Open
Labels
backlogIssue/PR/discussion is reviewed and added to backlog for the further workIssue/PR/discussion is reviewed and added to backlog for the further work🐞 bug
Description
Describe the Bug
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
Expected Behavior
No deprecation message shown
Possible Fix
the deprecation message can be traced to a very old version of whatwg-url@5.0.0 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
Metadata
Metadata
Assignees
Labels
backlogIssue/PR/discussion is reviewed and added to backlog for the further workIssue/PR/discussion is reviewed and added to backlog for the further work🐞 bug
