
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
cache-loader-hash
Advanced tools
Added the mode option to the cache-loader
options, supporting mtime
(default) and hash
.
npm install cache-loader-hash --save-dev
webpackChain.module
.rule('js') // or ts, tsx, vue...
.use('cache-loader')
.loader(require.resolve('cache-loader-hash'))
.tap((options) => {
options.mode = 'hash';
return options;
});
No breaking change when using mtime
mode.
We are doing a CI package acceleration work, which will store node_modules/.cache
on s3
, and then pull it from s3
at a certain time. due to
The cache-loader uses mtime
by default for cache verification, which causes the newly installed node_modules in the new CI process to not match the mtime
of node_modules/.cache
on s3
. The solution to this problem is to use the hash of the file instead of mtime as the cache verification method of the cache-loader.
MIT
FAQs
Caches the result of following loaders on disk.
The npm package cache-loader-hash receives a total of 5 weekly downloads. As such, cache-loader-hash popularity was classified as not popular.
We found that cache-loader-hash 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.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.