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

aws-sdk-wrap

Package Overview
Dependencies
Maintainers
1
Versions
252
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-sdk-wrap - npm Package Compare versions

Comparing version 12.0.1 to 12.0.2

12

lib/module/lambda.js

@@ -0,1 +1,3 @@

import assert from 'assert';
export default ({

@@ -73,3 +75,5 @@ call,

const idx = week * WEEK_PERIODS + period;
results.push([timestamps[idx], values[idx]]);
if (idx < timestamps.length && idx < values.length) {
results.push([timestamps[idx], values[idx]]);
}
}

@@ -85,3 +89,6 @@ }

for (let period = 0; period <= LOOK_AHEAD_PERIODS; period += 1) {
max = Math.max(max, results[week * (LOOK_AHEAD_PERIODS + 1) + period][1]);
const i = week * (LOOK_AHEAD_PERIODS + 1) + period;
if (i < results.length) {
max = Math.max(max, results[i][1]);
}
}

@@ -143,2 +150,3 @@ const fact = factor(idx);

const desiredConcurrency = computeDesiredConcurrency(Timestamps, Values);
assert(Number.isSafeInteger(desiredConcurrency), desiredConcurrency);

@@ -145,0 +153,0 @@ await updateProvisionedConcurrency(functionName, desiredConcurrency, aliasName);

2

package.json
{
"name": "aws-sdk-wrap",
"type": "module",
"version": "12.0.1",
"version": "12.0.2",
"description": "Wrapper around aws-sdk",

@@ -6,0 +6,0 @@ "main": "lib/index.js",

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