UNPKG

@strapi/utils

Version:

Shared utilities for the Strapi packages

16 lines (12 loc) 313 B
'use strict'; var utils = require('../utils.js'); const visitor = ({ key, attribute, path })=>{ if (attribute?.type === 'password') { utils.throwInvalidKey({ key, path: path.attribute }); } }; module.exports = visitor; //# sourceMappingURL=throw-password.js.map