html-snapshots 4.13.1 → 4.14.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/LICENSE.md CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013-2024 Alex Grant, LocalNerve, contributors
1
+ Copyright (c) 2013-2025 Alex Grant, LocalNerve, contributors
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person
4
4
  obtaining a copy of this software and associated documentation
@@ -5,7 +5,7 @@
5
5
  * Empirically, I found that either one of these NodeJS checks can fail,
6
6
  * but both don't. This is a workaround.
7
7
  *
8
- * Copyright (c) 2013 - 2024, Alex Grant, LocalNerve, contributors
8
+ * Copyright (c) 2013 - 2025, Alex Grant, LocalNerve, contributors
9
9
  * Licensed under the MIT license.
10
10
  */
11
11
 
@@ -4,7 +4,7 @@
4
4
  * Async stuff for html-snapshots
5
5
  * Notifier class
6
6
  *
7
- * Copyright (c) 2013 - 2024, Alex Grant, LocalNerve, contributors
7
+ * Copyright (c) 2013 - 2025, Alex Grant, LocalNerve, contributors
8
8
  * Licensed under the MIT license.
9
9
  */
10
10
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * common code
3
3
  *
4
- * Copyright (c) 2013 - 2024, Alex Grant, LocalNerve, contributors
4
+ * Copyright (c) 2013 - 2025, Alex Grant, LocalNerve, contributors
5
5
  * Licensed under the MIT license.
6
6
  */
7
7
 
@@ -2,7 +2,7 @@
2
2
  * Reused sitemap modules.
3
3
  * Used by robots, sitemap, and sitemap-index input generators.
4
4
  *
5
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
5
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
6
6
  * Licensed under the MIT license.
7
7
  */
8
8
  const sitemap = require("./sitemap");
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * sitemap-index.js (common functions)
3
3
  *
4
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
4
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
5
5
  * Licensed under the MIT license.
6
6
  */
7
7
  const fs = require("fs");
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Generates the urls for a sitemap-index.
5
5
  *
6
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
6
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
7
7
  * Licensed under the MIT license.
8
8
  */
9
9
  const smc = require("./sitemap-collection");
@@ -4,7 +4,7 @@
4
4
  * An input generator for html-snapshots that uses a sitemap.xml file.
5
5
  * Creates the snapshot arguments driven from sitemap.xml urls.
6
6
  *
7
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
7
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
8
8
  * Licensed under the MIT license.
9
9
  */
10
10
 
@@ -6,7 +6,7 @@
6
6
  * By default, uses a selector to search content to determine if
7
7
  * a page is "ready" for its html snapshot.
8
8
  *
9
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
9
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
10
10
  * Licensed under the MIT license.
11
11
  */
12
12
 
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * The common, base functionality of an input generator.
5
5
  *
6
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
6
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
7
7
  * Licensed under the MIT license.
8
8
  */
9
9
 
@@ -4,7 +4,7 @@
4
4
  * An input generator for html-snapshots that uses a javascript array
5
5
  * to generate snapshot input from the host relative page urls.
6
6
  *
7
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
7
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
8
8
  * Licensed under the MIT license.
9
9
  */
10
10
 
@@ -4,7 +4,7 @@
4
4
  * Input generator factory
5
5
  * Create an input generator that produces snapshots arguments
6
6
  *
7
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
7
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
8
8
  * Licensed under the MIT license.
9
9
  */
10
10
 
@@ -4,7 +4,7 @@
4
4
  * An input generator for html-snapshots that uses a simple robots.txt file.
5
5
  * Creates the snapshot arguments driven from robots.txt Sitemap or Allow directives.
6
6
  *
7
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
7
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
8
8
  * Licensed under the MIT license.
9
9
  */
10
10
 
@@ -4,7 +4,7 @@
4
4
  * An input generator for html-snapshots that uses a sitemap index xml file.
5
5
  * Creates the snapshot arguments driven from multiple sitemap.xml urls.
6
6
  *
7
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
7
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
8
8
  * Licensed under the MIT license.
9
9
  */
10
10
  const common = require("../common");
@@ -4,7 +4,7 @@
4
4
  * An input generator for html-snapshots that uses a sitemap.xml file.
5
5
  * Creates the snapshot arguments driven from sitemap.xml urls.
6
6
  *
7
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
7
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
8
8
  * Licensed under the MIT license.
9
9
  */
10
10
 
@@ -4,7 +4,7 @@
4
4
  * An input generator for html-snapshots that uses a simple text file
5
5
  * with the host relative page urls, one per line.
6
6
  *
7
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
7
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
8
8
  * Licensed under the MIT license.
9
9
  */
10
10
 
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * This is a phantomJS script that runs in phantomjs.
9
9
  *
10
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
10
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
11
11
  * Licensed under the MIT license.
12
12
  */
13
13
  var selectorDetect = require("./modules/selectorDetect");
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This is a phantomJS script that runs in phantomjs.
8
8
  *
9
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
9
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
10
10
  * Licensed under the MIT license.
11
11
  */
12
12
  var selectorDetect = require("./modules/selectorDetect");
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This is a module for a phantomJS script that runs in phantomjs.
8
8
  *
9
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
9
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
10
10
  * Licensed under the MIT license.
11
11
  */
12
12
 
@@ -11,7 +11,7 @@
11
11
  *
12
12
  * This is a module for a phantomJS script that runs in phantomjs.
13
13
  *
14
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
14
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
15
15
  * Licensed under the MIT license.
16
16
  */
17
17
  /* global document, $ */
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * This is a module for a phantomJS script that runs in phantomjs.
7
7
  *
8
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
8
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
9
9
  * Licensed under the MIT license.
10
10
  */
11
11
  /* global phantom */
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * This is a module for a phantomJS script that runs in phantomjs.
7
7
  *
8
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
8
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
9
9
  * Licensed under the MIT license.
10
10
  */
11
11
 
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * This is a module for a phantomJS script that runs in phantomjs.
7
7
  *
8
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
8
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
9
9
  * Licensed under the MIT license.
10
10
  */
11
11
  /* global window */
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * This is a phantomJS script that runs in phantomjs.
9
9
  *
10
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
10
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
11
11
  * Licensed under the MIT license.
12
12
  */
13
13
  var selectorDetect = require("./modules/selectorDetect");
@@ -14,7 +14,7 @@
14
14
  * [8] - slowMo
15
15
  * [9] - arbitrary launchOptions
16
16
  *
17
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
17
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
18
18
  * Licensed under the MIT license.
19
19
  */
20
20
  const puppeteer = require('puppeteer');
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Remove all script tags from content
3
3
  *
4
- * Copyright (c) 2013 - 2024 Alex Grant, LocalNerve, contributors
4
+ * Copyright (c) 2013 - 2025 Alex Grant, LocalNerve, contributors
5
5
  * Licensed under the MIT license.
6
6
  */
7
7
  function removeScriptTags (content) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "html-snapshots",
3
- "version": "4.13.1",
3
+ "version": "4.14.0",
4
4
  "author": {
5
5
  "name": "Alex Grant",
6
6
  "email": "alex@localnerve.com",
@@ -55,7 +55,7 @@
55
55
  "combine-errors": "3.0.3",
56
56
  "got": "^13.0.0",
57
57
  "phantomjs-prebuilt": "2.1.16",
58
- "puppeteer": "^23.11.1",
58
+ "puppeteer": "^24.0.0",
59
59
  "xml2js": "0.6.2"
60
60
  },
61
61
  "devDependencies": {