🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

exsolve

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exsolve - npm Package Compare versions

Comparing version
1.0.2
to
1.0.3
+73
-2
dist/index.mjs
import fs, { realpathSync, statSync } from 'node:fs';
import { fileURLToPath, URL as URL$1, pathToFileURL } from 'node:url';
import path, { isAbsolute } from 'node:path';
import { builtinModules } from 'node:module';
import assert from 'node:assert';
import process$1 from 'node:process';
import { builtinModules } from 'node:module';
import v8 from 'node:v8';

@@ -1136,2 +1136,73 @@ import { format, inspect } from 'node:util';

const nodeBuiltins = [
"_http_agent",
"_http_client",
"_http_common",
"_http_incoming",
"_http_outgoing",
"_http_server",
"_stream_duplex",
"_stream_passthrough",
"_stream_readable",
"_stream_transform",
"_stream_wrap",
"_stream_writable",
"_tls_common",
"_tls_wrap",
"assert",
"assert/strict",
"async_hooks",
"buffer",
"child_process",
"cluster",
"console",
"constants",
"crypto",
"dgram",
"diagnostics_channel",
"dns",
"dns/promises",
"domain",
"events",
"fs",
"fs/promises",
"http",
"http2",
"https",
"inspector",
"inspector/promises",
"module",
"net",
"os",
"path",
"path/posix",
"path/win32",
"perf_hooks",
"process",
"punycode",
"querystring",
"readline",
"readline/promises",
"repl",
"stream",
"stream/consumers",
"stream/promises",
"stream/web",
"string_decoder",
"sys",
"timers",
"timers/promises",
"tls",
"trace_events",
"tty",
"url",
"util",
"util/types",
"v8",
"vm",
"wasi",
"worker_threads",
"zlib"
];
const DEFAULT_CONDITIONS_SET = /* @__PURE__ */ new Set(["node", "import"]);

@@ -1348,3 +1419,3 @@ const isWindows = /* @__PURE__ */ (() => process.platform === "win32")();

}
if (builtinModules.includes(input) && !input.includes(":")) {
if (nodeBuiltins.includes(input) && !input.includes(":")) {
return { external: `node:${input}` };

@@ -1351,0 +1422,0 @@ }

+1
-1
{
"name": "exsolve",
"version": "1.0.2",
"version": "1.0.3",
"description": "Module resolution utilities based on Node.js upstream implementation.",

@@ -5,0 +5,0 @@ "repository": "unjs/exsolve",