Skip to content

Commit

Permalink
perf: use node: prefix to bypass require.cache call for builtins (#142
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Fdawgs authored Sep 10, 2023
1 parent a119bc9 commit 7319df6
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 isPromise = require('util').types.isPromise
const isPromise = require('node:util').types.isPromise
const fp = require('fastify-plugin')

function fastifyFunky (fastify, opts, next) {
Expand Down

0 comments on commit 7319df6

Please sign in to comment.