Skip to content

Commit

Permalink
pre 1.16.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alixaxel committed May 14, 2019
1 parent 669fff2 commit 55fb6ca
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

%.zip:
mkdir -p nodejs/node_modules/chrome-aws-lambda/
cd nodejs/ && npm install puppeteer-core@~1.15.0 --no-bin-links --no-optional --no-package-lock --no-save --no-shrinkwrap && cd -
cd nodejs/ && npm install puppeteer-core@~1.16.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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ If you wish to install an older version of Chromium, take a look at [Versioning]

## Usage

The `nodejs10.x` AWS Lambda runtime is required for this package to work properly.
The `nodejs8.10` AWS Lambda runtime is required for this package to work properly.

```javascript
const chromium = require('chrome-aws-lambda');
Expand Down Expand Up @@ -124,7 +124,7 @@ This package is versioned based on the underlying `puppeteer` minor version:

| `puppeteer` Version | `chrome-aws-lambda` Version | Chromium Revision |
| ------------------- | --------------------------------- | ---------------------------------------------------- |
| `1.16.*` | `npm i chrome-aws-lambda@~1.16.0` | [`656675`](https://crrev.com/656675) (`76.0.3786.0`) |
| `1.16.*` | `npm i chrome-aws-lambda@~1.16.1` | [`656675`](https://crrev.com/656675) (`76.0.3786.0`) |
| `1.15.*` | `npm i chrome-aws-lambda@~1.15.1` | [`650583`](https://crrev.com/650583) (`75.0.3765.0`) |
| `1.14.*` | `npm i chrome-aws-lambda@~1.14.0` | [`641577`](https://crrev.com/641577) (`75.0.3738.0`) |
| `1.13.*` | `npm i chrome-aws-lambda@~1.13.0` | [`637110`](https://crrev.com/637110) (`74.0.3723.0`) |
Expand Down
2 changes: 1 addition & 1 deletion _/ansible/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ iltorb:
--rm \
--user $$(id -u "$$USER"):$$(id -g "$$USER") \
--volume "$$PWD/../../":/srv/chrome-aws-lambda \
--workdir /srv/chrome-aws-lambda node:10.15 \
--workdir /srv/chrome-aws-lambda node:8.10 \
npm install --no-shrinkwrap --silent
mkdir --parents "$$PWD/../../source/iltorb/build/"
mv --target-directory="$$PWD/../../source/iltorb/" \
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"source"
],
"engines": {
"node": ">= 10.15"
"node": ">= 8.10"
},
"scripts": {
"version": "git add -A .",
Expand Down
Binary file modified source/iltorb/build/bindings/iltorb.node
Binary file not shown.
2 changes: 1 addition & 1 deletion source/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ let iltorb = null;

function inflate(input, output, mode = 0o755) {
if (iltorb == null) {
iltorb = require(process.env.AWS_EXECUTION_ENV !== 'AWS_Lambda_nodejs10.x' ? 'iltorb' : `${__dirname}/iltorb`)
iltorb = require(process.env.AWS_EXECUTION_ENV !== 'AWS_Lambda_nodejs8.10' ? 'iltorb' : `${__dirname}/iltorb`)
}

return new Promise((resolve, reject) => {
Expand Down

0 comments on commit 55fb6ca

Please sign in to comment.