mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 19:01:08 +00:00
AWS Lambda: update dependencies (#439)
* fix fast-xml-parser security issue. * update types to nodejs20 * replace deprecated @aws-sdk/node-http-handler with @smithy/node-http-handler, which requires bundling as it's not included in the Lambda runtime.
This commit is contained in:
@@ -22,7 +22,7 @@ import {
|
||||
GetObjectCommandOutput,
|
||||
S3Client,
|
||||
} from "@aws-sdk/client-s3";
|
||||
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
||||
import { NodeHttpHandler } from "@smithy/node-http-handler";
|
||||
|
||||
// the region should default to the same one as the function
|
||||
const s3client = new S3Client({
|
||||
|
||||
Reference in New Issue
Block a user