fix: deps upgrade
This commit is contained in:
2
.github/scripts/markdown_example.mjs
vendored
2
.github/scripts/markdown_example.mjs
vendored
@@ -3,7 +3,7 @@ import puppeteer from "puppeteer"
|
||||
|
||||
//Setup browser
|
||||
const browser = await puppeteer.launch({
|
||||
headless: true,
|
||||
headless: "new",
|
||||
executablePath: process.env.PUPPETEER_BROWSER_PATH,
|
||||
args: ["--no-sandbox", "--disable-extensions", "--disable-setuid-sandbox", "--disable-dev-shm-usage"],
|
||||
ignoreDefaultArgs: ["--disable-extensions"],
|
||||
|
||||
@@ -13,7 +13,7 @@ import fs from "fs/promises"
|
||||
import { JSDOM } from "jsdom"
|
||||
import linguist from "linguist-js"
|
||||
import { marked } from "marked"
|
||||
import minimatch from "minimatch"
|
||||
import { minimatch } from "minimatch"
|
||||
import fetch from "node-fetch"
|
||||
import opengraph from "open-graph-scraper"
|
||||
import os from "os"
|
||||
@@ -51,7 +51,7 @@ export const puppeteer = {
|
||||
ignoreDefaultArgs: ["--disable-extensions"],
|
||||
})
|
||||
},
|
||||
headless: true,
|
||||
headless: "new",
|
||||
events: ["load", "domcontentloaded", "networkidle2"],
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user