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

A couple of breaking changes: #25

Merged
merged 6 commits into from
Oct 28, 2018
Merged

A couple of breaking changes: #25

merged 6 commits into from
Oct 28, 2018

Conversation

IonicaBizau
Copy link
Owner

  • When using a local url, set the pathname to be the same with the href
  • Do not normalize the local paths
  • Do not interpret //foo.com as a remote url.
  • Remove trailing slashes at the end

/cc @pvdlg Can you please check this

 - When using a local url, set the pathname to be the same with the href
 - Do not normalize the local paths
 - Do not interpret //foo.com as a remote url.
 - Remove trailing slashes at the end
lib/index.js Outdated
: "file"
);
const firstChar = url.charAt(1)
if (output.href.startsWith("path")) debugger
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this line with debugger be removed?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed! 👍

@pvdlg
Copy link

pvdlg commented Oct 25, 2018

Other than the debugger line it looks good!

@IonicaBizau
Copy link
Owner Author

Releasing 🚀

@IonicaBizau IonicaBizau mentioned this pull request Oct 28, 2018
@IonicaBizau IonicaBizau merged commit e611717 into master Oct 28, 2018
@IonicaBizau IonicaBizau deleted the new-version branch October 28, 2018 16:39
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.

2 participants