Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Fix for 6 vulnerabilities #217

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions aws-node-puppeteer/.snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.25.0
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
SNYK-JS-HTTPSPROXYAGENT-469131:
- puppeteer > https-proxy-agent:
patched: '2022-09-27T18:32:49.548Z'
SNYK-JS-LODASH-567746:
- serverless-offline > lodash:
patched: '2022-09-27T18:32:49.548Z'
- serverless-offline > @babel/register > lodash:
patched: '2022-09-27T18:32:49.548Z'
- serverless-offline > @babel/core > @babel/traverse > lodash:
patched: '2022-09-27T18:32:49.548Z'
- serverless-offline > @babel/core > @babel/helpers > @babel/traverse > lodash:
patched: '2022-09-27T18:32:49.548Z'
- serverless-offline > @babel/core > @babel/helpers > @babel/traverse > @babel/generator > lodash:
patched: '2022-09-27T18:32:49.548Z'
- serverless-offline > @babel/core > @babel/helpers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash:
patched: '2022-09-27T18:32:49.548Z'
- serverless-offline > @babel/core > @babel/helpers > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash:
patched: '2022-09-27T18:32:49.548Z'
165 changes: 93 additions & 72 deletions aws-node-puppeteer/package-lock.json

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

14 changes: 9 additions & 5 deletions aws-node-puppeteer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,21 @@
"description": "When it comes to AWS Lambda function , they have their own limits as follows ![AWS Limits](./images/aws_limits.png) So , When you try to use Puppeteer your deployment package size(unzipped) easily go's above 250 mb because When you install Puppeteer, it downloads a recent version of Chromium (~170MB Mac, ~282MB Linux, ~280MB Win) that is guaranteed to work with the API.",
"main": "chrome-script.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"prepare": "npm run snyk-protect",
"snyk-protect": "snyk-protect"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@serverless-chrome/lambda": "^1.0.0-55",
"chrome-launcher": "^0.10.5",
"puppeteer": "^1.11.0",
"chrome-launcher": "^0.13.2",
"puppeteer": "^1.13.0",
"serverless-offline": "^3.31.3",
"serverless-plugin-chrome": "^1.0.0-55",
"superagent": "^4.0.0"
}
"superagent": "^4.0.0",
"@snyk/protect": "latest"
},
"snyk": true
}