Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/middleware-sdk-api-gateway

Package Overview
Dependencies
Maintainers
5
Versions
168
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/middleware-sdk-api-gateway - npm Package Compare versions

Comparing version 3.577.0 to 3.580.0

8

dist-cjs/index.js

@@ -32,8 +32,8 @@ "use strict";

return (next) => async (args) => {
var _a;
const { request } = args;
if (import_protocol_http.HttpRequest.isInstance(request)) {
request.headers = {
...request.headers,
accept: "application/json"
};
if (((_a = request.headers) == null ? void 0 : _a.accept) === void 0) {
request.headers.accept = "application/json";
}
}

@@ -40,0 +40,0 @@ return next({

@@ -6,6 +6,5 @@ import { HttpRequest } from "@smithy/protocol-http";

if (HttpRequest.isInstance(request)) {
request.headers = {
...request.headers,
accept: "application/json",
};
if (request.headers?.accept === undefined) {
request.headers.accept = "application/json";
}
}

@@ -12,0 +11,0 @@ return next({

{
"name": "@aws-sdk/middleware-sdk-api-gateway",
"version": "3.577.0",
"version": "3.580.0",
"scripts": {

@@ -5,0 +5,0 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

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