CyberSource / CyberSource/cybersource-rest-client-node
DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 49
- Forks
- 50
- Avg merge
- 18m
- Merged PRs (30d)
- 2
Description
The SDK uses packages with deprecated dependencies.
It uses tough-cookie v4 as a dependency which still uses punycode, which causes the deprecation error in node:
"(node:2) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)"
Punycode was removed from tough-cookie in v5, so the SDK needs updating to use the newer versions.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the SDK's dependency manifests and the tough-cookie v4 dependency, then inspect how the package is resolved in Node.js. Update the dependency path to a version without punycode and run the project's existing checks. Done means the SDK no longer emits the reported DEP0040 warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100