mathiasbynens / mathiasbynens/punycode.js

The prepublish script changes the export signature, mismatch to @types/punycode

Open
#112 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.7k
Forks
170
PR merge metrics
No merged PRs in 30d

Description

The prepublish script changes the export signature, and in the npm-published package this new export signature makes it mismatch the type declaration in @types/punycode for typescript.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the prepublish script and compare the export signature in the npm-published package with the declaration supplied by @types/punycode. Determine the intended matching signature, then verify that the published output and type declaration agree.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.