Bug: Usage of sanitize from dompurify in safe_html.js

There is a bug in your file safe_html.js in gitlab/ui package. You use: import { sanitize } from 'dompurify';.

When integrating your @gitlab/ui package in empty project and build it e.g. with vite, a build error occures:

'sanitize' is not exported by node_modules/dompurify/dist/purify.es.js, imported by node_modules/@gitlab/ui/dist/directives/safe_html/safe_html.js
file: /app/node_modules/@gitlab/ui/dist/directives/safe_html/safe_html.js:1:9
1: import { sanitize } from 'dompurify';

You can also see here and here. So I think you just need to use:

import Dompurify from "dompurify";
...
el.appendChild(Dompurify.sanitize(binding.value, config));
...