From 3f1e041f8a0b55ab7aa6a6ab883fe0ba545ce6a3 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sun, 10 Sep 2023 08:31:34 +0100 Subject: [PATCH] perf: use `node:` prefix to bypass require.cache call for builtins See https://github.com/fastify/fastify-static/pull/407 --- test/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/index.js b/test/index.js index 327c352..79d847d 100644 --- a/test/index.js +++ b/test/index.js @@ -2,7 +2,7 @@ 'use strict' const compileSchemas = require('../build/index.js') -const fs = require('fs') +const fs = require('node:fs') const tap = require('tap') const rmdir = require('rimraf')