Skip to content

Commit baa454e

Browse files
author
Phil Varner
committed
upgrade got, fix tsconfig issues
1 parent 7baa4ed commit baa454e

File tree

5 files changed

+13
-12
lines changed

5 files changed

+13
-12
lines changed

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"better-npm-audit": "^3.7.3",
7070
"cors": "^2.8.5",
7171
"express": "^4.18.2",
72-
"got": "^12.6.0",
72+
"got": "^13.0.0",
7373
"http-errors": "^2.0.0",
7474
"lodash-es": "^4.17.21",
7575
"memorystream": "^0.3.1",

src/lib/s3-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { s3 } from './aws-clients'
1+
import { s3 } from './aws-clients.js'
22

33
const getObjectBody = async (s3Location: {bucket: string, key: string}) => {
44
try {

tests/helpers/system-tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const setupResources = async () => {
4848
}
4949

5050
/**
51-
* @typedef {import('./api').ApiInstance} ApiInstance
51+
* @typedef {import('./api.js').ApiInstance} ApiInstance
5252
*/
5353

5454
/**

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"extends": "@tsconfig/node16/tsconfig.json",
33
"compilerOptions": {
4-
"module": "es2022",
4+
"module": "node16",
5+
"moduleResolution": "node16",
56
"allowJs": true,
67
"checkJs": true,
78
"noEmit": true,

0 commit comments

Comments
 (0)