Security News
NVD Backlog Tops 20,000 CVEs Awaiting Analysis as NIST Prepares System Updates
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
@aws-sdk/middleware-recursion-detection
Advanced tools
[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-recursion-detection/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-recursion-detection) [![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-recursion-detectio
@aws-sdk/middleware-recursion-detection is a middleware package for the AWS SDK for JavaScript. It helps in detecting and preventing recursive calls in AWS SDK clients, which can be useful in avoiding infinite loops and ensuring the stability of your application.
Recursion Detection Middleware
This feature allows you to add recursion detection middleware to an AWS SDK client. The middleware helps in detecting recursive calls and prevents potential infinite loops.
const { S3Client } = require('@aws-sdk/client-s3');
const { recursionDetectionMiddleware } = require('@aws-sdk/middleware-recursion-detection');
const client = new S3Client({});
client.middlewareStack.add(recursionDetectionMiddleware, {
step: 'initialize',
name: 'recursionDetectionMiddleware',
tags: ['RECURSION_DETECTION'],
});
// Now you can use the client with recursion detection enabled
client.send(new ListBucketsCommand({}));
infinite-loop-detector is another package designed to detect infinite loops in JavaScript code. It provides a way to monitor and stop loops that exceed a certain iteration count, making it more general-purpose compared to @aws-sdk/middleware-recursion-detection, which is tailored for AWS SDK clients.
An internal package
You probably shouldn't, at least directly.
3.511.0 (2024-02-09)
FAQs
[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-recursion-detection/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-recursion-detection) [![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-recursion-detectio
The npm package @aws-sdk/middleware-recursion-detection receives a total of 3,715,223 weekly downloads. As such, @aws-sdk/middleware-recursion-detection popularity was classified as popular.
We found that @aws-sdk/middleware-recursion-detection demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.