resolve 1.22.13
- Source
- https://github.com/browserify/resolve
- Artifact scanned
resolve-1.22.13.tgz- Compared with
resolve-1.22.12.tgz(0 signals introduced since)- Files
- 93 scanned, 8 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 4 info
- Scan time
- 4.2 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 4 of 4 warn and critical signals; 4 demoted to info.
- Disclude version
- 4.3.0
- Scanned (UTC)
- 2026-10-23 17:12
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
// note: this must be require, not require.resolve, due to https://github.com/nodejs/node/issues/43274 var ; // eslint-disable-line no-loop-func t.;likely benign Test helper that requires each Node core module name in a loop to verify resolution.Reasoning
The require(mod) call sits in a test loop iterating over Node core module names from resolve.core, checking that each core module can be required without throwing. The dynamic specifier is intentional and confined to a test file; this is a standard pattern in the resolve package's tests.
-
st.;likely benign Assertion that requiring each core module does not throw, in a test file.Reasoning
Same test pattern: require(mod) inside st.doesNotThrow over the core module list, with eslint-disable comments acknowledging the loop. No attacker-controlled input or network/exec behavior.
-
st.;likely benign Second test assertion requiring core modules dynamically, in a test file.Reasoning
Repeats the identical doesNotThrow over core module names in the test suite. The specifier comes from a fixed internal list, so the non-literal require is benign.
-
var dir = path.; var tester = ; // eslint-disable-line global-requirelikely benign Test loads a fixture main.js from a __dirname-relative directory.Reasoning
require(path.join(dir, 'main.js')) loads a fixture file from a path relative to __dirname, with a literal filename. It is a test fixture loader with an eslint-disable for global-require, not an obfuscated or malicious load.
Reproduce This Scan
Run disclude locally to verify. These commands scan the published file; the "new in this release" marks come from comparing it with the previous release's file, which they don't repeat. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.
|
&&