OpenUI.Library.Compat (OpenUI v0.1.1)

Copy Markdown View Source

Checks that a new version of a LibrarySpec keeps stored programs readable (prompt.md, section 3.2): props of components, functions and actions are only added at the end, never moved or removed, and a new required prop carries a default.

Summary

Functions

Returns every rule the new spec breaks against the old one.

Functions

check(old_spec, new_spec)

Returns every rule the new spec breaks against the old one.