Aktualizacja @datadog/native-appsec z 11.x do 12.x
Porównanie publicznego API @datadog/native-appsec 11.0.3 i 12.0.0, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.
Podsumowanie
| Usunięte ścieżki importu | 0 |
|---|---|
| Usunięte eksporty | 1 |
| Zmienione sygnatury | 2 |
| Usunięte składowe klas lub interfejsów | 0 |
| Zmienione składowe klas lub interfejsów | 3 |
| Nowo wycofane | 0 |
| Zmiany wymagań (engines, zależności peer) | 0 |
| Nowe eksporty | 1 |
Usunięte eksporty
| import | export | kind | Przed |
|---|---|---|---|
@datadog/native-appsec | payload | type | { persistent?: object | undefined; ephemeral?: object | undefined; } |
Zmienione sygnatury
| export | Przed | Po |
|---|---|---|
@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; } |
Usunięte składowe klas lub interfejsów
Nie wykryto.
Zmienione składowe klas lub interfejsów
| member | Przed | Po |
|---|---|---|
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 |
Nowo wycofane
Nie wykryto.
Zmiany wymagań (engines, zależności peer)
Nie wykryto.
Nowe eksporty (1)
| import | export | kind |
|---|---|---|
@datadog/native-appsec | DDWAFSubcontext | class |
Przekaż te dane swojemu agentowi AI
Vigia to darmowy serwer MCP: Twój agent programistyczny sprawdza wersje, zmiany łamiące zgodność i podatności, zanim napisze kod. Bez rejestracji i klucza API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Dodaj do CursorDodaj do VS Code★ Gwiazdka na GitHubie
Dowolny inny klient MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill dla agentów (SKILL.md): mówi agentowi, kiedy używać Vigii · GitHub Action dla pull requestów
Najczęściej zadawane pytania
Jakie są zmiany niekompatybilne przy aktualizacji @datadog/native-appsec z 11 do 12?
Między @datadog/native-appsec 11.0.3 a 12.0.0 Vigia znalazła 1 usuniętych eksportów, 2 zmienionych sygnatur i 3 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w @datadog/native-appsec 12?
0 eksportów lub składowych oznaczono w @datadog/native-appsec 12.0.0 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/@datadog/native-appsec/upgrade?from=11.0.3&to=12.0.0