Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Lose characters when fullwidth characters exist and end is not specified #26

Closed
bet4it opened this issue May 27, 2019 · 3 comments · Fixed by #27
Closed

Lose characters when fullwidth characters exist and end is not specified #26

bet4it opened this issue May 27, 2019 · 3 comments · Fixed by #27
Labels
bug 🎁 Rewarded on Issuehunt This issue has been rewarded on Issuehunt help wanted

Comments

@bet4it
Copy link

bet4it commented May 27, 2019

Issuehunt badges

Lose characters when there are fullwidth characters in the string and the third argument end is not specified:

const str = sliceAnsi("古古test", 0);
// => '古古te'

IssueHunt Summary

kevva kevva has been rewarded.

Backers (Total: $60.00)

Submitted pull Requests


Tips


IssueHunt has been backed by the following sponsors. Become a sponsor

@sindresorhus
Copy link
Member

I've added a failing test for this: 108d0ad

@issuehunt-oss
Copy link

issuehunt-oss bot commented Sep 19, 2019

@issuehunt has funded $60.00 to this issue.


@issuehunt-oss issuehunt-oss bot added the 💵 Funded on Issuehunt This issue has been funded on Issuehunt label Sep 19, 2019
@sudomf sudomf mentioned this issue Jan 4, 2020
@issuehunt-oss
Copy link

issuehunt-oss bot commented Feb 16, 2020

@sindresorhus has rewarded $54.00 to @kevva. See it on IssueHunt

  • 💰 Total deposit: $60.00
  • 🎉 Repository reward(0%): $0.00
  • 🔧 Service fee(10%): $6.00

@issuehunt-oss issuehunt-oss bot added 🎁 Rewarded on Issuehunt This issue has been rewarded on Issuehunt and removed 💵 Funded on Issuehunt This issue has been funded on Issuehunt labels Feb 16, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug 🎁 Rewarded on Issuehunt This issue has been rewarded on Issuehunt help wanted
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants