Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org
scope: '@awslabs-community-fork'
- run: npm install -g npm@latest
- run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
14,299 changes: 14,221 additions & 78 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-sdk/client-dynamodb": "^3.10.0",
"@types/jest": "^26.0.22",
"@types/node": "^14",
"@aws-sdk/client-dynamodb": "^3.10.0",
"jest": "^26.6.3",
"lerna": "^4.0.0",
"typedoc": "^0.20.35",
"ts-jest": "^26.5.4",
"typedoc": "^0.20.35",
"typescript": "^4.2"
},
"dependencies": {
Expand Down
5,441 changes: 5,441 additions & 0 deletions packages/dynamodb-batch-iterator/package-lock.json

Large diffs are not rendered by default.

19,629 changes: 19,629 additions & 0 deletions packages/dynamodb-data-mapper-annotations/package-lock.json

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion packages/dynamodb-data-mapper/src/DataMapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ import {
} from '@aws-sdk/client-dynamodb';
import { DynamoDB } from "@aws-sdk/client-dynamodb";

require('./asyncIteratorSymbolPolyfill');
if (Symbol && !Symbol.asyncIterator) {
(Symbol as any).asyncIterator = Symbol.for("__@@asyncIterator__");
}


/**
* Object mapper for domain object interaction with DynamoDB.
Expand Down
4 changes: 3 additions & 1 deletion packages/dynamodb-data-mapper/src/Iterator.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { Paginator as AbstractPaginator } from './Paginator';
import { ConsumedCapacity } from '@aws-sdk/client-dynamodb';

require('./asyncIteratorSymbolPolyfill');
if (Symbol && !Symbol.asyncIterator) {
(Symbol as any).asyncIterator = Symbol.for("__@@asyncIterator__");
}

export abstract class Iterator<
T,
Expand Down
5 changes: 4 additions & 1 deletion packages/dynamodb-data-mapper/src/Paginator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ import {
} from '@awslabs-community-fork/dynamodb-data-marshaller';
import { ConsumedCapacity } from '@aws-sdk/client-dynamodb';

require('./asyncIteratorSymbolPolyfill');
if (Symbol && !Symbol.asyncIterator) {
(Symbol as any).asyncIterator = Symbol.for("__@@asyncIterator__");
}


export abstract class Paginator<T> implements AsyncIterableIterator<Array<T>> {
private readonly itemSchema: Schema;
Expand Down

This file was deleted.

Loading