UNPKG

@strapi/utils

Version:

Shared utilities for the Strapi packages

14 lines (11 loc) 310 B
import { throwInvalidKey } from '../utils.mjs'; const visitor = ({ key, attribute, path })=>{ if (attribute?.type === 'password') { throwInvalidKey({ key, path: path.attribute }); } }; export { visitor as default }; //# sourceMappingURL=throw-password.mjs.map