🎩 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
25
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.3
to
1.0.4
+73
-74
dist/index.mjs

@@ -6,6 +6,76 @@ import fs, { realpathSync, statSync } from 'node:fs';

import process$1 from 'node:process';
import { builtinModules } from 'node:module';
import v8 from 'node:v8';
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 own$1 = {}.hasOwnProperty;

@@ -1038,3 +1108,3 @@ const classRegExp = /^([A-Z][a-z\d]*)+$/;

function packageResolve(specifier, base, conditions) {
if (builtinModules.includes(specifier)) {
if (nodeBuiltins.includes(specifier)) {
return new URL$1("node:" + specifier);

@@ -1123,3 +1193,3 @@ }

} catch (error_) {
if (isData && !builtinModules.includes(specifier)) {
if (isData && !nodeBuiltins.includes(specifier)) {
const error = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base);

@@ -1139,73 +1209,2 @@ error.cause = error_;

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"]);

@@ -1212,0 +1211,0 @@ const isWindows = /* @__PURE__ */ (() => process.platform === "win32")();

{
"name": "exsolve",
"version": "1.0.3",
"version": "1.0.4",
"description": "Module resolution utilities based on Node.js upstream implementation.",

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