mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-24 10:23:43 +03:00
11 lines
208 B
JavaScript
11 lines
208 B
JavaScript
'ust strict';
|
|
|
|
module.exports = (parentModule) => function cachelessRequire(path) {
|
|
|
|
for(let key of Object.keys(require.cache)) {
|
|
delete require.cache[key];
|
|
}
|
|
return parentModule.require(path);
|
|
|
|
};
|