mirror of
https://github.com/elastic/kibana.git
synced 2025-04-22 08:49:27 -04:00
This PR is the final step needed for us to re-enable pointer compression on serverless. It introduces a cli later used in a CI check that will prevent the addition of new native modules on production as discussed and agreed with Luke and Brandon previously. It also removes the usages of `cbor-x` and replaces those with a wrapping package `@kbn/cbor` which relies on the implementation coming from `borc` with no native modules involved. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
130 B
130 B
@kbn/cbor
Simple wrapper around borc to expose CBOR encode and decode methods with reasonable performance and no native modules