lodash is used for very trivial checks:
|
if (!_.isString(input)) { |
|
if (_.isUndefined(encoded)) { |
|
if (_.isString(input) && input.length > 0 && CSS_TOKEN.test(input)) { |
maybe we can remove lodash to reduce the amount of security warnings poping up for lodash
lodash is used for very trivial checks:
htlengine/src/runtime/xss_api.js
Line 285 in 56f6733
htlengine/src/runtime/xss_api.js
Line 289 in 56f6733
htlengine/src/runtime/xss_api.js
Line 301 in 56f6733
htlengine/src/runtime/xss_api.js
Line 315 in 56f6733
maybe we can remove
lodashto reduce the amount of security warnings poping up for lodash