Socket
Socket
Sign inDemoInstall

@aws-sdk/middleware-location-constraint

Package Overview
Dependencies
Maintainers
5
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/middleware-location-constraint - npm Package Compare versions

Comparing version 3.460.0 to 3.461.0

2

dist-cjs/index.js

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

const region = await options.region();
if (!CreateBucketConfiguration || !CreateBucketConfiguration.LocationConstraint) {
if (!(CreateBucketConfiguration === null || CreateBucketConfiguration === void 0 ? void 0 : CreateBucketConfiguration.LocationConstraint) && !(CreateBucketConfiguration === null || CreateBucketConfiguration === void 0 ? void 0 : CreateBucketConfiguration.Location)) {
args = {

@@ -11,0 +11,0 @@ ...args,

@@ -5,3 +5,3 @@ export function locationConstraintMiddleware(options) {

const region = await options.region();
if (!CreateBucketConfiguration || !CreateBucketConfiguration.LocationConstraint) {
if (!CreateBucketConfiguration?.LocationConstraint && !CreateBucketConfiguration?.Location) {
args = {

@@ -8,0 +8,0 @@ ...args,

{
"name": "@aws-sdk/middleware-location-constraint",
"version": "3.460.0",
"version": "3.461.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