🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@aws-lambda-powertools/batch

Package Overview
Dependencies
Maintainers
0
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-lambda-powertools/batch - npm Package Compare versions

Comparing version

to
2.6.0

4

lib/cjs/BasePartialBatchProcessor.js

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

entireBatchFailed() {
return this.errors.length == this.records.length;
return this.errors.length === this.records.length;
}

@@ -139,3 +139,3 @@ /**

hasMessagesToReport() {
return this.failureMessages.length != 0;
return this.failureMessages.length !== 0;
}

@@ -142,0 +142,0 @@ /**

import type { DynamoDBRecord, KinesisStreamRecord, SQSRecord } from 'aws-lambda';
import type { PartialItemFailureResponse, EventSourceDataClassTypes } from './types.js';
import type { EventSourceDataClassTypes, PartialItemFailureResponse } from './types.js';
/**

@@ -4,0 +4,0 @@ * Enum of supported event types for the utility

@@ -1,2 +0,2 @@

import { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js';
import type { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js';
import type { BaseRecord, BatchProcessingOptions, PartialItemFailureResponse } from './types.js';

@@ -3,0 +3,0 @@ /**

@@ -1,2 +0,2 @@

import { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js';
import type { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js';
import type { BaseRecord, BatchProcessingOptions, PartialItemFailureResponse } from './types.js';

@@ -3,0 +3,0 @@ /**

import type { Context, DynamoDBRecord, KinesisStreamRecord, SQSRecord } from 'aws-lambda';
import { SqsFifoPartialProcessor } from './SqsFifoPartialProcessor.js';
import { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js';
import type { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js';
import type { SqsFifoPartialProcessor } from './SqsFifoPartialProcessor.js';
/**

@@ -5,0 +5,0 @@ * Options for batch processing

@@ -117,3 +117,3 @@ import { BasePartialProcessor } from './BasePartialProcessor.js';

entireBatchFailed() {
return this.errors.length == this.records.length;
return this.errors.length === this.records.length;
}

@@ -136,3 +136,3 @@ /**

hasMessagesToReport() {
return this.failureMessages.length != 0;
return this.failureMessages.length !== 0;
}

@@ -139,0 +139,0 @@ /**

import type { DynamoDBRecord, KinesisStreamRecord, SQSRecord } from 'aws-lambda';
import type { PartialItemFailureResponse, EventSourceDataClassTypes } from './types.js';
import type { EventSourceDataClassTypes, PartialItemFailureResponse } from './types.js';
/**

@@ -4,0 +4,0 @@ * Enum of supported event types for the utility

@@ -1,2 +0,2 @@

import { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js';
import type { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js';
import type { BaseRecord, BatchProcessingOptions, PartialItemFailureResponse } from './types.js';

@@ -3,0 +3,0 @@ /**

@@ -1,2 +0,2 @@

import { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js';
import type { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js';
import type { BaseRecord, BatchProcessingOptions, PartialItemFailureResponse } from './types.js';

@@ -3,0 +3,0 @@ /**

import type { Context, DynamoDBRecord, KinesisStreamRecord, SQSRecord } from 'aws-lambda';
import { SqsFifoPartialProcessor } from './SqsFifoPartialProcessor.js';
import { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js';
import type { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js';
import type { SqsFifoPartialProcessor } from './SqsFifoPartialProcessor.js';
/**

@@ -5,0 +5,0 @@ * Options for batch processing

{
"name": "@aws-lambda-powertools/batch",
"version": "2.5.0",
"version": "2.6.0",
"description": "The batch processing package for the Powertools for AWS Lambda (TypeScript) library.",

@@ -5,0 +5,0 @@ "author": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet