mam 1.11.793 → 1.11.794
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node.js +2 -2
- package/node.js.map +1 -1
- package/node.mjs +2 -2
- package/node.test.js +2 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
package/node.js
CHANGED
|
@@ -5293,8 +5293,6 @@ var $;
|
|
|
5293
5293
|
ensure(path) {
|
|
5294
5294
|
const mod = $mol_file.absolute(path);
|
|
5295
5295
|
const parent = mod.parent();
|
|
5296
|
-
if (mod.name().startsWith('node:'))
|
|
5297
|
-
return true;
|
|
5298
5296
|
if (mod !== this.root())
|
|
5299
5297
|
this.ensure(parent.path());
|
|
5300
5298
|
if (mod.exists() && mod.type() !== 'dir')
|
|
@@ -7288,6 +7286,8 @@ var $;
|
|
|
7288
7286
|
return str;
|
|
7289
7287
|
});
|
|
7290
7288
|
line.replace(/\b(?:require|import)\(\s*['"]([^"'()]*?)['"]\s*\)/ig, (str, path) => {
|
|
7289
|
+
if (path.startsWith('node:'))
|
|
7290
|
+
return str;
|
|
7291
7291
|
$mol_build_depsMerge(depends, { [path]: priority });
|
|
7292
7292
|
return str;
|
|
7293
7293
|
});
|