Skip to content

Commit

Permalink
Add import of URL for Node.js < 10.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pimm committed Nov 16, 2021
1 parent 4eaf29d commit 5c51b94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/communication/parseQueryInUrl.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// If support for Node.js < 10.0.0 is ever dropped, this import can be removed.
import { URL } from 'url';
import buildFromEntries from '../plumbing/buildFromEntries';

/**
Expand Down

0 comments on commit 5c51b94

Please sign in to comment.