Skip to content

Commit

Permalink
puppeteer 2.0, closes alixaxel#70
Browse files Browse the repository at this point in the history
  • Loading branch information
alixaxel committed Oct 25, 2019
1 parent 1267930 commit 792cd22
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%.zip:
mkdir -p nodejs/node_modules/chrome-aws-lambda/
cd nodejs/ && npm install lambdafs@~1.3.0 puppeteer-core@~1.20.0 --no-bin-links --no-optional --no-package-lock --no-save --no-shrinkwrap && cd -
cd nodejs/ && npm install lambdafs@~1.3.0 puppeteer-core@~2.00.0 --no-bin-links --no-optional --no-package-lock --no-save --no-shrinkwrap && cd -
npm pack
tar --directory nodejs/node_modules/chrome-aws-lambda/ --extract --file chrome-aws-lambda-*.tgz --strip-components=1
rm chrome-aws-lambda-*.tgz
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ This package is versioned based on the underlying `puppeteer` minor version:

| `puppeteer` Version | `chrome-aws-lambda` Version | Chromium Revision |
| ------------------- | --------------------------------- | ---------------------------------------------------- |
| `2.00.*` | `npm i chrome-aws-lambda@~2.00.0` | [`705776`](https://crrev.com/705776) (`79.0.3945.0`) |
| `1.20.*` | `npm i chrome-aws-lambda@~1.20.4` | [`686378`](https://crrev.com/686378) (`78.0.3882.0`) |
| `1.19.*` | `npm i chrome-aws-lambda@~1.19.0` | [`674921`](https://crrev.com/674921) (`77.0.3844.0`) |
| `1.18.*` | `npm i chrome-aws-lambda@~1.18.1` | [`672088`](https://crrev.com/672088) (`77.0.3835.0`) |
Expand Down
2 changes: 1 addition & 1 deletion _/ansible/inventory.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ region=us-east-1
[aws:vars]
ansible_connection=ssh
ansible_ssh_private_key_file=ansible.pem
puppeteer_version=v1.20.0
puppeteer_version=v2.0.0
Binary file modified bin/chromium.br
Binary file not shown.
Binary file modified bin/swiftshader.tar.br
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@types/puppeteer": "~1.20.2"
},
"peerDependencies": {
"puppeteer-core": "1.20.x"
"puppeteer-core": "2.0.x"
},
"bugs": {
"url": "https://github.com/alixaxel/chrome-aws-lambda/issues"
Expand Down

0 comments on commit 792cd22

Please sign in to comment.