Skip to content

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