UNPKG

@strapi/utils

Version:

Shared utilities for the Strapi packages

11 lines (8 loc) 210 B
'use strict'; const visitor = ({ key, attribute }, { remove })=>{ if (attribute?.type === 'password') { remove(key); } }; module.exports = visitor; //# sourceMappingURL=remove-password.js.map