Upgrading nano-spawn from 2.x to 3.x
Comparison of the public API of nano-spawn 2.1.0 and 3.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.
Summary
| Removed import paths | 0 |
|---|---|
| Removed exports | 2 |
| Changed signatures | 2 |
| Removed class or interface members | 0 |
| Changed class or interface members | 0 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 1 |
| New exports | 0 |
Removed exports
| import | export | kind | Before |
|---|---|---|---|
nano-spawn | StdinOption | type | any |
nano-spawn | StdioOption | type | any |
Changed signatures
| export | Before | After |
|---|---|---|
nano-spawn · Options | Omit<SpawnOptions, "env" | "stdio"> & Readonly<Partial<{ stdin: any; stdout: any; stderr: any; stdio: any; preferLocal: boolean; env: Readonly<Partial<Record<string, string>>>; }>> | Omit<SpawnOptions, "env" | "stdio"> & Readonly<Partial<{ input: string; stdin: any; stdout: any; stderr: any; stdio: any; preferLocal: boolean; env: Readonly<Partial<Record<string, string>>>; }>> |
nano-spawn · Subprocess | Promise<Result> & AsyncIterable<string> & { nodeChildProcess: Promise<ChildProcess>; stdout: AsyncIterable<string>; stderr: AsyncIterable<string>; pipe(file: string, arguments?: readonly string[] | undefined, options?: Options | undefined): Subprocess; pipe(file: string, options?: Options | undefined): Subprocess; } | Promise<Result> & AsyncIterable<string> & { nodeChildProcess: Promise<ChildProcess>; stdout: AsyncIterable<string>; stderr: AsyncIterable<string>; pipe(file: string, arguments?: readonly string[] | undefined, options?: Omit<Options, "input"> | undefined): Subprocess; pipe(file: string, options?: Omit<Options, "input"> | undefined): Subprocess; } |
Removed class or interface members
None detected.
Changed class or interface members
None detected.
Newly deprecated
None detected.
Requirement changes (engines, peer dependencies)
| Before | After | |
|---|---|---|
engines.node | >=20.17 | >=22 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What are the breaking changes when upgrading nano-spawn from 2 to 3?
Between nano-spawn 2.1.0 and 3.0.0, Vigia found 2 removed exports, 2 changed signatures and 0 removed or changed class or interface members.
What became deprecated in nano-spawn 3?
0 exports or members are newly marked as deprecated in nano-spawn 3.0.0.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/nano-spawn/upgrade?from=2.1.0&to=3.0.0