Skip to content

Commit

Permalink
feat: upgrading future development and testing of this plugin exclusi…
Browse files Browse the repository at this point in the history
…vely to Serverless v3 (#284)

Upgrading this to Serverless v3. I haven't changed any behavior or code to do this so I expect this will continue to work with Serverless v2, but I do not plan to test against Serverless v2 going forward. The tests have been using Serverless v3 for some time now per https://github.com/activescott/serverless-aws-static-file-handler/blame/c779fdd93662784c1a7b651057764d64734b13fb/examples/serverless-offline/package.json#L16 so this should be of negligible impact.

If you want to use a version before this set of changes you can use v4.0.4.

So why? The serverless community is focused on the v3 version at this point and Serverless v2 brings along a few vulnerability warnings due to it's outdated dependencies that I'd prefer to not ignore.
  • Loading branch information
activescott authored Nov 21, 2023
1 parent f94a59d commit 200d7dc
Show file tree
Hide file tree
Showing 4 changed files with 2,104 additions and 3,197 deletions.
2 changes: 1 addition & 1 deletion examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dev-unlink": "npm rm serverless-aws-static-file-handler ; npm add serverless-aws-static-file-handler@>=3.0.2-beta.1"
},
"devDependencies": {
"serverless": "^3.1.0"
"serverless": "^3.37.0"
},
"dependencies": {
"serverless-aws-static-file-handler": ">=3.0.2-beta.1"
Expand Down
4 changes: 2 additions & 2 deletions examples/serverless-offline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"dev-unlink": "npm i"
},
"devDependencies": {
"serverless": "^3.1.1",
"serverless-offline": "^13.2.0"
"serverless": "^3.37.0",
"serverless-offline": "^13.3.0"
},
"dependencies": {
"serverless-aws-static-file-handler": ">=3.0.2-beta.1"
Expand Down
Loading

0 comments on commit 200d7dc

Please sign in to comment.