Use node prefix for build-in modules (#3340)

It is basically a cosmetic thing, but has the following advantages:

1. Consistency with the official node documentation. The prefix is used
there.
2. It is easier to recognize the build-in modules.
This commit is contained in:
Kristjan ESPERANTO
2024-01-08 17:45:54 +01:00
committed by GitHub
parent 407072d12d
commit 4bbd35fa6a
28 changed files with 489 additions and 132 deletions

View File

@@ -5,7 +5,7 @@
* MIT Licensed.
*/
const https = require("https");
const https = require("node:https");
const ical = require("node-ical");
const Log = require("logger");
const NodeHelper = require("node_helper");

View File

@@ -8,7 +8,7 @@
/**
* @external Moment
*/
const path = require("path");
const path = require("node:path");
const moment = require("moment");
const zoneTable = require(path.join(__dirname, "windowsZones.json"));