Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
recursive-uncache
Advanced tools
require
per caches all modules.
If you remove a module from require.cache
, but the parent module doesn't reevaluate its require
calls, the old state persists.
recursive-uncache
removes a module and all recursive parents from the cache.
npm install --save-dev recursive-uncache
uncache = require("recursive-uncache")
uncache(module,base=".") // module must be a absolute path
// example with chokidar
chokidar.watch(["./src"],{ignoreInitial: true})
.on("all", (ev, filepath) => uncache(filepath))
Copyright (c) 2017 Paul Pflugradt Licensed under the MIT license.
FAQs
recursively uncache required files
The npm package recursive-uncache receives a total of 7 weekly downloads. As such, recursive-uncache popularity was classified as not popular.
We found that recursive-uncache demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.