@uxf/scripts 11.62.3 → 11.63.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/scripts",
3
- "version": "11.62.3",
3
+ "version": "11.63.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -254,7 +254,7 @@ async function fetchUrl(url, webUrl, parentUrl = undefined, ttl = 1) {
254
254
  url,
255
255
  parentUrl,
256
256
  isImg: isImageUrl(url),
257
- isWebPage: response.headers.get("content-type").includes("text/html"),
257
+ isWebPage: response.headers.get("content-type")?.includes("text/html") ?? true,
258
258
  ttl,
259
259
  status: response.status,
260
260
  skipped: false,