Skip to content

Commit

Permalink
Release v1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Dec 25, 2023
1 parent 118f3bb commit c3dfd12
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/puppeteer-browser-ready.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! puppeteer-browser-ready v1.3.0 ~~ https://github.com/center-key/puppeteer-browser-ready ~~ MIT License
//! puppeteer-browser-ready v1.3.1 ~~ https://github.com/center-key/puppeteer-browser-ready ~~ MIT License

import { Browser, HTTPResponse, Page } from 'puppeteer';
import { HTMLElement } from 'node-html-parser';
Expand Down
4 changes: 2 additions & 2 deletions dist/puppeteer-browser-ready.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! puppeteer-browser-ready v1.3.0 ~~ https://github.com/center-key/puppeteer-browser-ready ~~ MIT License
//! puppeteer-browser-ready v1.3.1 ~~ https://github.com/center-key/puppeteer-browser-ready ~~ MIT License

import { parse } from 'node-html-parser';
import express from 'express';
Expand Down Expand Up @@ -46,7 +46,7 @@ const browserReady = {
const settings = { ...defaults, ...options };
const log = (label, msg) => settings.verbose &&
console.log(' ', Date.now() % 100000, label + ':', msg);
const rootInfo = (root) => root.constructor.name + '/' + root.firstChild.toString();
const rootInfo = (root) => root.constructor.name + '/' + root.firstChild?.toString();
const web = async (browser) => {
log('Connected', browser.isConnected());
try {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppeteer-browser-ready",
"version": "1.3.0",
"version": "1.3.1",
"description": "Simple utility to go to a URL and wait for the HTTP response",
"license": "MIT",
"type": "module",
Expand Down

0 comments on commit c3dfd12

Please sign in to comment.