Skip to content

Commit

Permalink
Fixed dependencies with known vulnerabilities (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadorequest authored Jun 2, 2021
1 parent 3132619 commit 3c11c5d
Show file tree
Hide file tree
Showing 12 changed files with 10,367 additions and 7,274 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ yarn-error.log
dist
.DS_Store
.sls-simulate-registry
coverage

# Optional eslint cache
.eslintcache
Expand Down
7 changes: 7 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.10
v14.16.1
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
language: node_js
node_js:
- "8.10"
- "6.10"
- "14"
- "12"
- "10"
cache:
directories:
- node_modules
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ This is a plugin which simplifies **DynamoDB backups** creation automation for a
`serverless.yml` when using the [Serverless Framework](https://serverless.com) and AWS Cloud provider.


This plugin officially supports Node.js **6.10** and **8.10**.
This plugin officially supports Node.js **12.x**, **14.x** and **16.x**.

This plugin officially supports Serverless Framework `>=1.12.0`.
This plugin officially supports Serverless Framework `>=2.0.0`.

## Benefits

Expand Down
2 changes: 1 addition & 1 deletion examples/serverless-example/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.10
v14.16.1
22 changes: 11 additions & 11 deletions examples/serverless-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
"author": "unlyEd",
"license": "MIT",
"devDependencies": {
"aws-sdk": "2.363.0",
"babel-core": "6.26.3",
"babel-loader": "7.1.5",
"babel-preset-env": "1.7.0",
"serverless": "1.33.2",
"serverless-offline": "3.31.3",
"serverless-webpack": "5.2.0",
"webpack": "4.26.1",
"webpack-node-externals": "1.7.2"
"aws-sdk": "2.918.0",
"@babel/core": "7.14.3",
"babel-loader": "8.2.2",
"@babel/preset-env": "7.14.4",
"serverless": "2.43.1",
"serverless-offline": "7.0.0",
"serverless-webpack": "5.5.0",
"webpack": "5.38.1",
"webpack-node-externals": "3.0.0"
},
"dependencies": {
"@unly/serverless-plugin-dynamodb-backups": "1.2.0-alpha.1",
"lodash.filter": "4.5.1",
"moment": "2.22.1"
"lodash.filter": "4.6.0",
"moment": "2.29.1"
}
}
6 changes: 4 additions & 2 deletions examples/serverless-example/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

service: example-dynamodbAutoBackups

frameworkVersion: "=1.33.2"
frameworkVersion: "2"
configValidationMode: error

plugins:
- '@unly/serverless-plugin-dynamodb-backups' # Must be first, even before "serverless-webpack", see https://github.com/UnlyEd/serverless-plugin-dynamodb-backups
Expand All @@ -27,7 +28,8 @@ custom:

provider:
name: aws
runtime: nodejs8.10
runtime: nodejs14.x
lambdaHashingVersion: 20201221
stage: development # TODO You may want to change this
region: eu-west-1 # TODO You may want to change this
profile: sandbox # TODO You need to either remove this or use your own profile
Expand Down
Loading

0 comments on commit 3c11c5d

Please sign in to comment.