🐞[BUG] - keep-sorted doesn't copy emojis correctly
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- eslint, typescript
- Domain
- tooling
Research direction
Start with the linked minimal reproduction and trace the keep-sorted processing path in this repository. Reproduce the issue with the provided emoji example, then add coverage for the observed behavior and verify that the sorted output preserves the emoji characters.
Written by the indexing model from the issue text.
Description
Describe the bug
keep-sorted doesn't copy emojis correctly
From Code
const example = {
apple: "🍏",
orange: "🍊",
banana: "🍌",
};
Results
Reproduction
https://github.com/INeedJobToStartWork/problem-repro2
System Info
System:
OS: Windows 11 10.0.22000
CPU: (40) x64 Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz
Memory: 16.17 GB / 31.85 GB
Binaries:
Node: 21.7.3 - C:\Program Files\nodejs\node.EXE
npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD
pnpm: 9.6.0 - C:\Program Files\nodejs\pnpm.CMD
Browsers:
Edge: Spartan (44.22000.120.0), Chromium (127.0.2651.74)
Internet Explorer: 11.0.22000.120
Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.
Contributions
- I am willing to submit a PR to fix this issue
- I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
- Dominant language
- TypeScript
- Stars
- 372
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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.
More from antfu/eslint-plugin-command
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
antfu/eslint-plugin-command#45 · 2 comments · 2 reactions ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
antfu/eslint-plugin-command#33 · 1 reaction ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
antfu/eslint-plugin-command#23 · 3 comments ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
antfu/eslint-plugin-command#17 · 2 comments ·
All issues in antfu/eslint-plugin-command
Similar issues
-
triage
Difficulty 1/5 Under an hour Newbie friendliness 64/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
ranxianglei/billion-context#7860 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
agent-oc-find-bugs api complexity → simple payment-methods recurring contributions reviewed stripe
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
opencollective/opencollective#9177 ·