Zend certified PHP/Magento developer

How to remove JS if it’s defined in requirejs-config.js section “deps” of the parent theme

Have an interesting question.
How can I get rid of js module changing files only in my current theme if js was required in the parent theme (this theme is used by other themes as a parent)
In requirejs-config.js like this