Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

find-chrome-bin

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

find-chrome-bin - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

dual-publish-tmp/example/index.cjs

6

CHANGELOG.md

@@ -5,2 +5,8 @@ # Change Log

## 1.0.3
- Added support for new puppeteer BrowserFetcher API
- Upgraded dependencies
## 1.0.2

@@ -7,0 +13,0 @@

28

package.json
{
"name": "find-chrome-bin",
"version": "1.0.2",
"version": "1.0.3",
"description": "Finds local Chromium binary to use it with puppeteer-core",

@@ -29,21 +29,21 @@ "keywords": [

"devDependencies": {
"@logux/eslint-config": "^47.2.0",
"@size-limit/preset-small-lib": "^7.0.8",
"check-dts": "^0.6.7",
"clean-publish": "^4.0.1",
"@logux/eslint-config": "^49.0.0",
"@size-limit/preset-small-lib": "^8.2.4",
"check-dts": "^0.7.1",
"clean-publish": "^4.1.1",
"dual-publish": "^3.0.1",
"eslint": "^8.18.0",
"eslint": "^8.36.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prefer-let": "^3.0.1",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-promise": "^6.1.1",
"nanospy": "^0.5.0",
"puppeteer-core": "^15.2.0",
"puppeteer-core": "^19.8.0",
"sdc-check": "^1.0.2",
"size-limit": "^7.0.8",
"tsm": "^2.2.1",
"typescript": "^4.7.4",
"uvu": "^0.5.4"
"size-limit": "^8.2.4",
"tsm": "^2.3.0",
"typescript": "^5.0.2",
"uvu": "^0.5.6"
},

@@ -50,0 +50,0 @@ "eslintConfig": {

@@ -45,2 +45,9 @@ const { execSync } = require('child_process')

function createBrowserFetcher(puppeteer, path, host) {
if (puppeteer.BrowserFetcher) {
return new puppeteer.BrowserFetcher({ path, host })
}
return puppeteer.createBrowserFetcher({ path, host })
}
async function downloadChromium(puppeteer, path, revision) {

@@ -53,6 +60,3 @@ try {

let browserFetcher = puppeteer.createBrowserFetcher({
path,
host: downloadHost
})
let browserFetcher = createBrowserFetcher(puppeteer, path, downloadHost)

@@ -59,0 +63,0 @@ let revisionInfo = browserFetcher.revisionInfo(revision)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc