Upgrading @datadog/native-appsec from 11.x to 12.x
Comparison of the public API of @datadog/native-appsec 11.0.3 and 12.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 | 1 |
| Changed signatures | 2 |
| Removed class or interface members | 0 |
| Changed class or interface members | 3 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 0 |
| New exports | 1 |
Removed exports
| import | export | kind | Before |
|---|---|---|---|
@datadog/native-appsec | payload | type | { persistent?: object | undefined; ephemeral?: object | undefined; } |
Changed signatures
| export | Before | After |
|---|---|---|
@datadog/native-appsec · result | { timeout: boolean; duration?: number | undefined; events?: object[] | undefined; status?: "match" | undefined; actions?: object[] | undefined; attributes?: object | undefined; metrics?: TruncationMetrics | undefined; errorCode?: number | undefined; keep?: boolean | undefined; } | { timeout?: boolean | undefined; duration?: number | undefined; events?: object[] | undefined; status?: "match" | undefined; actions?: { [actionType: string]: { [parameter: string]: string | number | boolean; }; } | undefined; attributes?: object | undefined; metrics: TruncationMetrics; errorCode?: number | undefined; keep?: boolean | undefined; evaluated?: number | undefined; } |
@datadog/native-appsec · diagnosticsInfo | { addresses?: { optional: string[]; required: string[]; } | undefined; loaded: string[]; failed: string[]; errors: { [errorString: string]: string[]; }; } | { addresses?: { optional: string[]; required: string[]; } | undefined; loaded: string[]; failed: string[]; skipped?: string[] | undefined; errors: { [errorString: string]: string[]; }; warnings?: { [warningString: string]: string[]; } | undefined; } |
Removed class or interface members
None detected.
Changed class or interface members
| member | Before | After |
|---|---|---|
DDWAF.diagnostics | { ruleset_version?: string | undefined; rules?: diagnosticsResult | undefined; custom_rules?: diagnosticsResult | undefined; exclusions?: diagnosticsResult | undefined; rules_override?: diagnosticsResult | undefined; rules_data?: diagnosticsResult | undefined; processors?: diagnosticsResult | undefi… | { error?: string | undefined; ruleset_version?: string | undefined; rules?: diagnosticsResult | undefined; custom_rules?: diagnosticsResult | undefined; exclusions?: diagnosticsResult | undefined; rules_override?: diagnosticsResult | undefined; rules_data?: diagnosticsResult | undefined; processors?… |
DDWAF.createContext | (): DDWAFContext | (): DDWAFContext | null |
DDWAFContext.run | (payload: payload, timeout: number): result | (data: object, timeout: number): result |
Newly deprecated
None detected.
Requirement changes (engines, peer dependencies)
None detected.
New exports (1)
| import | export | kind |
|---|---|---|
@datadog/native-appsec | DDWAFSubcontext | class |
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 @datadog/native-appsec from 11 to 12?
Between @datadog/native-appsec 11.0.3 and 12.0.0, Vigia found 1 removed exports, 2 changed signatures and 3 removed or changed class or interface members.
What became deprecated in @datadog/native-appsec 12?
0 exports or members are newly marked as deprecated in @datadog/native-appsec 12.0.0.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/@datadog/native-appsec/upgrade?from=11.0.3&to=12.0.0