File tree Expand file tree Collapse file tree 4 files changed +9
-11
lines changed Expand file tree Collapse file tree 4 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ commands:
1414 steps :
1515 - node/install-packages :
1616 pkg-manager : yarn
17- cache-version : v1 -all
17+ cache-version : v2 -all
1818 cache-only-lockfile : true
1919 app-dir : ~/repo
2020 override-ci-command : yarn install --pure-lockfile --no-progress
Original file line number Diff line number Diff line change 5050 "p-map" : " 4.0.0"
5151 },
5252 "devDependencies" : {
53- "@aws-sdk/client-dynamodb" : " 3.358 .0" ,
54- "@aws-sdk/lib-dynamodb" : " 3.358 .0" ,
53+ "@aws-sdk/client-dynamodb" : " 3.538 .0" ,
54+ "@aws-sdk/lib-dynamodb" : " 3.535 .0" ,
5555 "@babel/cli" : " 7.23.0" ,
5656 "@babel/core" : " 7.23.2" ,
5757 "@shelf/babel-config" : " 2.0.1" ,
6565 "@types/lodash.clonedeep" : " 4.5.8" ,
6666 "@types/lodash.times" : " 4.3.8" ,
6767 "@types/node" : " 16" ,
68- "@types/p-map" : " 2.0.0" ,
6968 "eslint" : " 8.52.0" ,
7069 "husky" : " 8.0.3" ,
7170 "jest" : " 29.7.0" ,
Original file line number Diff line number Diff line change 1- import { DescribeTableCommand , DynamoDBClient } from '@aws-sdk/client-dynamodb' ;
2- import { BatchWriteCommand , DynamoDBDocumentClient , ScanCommand } from '@aws-sdk/lib-dynamodb' ;
1+ import { DescribeTableCommand } from '@aws-sdk/client-dynamodb' ;
2+ import { BatchWriteCommand , ScanCommand } from '@aws-sdk/lib-dynamodb' ;
3+ import type { DynamoDBClient } from '@aws-sdk/client-dynamodb' ;
4+ import type { DynamoDBDocumentClient } from '@aws-sdk/lib-dynamodb' ;
35import type {
46 BatchWriteCommandInput ,
57 BatchWriteCommandOutput ,
@@ -13,10 +15,7 @@ export type Credentials = {
1315 sessionToken : string ;
1416} ;
1517
16- export function scan (
17- params : ScanCommandInput ,
18- client : DynamoDBClient
19- ) : Promise < ScanCommandOutput > {
18+ export function scan ( params : ScanCommandInput , client : DynamoDBClient ) : Promise < ScanCommandOutput > {
2019 const command = new ScanCommand ( params ) ;
2120
2221 // @ts -ignore
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ jest.setTimeout(25000);
33import { uniq } from 'lodash' ;
44import * as ddbHelpers from './ddb' ;
55import { parallelScanAsStream } from './parallel-scan-stream' ;
6- import { ddbv3DocClient } from './clients'
6+ import { ddbv3DocClient } from './clients' ;
77
88function delay ( ms : number ) {
99 return new Promise ( r => {
You can’t perform that action at this time.
0 commit comments