Skip to content

Commit

Permalink
Try support NodeJS>=10
Browse files Browse the repository at this point in the history
  • Loading branch information
gpotter2 committed Jul 24, 2023
1 parent 39e83a5 commit 0a7ab1b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12, 14, 15, 16, 18]
node-version: [10, 12, 14, 15, 16, 18]
steps:
- uses: actions/checkout@v3
- name: Get Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"devDependencies": {
"@types/node": "^20.4.2",
"chai": "^4.3.7",
"mocha": "^10.2.0",
"mocha": "<9.0.0",
"sinon": "^15.2.0",
"typescript": "<5.1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/lib/streaming.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class HttpResponseStream {
}
}

globalThis.awslambda = globalThis.awslambda || {
global.awslambda = global.awslambda || {
streamifyResponse,
HttpResponseStream,
};

0 comments on commit 0a7ab1b

Please sign in to comment.