summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.js2
-rw-r--r--package-lock.json18
-rw-r--r--package.json2
3 files changed, 11 insertions, 11 deletions
diff --git a/index.js b/index.js
index 3670639..1d2a8f4 100644
--- a/index.js
+++ b/index.js
@@ -15,7 +15,7 @@ const responseHeadersToRemove = ["Accept-Ranges", "Content-Length", "Keep-Alive"
(async () => {
let options = {
- headless: false,
+ headless: true,
args: ['--no-sandbox', '--disable-setuid-sandbox']
};
if (process.env.PUPPETEER_SKIP_CHROMIUM_DOWNLOAD)
diff --git a/package-lock.json b/package-lock.json
index 01105ec..11fe5f4 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -533,9 +533,9 @@
}
},
"mime": {
- "version": "2.4.5",
- "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.5.tgz",
- "integrity": "sha512-3hQhEUF027BuxZjQA3s7rIv/7VCQPa27hN9u9g87sEkWaKwQPuXOkVKtOeiyUrnWqTDiOs8Ed2rwg733mB0R5w=="
+ "version": "2.4.6",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.6.tgz",
+ "integrity": "sha512-RZKhC3EmpBchfTGBVb8fb+RL2cWyw/32lshnsETttkBAyAUXSGHxbEJWWRXc751DrIxG1q04b8QwMbAwkRPpUA=="
},
"mime-db": {
"version": "1.44.0",
@@ -645,9 +645,9 @@
}
},
"puppeteer": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-3.1.0.tgz",
- "integrity": "sha512-jLa9sqdVx0tPnr2FcwAq+8DSjGhSM4YpkwOf3JE22Ycyqm71SW7B5uGfTyMGFoLCmbCozbLZclCjasPb0flTRw==",
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-3.3.0.tgz",
+ "integrity": "sha512-23zNqRltZ1PPoK28uRefWJ/zKb5Jhnzbbwbpcna2o5+QMn17F0khq5s1bdH3vPlyj+J36pubccR8wiNA/VE0Vw==",
"requires": {
"debug": "^4.1.0",
"extract-zip": "^2.0.0",
@@ -894,9 +894,9 @@
}
},
"unbzip2-stream": {
- "version": "1.4.2",
- "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.2.tgz",
- "integrity": "sha512-pZMVAofMrrHX6Ik39hCk470kulCbmZ2SWfQLPmTWqfJV/oUm0gn1CblvHdUu4+54Je6Jq34x8kY6XjTy6dMkOg==",
+ "version": "1.4.3",
+ "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz",
+ "integrity": "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==",
"requires": {
"buffer": "^5.2.1",
"through": "^2.3.8"
diff --git a/package.json b/package.json
index f115b62..fa14efa 100644
--- a/package.json
+++ b/package.json
@@ -14,7 +14,7 @@
"jsesc": "^3.0.1",
"koa": "^2.12.0",
"koa-bodyparser": "^4.3.0",
- "puppeteer": "^3.1.0",
+ "puppeteer": "^3.3.0",
"puppeteer-extra": "^3.1.9",
"puppeteer-extra-plugin-stealth": "^2.4.9"
}