Skip to content

Commit

Permalink
perf: use node: prefix to bypass require.cache call for builtins (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Sep 10, 2023
1 parent 514335a commit 6c97e35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

const URL = require('url')
const URL = require('node:url')
const { normalizeIPv6, normalizeIPv4, removeDotSegments, recomposeAuthority, normalizeComponentEncoding } = require('./lib/utils')
const SCHEMES = require('./lib/schemes')

Expand Down

0 comments on commit 6c97e35

Please sign in to comment.