
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
nestjs-cache-manager-v6
Advanced tools
Nest - modern, fast, powerful node.js web framework (@cache-manager)
A progressive Node.js framework for building efficient and scalable server-side applications.
cache-manager module for Nest originally published as part of the @nestjs/common
package. This package is a drop-in replacement for the deprecated CacheModule
.
Now, this module is only support cache-manager v6.
$ npm i --save nestjs-cache-manager-v6 cache-manager
For example @keyv/redis
$ npm i --save @keyv/redis cacheable
import { CacheModule } from 'nestjs-cache-manager-v6';
import KeyvRedis from '@keyv/redis';
import { Keyv } from 'keyv';
import { CacheableMemory } from 'cacheable';
@Module({
imports: [
CacheModule.register({
// Keyv | KeyvStoreAdapter | (Keyv | KeyvStoreAdapter)[]
stores: [
new Keyv({ store: new CacheableMemory({ ttl: 60000, lruSize: 5000 }) }),
new KeyvRedis('redis://192.168.100.1:6379'),
],
}),
],
})
export class AppModule {}
more doc visit: options
because cache-manager version 6 remove cache return interface, upgraded need use import { Cache } from 'nestjs-cache-manager-v6';
replace import { Cache } from 'cache-manager'
;
FAQs
Nest - modern, fast, powerful node.js web framework (@cache-manager)
The npm package nestjs-cache-manager-v6 receives a total of 1 weekly downloads. As such, nestjs-cache-manager-v6 popularity was classified as not popular.
We found that nestjs-cache-manager-v6 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.