puppeteer-browser-ready 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020-2023 Individual contributors to puppeteer-browser-ready
3
+ Copyright (c) 2020-2024 Individual contributors to puppeteer-browser-ready
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -241,7 +241,7 @@ Example configuration in **package.json** to allow 5,000 ms:
241
241
  - 🪺 [recursive-exec](https://github.com/center-key/recursive-exec):  _Run a command on each file in a folder and its subfolders_
242
242
  - 🔍 [replacer-util](https://github.com/center-key/replacer-util):  _Find and replace strings or template outputs in text files_
243
243
  - 🔢 [rev-web-assets](https://github.com/center-key/rev-web-assets):  _Revision web asset filenames with cache busting content hash fingerprints_
244
- - 🚆 [run-scripts-util](https://github.com/center-key/run-scripts-util):  _Organize npm scripts into named groups of easy to manage commands_
244
+ - 🚆 [run-scripts-util](https://github.com/center-key/run-scripts-util):  _Organize npm package.json scripts into named groups of easy to manage commands_
245
245
  - 🚦 [w3c-html-validator](https://github.com/center-key/w3c-html-validator):  _Check the markup validity of HTML files using the W3C validator_
246
246
 
247
247
  [MIT License](LICENSE.txt)
@@ -1,4 +1,4 @@
1
- //! puppeteer-browser-ready v1.3.1 ~~ https://github.com/center-key/puppeteer-browser-ready ~~ MIT License
1
+ //! puppeteer-browser-ready v1.3.2 ~~ https://github.com/center-key/puppeteer-browser-ready ~~ MIT License
2
2
 
3
3
  import { Browser, HTTPResponse, Page } from 'puppeteer';
4
4
  import { HTMLElement } from 'node-html-parser';
@@ -1,4 +1,4 @@
1
- //! puppeteer-browser-ready v1.3.1 ~~ https://github.com/center-key/puppeteer-browser-ready ~~ MIT License
1
+ //! puppeteer-browser-ready v1.3.2 ~~ https://github.com/center-key/puppeteer-browser-ready ~~ MIT License
2
2
 
3
3
  import { parse } from 'node-html-parser';
4
4
  import express from 'express';
package/package.json CHANGED
@@ -1,21 +1,15 @@
1
1
  {
2
2
  "name": "puppeteer-browser-ready",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Simple utility to go to a URL and wait for the HTTP response",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "module": "dist/puppeteer-browser-ready.js",
8
- "main": "dist/puppeteer-browser-ready.js",
9
8
  "types": "dist/puppeteer-browser-ready.d.ts",
9
+ "exports": "./dist/puppeteer-browser-ready.js",
10
10
  "files": [
11
11
  "dist"
12
12
  ],
13
- "exports": {
14
- ".": {
15
- "import": "./dist/puppeteer-browser-ready.js"
16
- },
17
- "./": "./dist/"
18
- },
19
13
  "repository": {
20
14
  "type": "git",
21
15
  "url": "git+https://github.com/center-key/puppeteer-browser-ready.git"
@@ -85,7 +79,7 @@
85
79
  "test": "mocha spec/*.spec.js --timeout 7000 --retries 1"
86
80
  },
87
81
  "peerDependencies": {
88
- "puppeteer": "^15 || ^16 || ^17 || ^18 || ^19.7 || ^20 || ^21"
82
+ "puppeteer": "^15 || ^16 || ^17 || ^18 || ^19.7 || ^20 || ^21 || ^22"
89
83
  },
90
84
  "dependencies": {
91
85
  "express": "~4.18",
@@ -95,19 +89,19 @@
95
89
  "devDependencies": {
96
90
  "@types/express": "~4.17",
97
91
  "@types/mocha": "~10.0",
98
- "@types/node": "~20.10",
92
+ "@types/node": "~20.11",
99
93
  "@types/ws": "~8.5",
100
- "@typescript-eslint/eslint-plugin": "~6.15",
101
- "@typescript-eslint/parser": "~6.15",
102
- "add-dist-header": "~1.3",
103
- "assert-deep-strict-equal": "~1.1",
94
+ "@typescript-eslint/eslint-plugin": "~6.21",
95
+ "@typescript-eslint/parser": "~6.21",
96
+ "add-dist-header": "~1.4",
97
+ "assert-deep-strict-equal": "~1.2",
104
98
  "copy-file-util": "~1.1",
105
99
  "copy-folder-util": "~1.1",
106
100
  "eslint": "~8.56",
107
101
  "jshint": "~2.13",
108
102
  "mocha": "~10.2",
109
103
  "open": "~10.0",
110
- "puppeteer": "~21.6",
104
+ "puppeteer": "~22.0",
111
105
  "rimraf": "~5.0",
112
106
  "run-scripts-util": "~1.2",
113
107
  "typescript": "~5.3",