Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat: decodeURL() #97

Merged
merged 4 commits into from
Sep 20, 2019
Merged

feat: decodeURL() #97

merged 4 commits into from
Sep 20, 2019

Conversation

curbengh
Copy link
Contributor

Decode encoded URL or path. An alternative to the native decodeURI() function, with added ability to decode punycoded domain.

lib/punycode.js is derived from https://github.com/bestiejs/punycode.js with punycode.toUnicode(input) function only and some minor modifications to pass eslint-config-hexo. It's not added in index.js as it shouldn't be used outside of hexo.

@coveralls
Copy link

coveralls commented Sep 20, 2019

Coverage Status

Coverage decreased (-1.5%) to 95.018% when pulling 8758e6b on curbengh:decode-url into a4a0b37 on hexojs:master.

SukkaW
SukkaW previously approved these changes Sep 20, 2019
@curbengh curbengh merged commit e463a12 into hexojs:master Sep 20, 2019
@curbengh curbengh deleted the decode-url branch September 20, 2019 11:36
This was referenced Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants