Skip to content

Commit

Permalink
perf: use node: prefix to bypass require.cache call for builtins (#114
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Sep 10, 2023
1 parent 73d729b commit a323532
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 { format } = require('util')
const { format } = require('node:util')

function toString () {
return `${this.name} [${this.code}]: ${this.message}`
Expand Down

0 comments on commit a323532

Please sign in to comment.