Skip to content

Commit

Permalink
alixaxel#134, v3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alixaxel committed May 19, 2020
1 parent bce30bf commit cfed11a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 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@~3.0.4 --no-bin-links --no-optional --no-package-lock --no-save --no-shrinkwrap && cd -
cd nodejs/ && npm install lambdafs@~1.3.0 puppeteer-core@~3.1.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
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# chrome-aws-lambda

[![chrome-aws-lambda](https://img.shields.io/npm/v/chrome-aws-lambda.svg?style=for-the-badge)](https://www.npmjs.com/package/chrome-aws-lambda)
[![Chromium](https://img.shields.io/badge/chromium-39_MB-brightgreen.svg?style=for-the-badge)](bin/)
[![Chromium](https://img.shields.io/badge/chromium-40_MB-brightgreen.svg?style=for-the-badge)](bin/)
[![Donate](https://img.shields.io/badge/donate-paypal-orange.svg?style=for-the-badge)](https://paypal.me/alixaxel)

Chromium Binary for AWS Lambda and Google Cloud Functions
Expand Down Expand Up @@ -112,14 +112,14 @@ Since version `1.7.0`, it's also possible to overload `puppeteer` / `puppeteer-c
- `count(selector)`
- `exists(selector)`
- `fill(form, data, heuristic = 'name')`
- `go(url, options = null)`
- ~`go(url, options = null)`~
- `number(selector, decimal = null, index = null, property = 'textContent')`
- `selectByLabel(selector, ...values)`
- `string(selector, property = 'textContent')`
- `waitUntilVisible(selector, timeout = null)`
- `waitWhileVisible(selector, timeout = null)`

Besides the public API, the following browser-context methods will also be available if `Page.go()` is used:
Besides the public API, the following browser-context methods will also be available:

- `σ.$(selector, context = document)`
- `σ.$$(selector, index = null, context = document)`
Expand All @@ -136,6 +136,7 @@ This package is versioned based on the underlying `puppeteer` minor version:

| `puppeteer` Version | `chrome-aws-lambda` Version | Chromium Revision |
| ------------------- | --------------------------------- | ---------------------------------------------------- |
| `3.1.*` | `npm i chrome-aws-lambda@~3.1.0` | [`756035`](https://crrev.com/756035) (`83.0.4103.0`) |
| `3.0.*` | `npm i chrome-aws-lambda@~3.0.4` | [`737027`](https://crrev.com/737027) (`81.0.4044.0`) |
| `2.1.*` | `npm i chrome-aws-lambda@~2.1.1` | [`722234`](https://crrev.com/722234) (`80.0.3987.0`) |
| `2.0.*` | `npm i chrome-aws-lambda@~2.0.2` | [`705776`](https://crrev.com/705776) (`79.0.3945.0`) |
Expand Down
2 changes: 1 addition & 1 deletion _/ansible/inventory.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ region=us-east-1
ansible_connection=ssh
ansible_python_interpreter=auto_silent
ansible_ssh_private_key_file=ansible.pem
puppeteer_version=v3.0.4
puppeteer_version=v3.1.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": "~2.0.0"
},
"peerDependencies": {
"puppeteer-core": "3.0.x"
"puppeteer-core": "3.1.x"
},
"bugs": {
"url": "https://github.com/alixaxel/chrome-aws-lambda/issues"
Expand Down

0 comments on commit cfed11a

Please sign in to comment.