require the use of node prefix on native imports

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2026-01-25 13:47:32 +01:00
parent 4ad63b8d9f
commit 7455dae884
444 changed files with 749 additions and 634 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
*/
const fs = require('fs-extra');
const path = require('path');
const path = require('node:path');
const YARN_REGISTRY = 'https://registry.yarnpkg.com';
const NPM_REGISTRY = 'https://registry.npmjs.org';
+1 -1
View File
@@ -18,7 +18,7 @@
/* eslint-disable no-restricted-syntax */
const fs = require('fs-extra');
const path = require('path');
const path = require('node:path');
async function main() {
const pkgPath = path.resolve(__dirname, '../package.json');
+1 -1
View File
@@ -18,7 +18,7 @@
/* eslint-disable no-restricted-syntax */
const fs = require('fs-extra');
const path = require('path');
const path = require('node:path');
async function main() {
const pkgPath = path.resolve(__dirname, '../package.json');