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

Fix "URL is not defined" error #381

Merged
merged 1 commit into from
May 29, 2018
Merged

Fix "URL is not defined" error #381

merged 1 commit into from
May 29, 2018

Conversation

jaeseok-park
Copy link
Contributor

I have made a PR for the issue #380.
This is the first PR for public github open source.
If I made a mistake, please advise me.
Thank you.

@leo
Copy link
Contributor

leo commented May 29, 2018

It seems like you're using an older version of Node.js (the URL class is now part of the global scope and therefore available without importing the module).

But supporting that Node.js version of yours? I mean, why not! Thank you!

@leo leo self-requested a review May 29, 2018 08:01
@leo leo added the patch label May 29, 2018
@leo leo merged commit 5b1840c into vercel:master May 29, 2018
@leo leo mentioned this pull request May 29, 2018
@jaeseok-park
Copy link
Contributor Author

My Node.js version is v8.11.2 LTS FYI.
Thank you for your approval.

@nickserv
Copy link

nickserv commented May 29, 2018

It was added globally in Node 10 so you know, but this was a great idea for supporting 8 and older versions. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants