chrome-aws-lambda
Advanced tools
Comparing version 1.17.1 to 1.18.0
{ | ||
"name": "chrome-aws-lambda", | ||
"private": false, | ||
"version": "1.17.1", | ||
"version": "1.18.0", | ||
"author": { | ||
@@ -20,3 +20,2 @@ "name": "Alix Axel" | ||
"scripts": { | ||
"version": "git add -A .", | ||
"postversion": "git push && git push --tags && npm publish" | ||
@@ -27,5 +26,7 @@ }, | ||
"@types/puppeteer": "~1.12.4", | ||
"iltorb": "^2.4.3", | ||
"puppeteer-core": "^1.17.0" | ||
"iltorb": "^2.4.3" | ||
}, | ||
"peerDependencies": { | ||
"puppeteer-core": "1.18.x" | ||
}, | ||
"bugs": { | ||
@@ -32,0 +33,0 @@ "url": "https://github.com/alixaxel/chrome-aws-lambda/issues" |
@@ -12,3 +12,3 @@ # chrome-aws-lambda | ||
```shell | ||
npm i chrome-aws-lambda | ||
npm install chrome-aws-lambda --save-prod | ||
``` | ||
@@ -18,2 +18,8 @@ | ||
You will also need to install the corresponding version of `puppeteer` (or `puppeteer-core`): | ||
```shell | ||
npm install puppeteer-core --save-prod | ||
``` | ||
If you wish to install an older version of Chromium, take a look at [Versioning](https://github.com/alixaxel/chrome-aws-lambda#versioning). | ||
@@ -61,2 +67,6 @@ | ||
### Running Locally | ||
Please refer to the [Local Development Wiki page](https://github.com/alixaxel/chrome-aws-lambda/wiki/HOWTO:-Local-Development) for instructions and troubleshooting. | ||
## API | ||
@@ -131,2 +141,3 @@ | ||
| ------------------- | --------------------------------- | ---------------------------------------------------- | | ||
| `1.18.*` | `npm i chrome-aws-lambda@~1.18.0` | [`669486`](https://crrev.com/669486) (`77.0.3827.0`) | | ||
| `1.17.*` | `npm i chrome-aws-lambda@~1.17.1` | [`662092`](https://crrev.com/662092) (`76.0.3803.0`) | | ||
@@ -183,3 +194,3 @@ | `1.16.*` | `npm i chrome-aws-lambda@~1.16.1` | [`656675`](https://crrev.com/656675) (`76.0.3786.0`) | | ||
```shell | ||
npm i iltorb | ||
npm install iltorb --save-prod | ||
``` | ||
@@ -186,0 +197,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { Browser, ChromeArgOptions, ConnectOptions, LaunchOptions } from 'puppeteer'; | ||
import { Browser, BrowserFetcher, ChromeArgOptions, ConnectOptions, FetcherOptions, LaunchOptions } from 'puppeteer'; | ||
@@ -19,5 +19,8 @@ export const font: (input: string) => Promise<string>; | ||
connect(options?: ConnectOptions): Promise<Browser>; | ||
createBrowserFetcher(options?: FetcherOptions): BrowserFetcher; | ||
defaultArgs(options?: ChromeArgOptions): string[]; | ||
devices: any; | ||
errors: any; | ||
executablePath(): string; | ||
launch(options?: LaunchOptions): Promise<Browser>; | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2
794
236
39696446
1