
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
@type-cacheable/node-cache-adapter
Advanced tools
TypeScript-based caching decorators to assist with caching (and clearing cache for) async methods. This package supports the node-cache
client.
npm install --save @type-cacheable/core @type-cacheable/node-cache-adapter
or
yarn add @type-cacheable/core @type-cacheable/node-cache-adapter
import * as NodeCache from 'node-cache';
import { useAdapter } from '@type-cacheable/node-cache-adapter';
const client = new NodeCache();
useAdapter(client);
Then you can rely on the @Cacheable
and @CacheClear
decorators from @type-cacheable/core
. See core documentation
d5b27f4d209545a7ded304ffd6538727d14d9206
FAQs
Adapter for using node-cache with type-cacheable
The npm package @type-cacheable/node-cache-adapter receives a total of 7,289 weekly downloads. As such, @type-cacheable/node-cache-adapter popularity was classified as popular.
We found that @type-cacheable/node-cache-adapter demonstrated a healthy version release cadence and project activity because the last version was released less than 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
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.