decache
decache copied to clipboard
:shipit: Delete Cached node_modules useful when you need to "un-require" during testing for a fresh state.
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.16.3 to 7.23.2. Release notes Sourced from @babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core, even if it does not appear in the linked release...
On my main project, I import modules from folders automatically and at some point, I have to re-import them so I use decache. The example below simulates that what I...
Currently when a module with child dependencies is removed from the require cache via decache, all of its child dependencies are also removed from the cache. For example: When requiring...
I am using decache to re-require modules in loop. The server crashes as memory leak is observed. call the following code recursively and you will observe significant memory leak: ```...
I ran into a similar issue when using Jest as was report in: https://github.com/dwyl/decache/issues/27 I changed it locally while just trying to debug and figure out what was going on...
This library is really useful. It's like a missing piece to my REPL setup that allows me to reload code on filesystem events. I recently moved my code to esm...
It seems there is an issue when decaching a module that listens to events. I have a logging module that is used from everywhere. It leverages `winston`, which adds event...
This is somewhat related to #29 but a more specific feature request so filing it separately. I'm running into some issues with `decache` uncaching instances of `react` and `react-dom`, so...
When I build my web application using webpack, I get the following warning message: "Critical dependency: require function is used in a way in which dependencies cannot be statically extracted"....
My app is structured like so ``` App |-----clientConfig |-----routes |-----controller |-----------clientConfig ``` clientConfig is the troublesome module, it has some local vars, that aren't getting reset when I decache...