Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[BUG] "url.URL is not a constructor" error on Node 6 < v6.13.0 #61

Closed
Assignees
darcyclarke
@billneff79

Description

@billneff79

What / Why

The unit tests (and actual usage in the wild) fail with the error:
"url.URL is not a constructor"

When

I run the unit tests or use the package on Node v6 (which seems to be supported?) with a version less than v6.13.0, where the URL constructor was first introduced to Node v6.

Where

All places

How

Current Behavior

  • Run unit tests on Node v6 < v6.13.0 (e.g. v6.12.3) and notice the error

Steps to Reproduce

  • Run unit tests on Node v6 < v6.13.0 (e.g. v6.12.3) and notice the error

Expected Behavior

  • Running unit tests on all versions of Node v6 passes without error

Who

References

Introduced in PR#58
https://github.com/npm/hosted-git-info/pull/58/files#diff-168726dbe96b3ce427e7fedce31bb0bcR112

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp