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

@middy/appconfig

Package Overview
Dependencies
Maintainers
3
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@middy/appconfig - npm Package Compare versions

Comparing version 5.2.0 to 5.2.1

21

index.js

@@ -9,3 +9,4 @@ import {

modifyCache,
jsonSafeParse
jsonSafeParse,
catchInvalidSignatureException
} from '@middy/util'

@@ -40,8 +41,8 @@ import {

function fetchLatestConfiguration (configToken, internalKey) {
const command = new GetLatestConfigurationCommand({
ConfigurationToken: configToken
})
return client
.send(
new GetLatestConfigurationCommand({
ConfigurationToken: configToken
})
)
.send(command)
.catch((e) => catchInvalidSignatureException(e, client, command))
.then((configResp) => {

@@ -75,6 +76,8 @@ configurationTokenCache[internalKey] =

if (configurationTokenCache[internalKey] == null) {
const command = new StartConfigurationSessionCommand(
options.fetchData[internalKey]
)
values[internalKey] = client
.send(
new StartConfigurationSessionCommand(options.fetchData[internalKey])
)
.send(command)
.catch((e) => catchInvalidSignatureException(e, client, command))
.then((configSessionResp) =>

@@ -81,0 +84,0 @@ fetchLatestConfiguration(

{
"name": "@middy/appconfig",
"version": "5.2.0",
"version": "5.2.1",
"description": "AppConfig middleware for the middy framework",

@@ -61,11 +61,11 @@ "type": "module",

"dependencies": {
"@middy/util": "5.2.0"
"@middy/util": "5.2.1"
},
"devDependencies": {
"@aws-sdk/client-appconfigdata": "^3.0.0",
"@middy/core": "5.2.0",
"@middy/core": "5.2.1",
"@types/aws-lambda": "^8.10.101",
"aws-xray-sdk": "^3.3.3"
},
"gitHead": "2d9096a49cd8fb62359517be96d6c93609df41f0"
"gitHead": "4d55da221b9165b4b3e59a12632fd40a149a1e92"
}
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