Skip to content

Commit

Permalink
upgrade node, serverless versions
Browse files Browse the repository at this point in the history
  • Loading branch information
miles-grant-ibigroup committed Jan 19, 2024
1 parent 178cdfd commit 94f5867
Show file tree
Hide file tree
Showing 4 changed files with 6,524 additions and 3,640 deletions.
3 changes: 2 additions & 1 deletion handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ const {
TRANSIT_GEOCODER
} = process.env

const redis = REDIS_HOST
// Severless... why!
const redis = REDIS_HOST !== "null"
? createCluster({
rootNodes: [
{
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@
"@types/geojson": "^7946.0.8",
"@types/jest": "^26.0.24",
"semantic-release": "^17.4.4",
"serverless-offline": "^8.8.0",
"serverless": "^3.38.0",
"serverless-offline": "^13.3.2",
"tsdx": "https://github.com/ibi-group/tsdx"
},
"dependencies": {
"@babel/runtime": "^7.16.7",
"@bugsnag/js": "^7.11.0",
"@bugsnag/plugin-aws-lambda": "^7.11.0",
"@conveyal/lonlat": "^1.4.1",
"@opentripplanner/geocoder": "^1.4.1",
"@opentripplanner/geocoder": "^2.0.0",
"geolib": "^3.3.1",
"node-fetch": "^2.6.1",
"redis": "^4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
service: pelias-stitch
provider:
name: aws
runtime: nodejs16.x
runtime: nodejs20.x
vpc:
securityGroupIds:
- ${self:custom.secrets.LAMBDA_EXEC_SG}
Expand Down
Loading

0 comments on commit 94f5867

Please sign in to comment.