Socket
Socket
Sign inDemoInstall

@aws-sdk/middleware-recursion-detection

Package Overview
Dependencies
Maintainers
5
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/middleware-recursion-detection

[![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


Version published
Maintainers
5
Created

What is @aws-sdk/middleware-recursion-detection?

@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.

What are @aws-sdk/middleware-recursion-detection's main functionalities?

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({}));

Other packages similar to @aws-sdk/middleware-recursion-detection

FAQs

Package last updated on 25 Jul 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc