find-chrome-bin
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -5,2 +5,6 @@ # Change Log | ||
## 1.0.2 | ||
- Fixed types. | ||
## 1.0.1 | ||
@@ -7,0 +11,0 @@ |
@@ -7,3 +7,3 @@ export type FindChromeOptions = { | ||
*/ | ||
min: number | ||
min?: number | ||
@@ -15,3 +15,3 @@ /** | ||
*/ | ||
max: number | ||
max?: number | ||
@@ -28,3 +28,3 @@ /** | ||
* const puppeteer = require('puppeteer-core') | ||
* const { PUPPETEER_REVISIONS } = require('puppeteer-core/lib/cjs/puppeteer/revisions') | ||
* const { PUPPETEER_REVISIONS } = require('puppeteer-core/lib/cjs/puppeteer/revisions.js') | ||
* download: { | ||
@@ -55,3 +55,3 @@ * puppeteer, | ||
* @example | ||
* const { PUPPETEER_REVISIONS } = require('puppeteer-core/lib/cjs/puppeteer/revisions') | ||
* const { PUPPETEER_REVISIONS } = require('puppeteer-core/lib/cjs/puppeteer/revisions.js') | ||
* PUPPETEER_REVISIONS.chromium //=> "938553" | ||
@@ -100,3 +100,3 @@ */ | ||
* import puppeteer from 'puppeteer-core' | ||
* import { PUPPETEER_REVISIONS } from 'puppeteer-core/lib/cjs/puppeteer/revisions' | ||
* import { PUPPETEER_REVISIONS } from 'puppeteer-core/lib/cjs/puppeteer/revisions.js' | ||
* const chromeInfo = await findChrome({ | ||
@@ -103,0 +103,0 @@ * min: 95, |
{ | ||
"name": "find-chrome-bin", | ||
"version": "1.0.1", | ||
"description": "Finds local suitable Chromium binary", | ||
"version": "1.0.2", | ||
"description": "Finds local Chromium binary to use it with puppeteer-core", | ||
"keywords": [ | ||
@@ -25,13 +25,15 @@ "chrome", | ||
"unit": "tsm node_modules/uvu/bin.js test/", | ||
"test": "yarn unit && eslint . && check-dts && size-limit" | ||
"check": "eslint . && check-dts && size-limit", | ||
"test": "yarn unit && yarn check" | ||
}, | ||
"devDependencies": { | ||
"@logux/eslint-config": "^46.1.1", | ||
"@logux/eslint-config": "^47.2.0", | ||
"@size-limit/preset-small-lib": "^7.0.8", | ||
"check-dts": "^0.6.6", | ||
"clean-publish": "^4.0.0", | ||
"check-dts": "^0.6.7", | ||
"clean-publish": "^4.0.1", | ||
"dual-publish": "^3.0.1", | ||
"eslint": "^8.12.0", | ||
"eslint-config-standard": "^16.0.3", | ||
"eslint-plugin-import": "^2.25.4", | ||
"eslint": "^8.18.0", | ||
"eslint-config-standard": "^17.0.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-n": "^15.2.3", | ||
"eslint-plugin-node": "^11.1.0", | ||
@@ -41,8 +43,8 @@ "eslint-plugin-prefer-let": "^3.0.1", | ||
"nanospy": "^0.5.0", | ||
"puppeteer-core": "^13.5.2", | ||
"sdc-check": "^1.0.0", | ||
"puppeteer-core": "^15.2.0", | ||
"sdc-check": "^1.0.2", | ||
"size-limit": "^7.0.8", | ||
"tsm": "^2.2.1", | ||
"typescript": "^4.6.3", | ||
"uvu": "^0.5.3" | ||
"typescript": "^4.7.4", | ||
"uvu": "^0.5.4" | ||
}, | ||
@@ -49,0 +51,0 @@ "eslintConfig": { |
@@ -1,2 +0,2 @@ | ||
# Finds local suitable Chromium | ||
# Finds local Chromium to use it with puppeteer-core | ||
@@ -3,0 +3,0 @@ - **Cross-platform.** Works on win, mac and linux. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20337
19