html-snapshots
Advanced tools
Comparing version 0.15.0 to 0.15.1
/* | ||
* Example custom filter for html-snapshots. | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
* | ||
@@ -5,0 +5,0 @@ * Processes the snapshot output before it is finalized. |
/* | ||
* Snapshot an example website. | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
* | ||
@@ -5,0 +5,0 @@ * Use sitemap.xml to snapshot an entire site. |
/* | ||
* Debug PhantomJS processing of a page on a sample website. | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
* | ||
@@ -5,0 +5,0 @@ * Uses sitemap.xml to snapshot a sample website, but holds one page for debugging. |
/* | ||
* Snapshot multiple pages using arrays. | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
* | ||
@@ -5,0 +5,0 @@ * Use an array to snapshot specific urls. |
/* | ||
* Process limit snapshots example. | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
* | ||
@@ -5,0 +5,0 @@ * Uses robots.txt to drive website snapshot. |
/* | ||
* Simple page snapshots example. | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
* | ||
@@ -5,0 +5,0 @@ * Use array input to snapshot individual pages. |
/* | ||
* Simple page snapshots example. | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
* | ||
@@ -5,0 +5,0 @@ * Use sitemap index to drive input to snapshot individual pages. |
/** | ||
* Utilities for the examples. | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -5,0 +5,0 @@ 'use strict'; |
/* | ||
* Snapshot an example website. | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
* | ||
@@ -5,0 +5,0 @@ * Use sitemap.xml to snapshot an entire site. |
@@ -8,3 +8,3 @@ /** | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
* Licensed under the MIT license. | ||
@@ -11,0 +11,0 @@ */ |
@@ -7,3 +7,3 @@ /** | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
* Licensed under the MIT license. | ||
@@ -10,0 +10,0 @@ */ |
/** | ||
* common code | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
* Licensed under the MIT license. | ||
@@ -6,0 +6,0 @@ */ |
/*** | ||
* nodeCall | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
* Licensed under the MIT license. | ||
@@ -6,0 +6,0 @@ */ |
@@ -7,3 +7,3 @@ /** | ||
* | ||
* Copyright (c) 2013 - 2018 Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019 Alex Grant, LocalNerve, contributors | ||
* Licensed under the MIT license. | ||
@@ -10,0 +10,0 @@ */ |
@@ -9,3 +9,3 @@ /* | ||
* | ||
* Copyright (c) 2013 - 2018 Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019 Alex Grant, LocalNerve, contributors | ||
* Licensed under the MIT license. | ||
@@ -12,0 +12,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* | ||
* Copyright (c) 2013 - 2018 Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019 Alex Grant, LocalNerve, contributors | ||
* Licensed under the MIT license. | ||
@@ -9,0 +9,0 @@ */ |
@@ -7,3 +7,3 @@ /* | ||
* | ||
* Copyright (c) 2013 - 2018 Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019 Alex Grant, LocalNerve, contributors | ||
* Licensed under the MIT license. | ||
@@ -10,0 +10,0 @@ */ |
@@ -7,3 +7,3 @@ /** | ||
* | ||
* Copyright (c) 2013 - 2018 Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019 Alex Grant, LocalNerve, contributors | ||
* Licensed under the MIT license. | ||
@@ -10,0 +10,0 @@ */ |
@@ -9,3 +9,3 @@ /* | ||
* | ||
* Copyright (c) 2013 - 2018 Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019 Alex Grant, LocalNerve, contributors | ||
* Licensed under the MIT license. | ||
@@ -12,0 +12,0 @@ */ |
@@ -7,3 +7,3 @@ /** | ||
* | ||
* Copyright (c) 2013 - 2018 Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019 Alex Grant, LocalNerve, contributors | ||
* Licensed under the MIT license. | ||
@@ -10,0 +10,0 @@ */ |
@@ -7,3 +7,3 @@ /** | ||
* | ||
* Copyright (c) 2013 - 2018 Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019 Alex Grant, LocalNerve, contributors | ||
* Licensed under the MIT license. | ||
@@ -10,0 +10,0 @@ */ |
@@ -7,3 +7,3 @@ /* | ||
* | ||
* Copyright (c) 2013 - 2018 Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019 Alex Grant, LocalNerve, contributors | ||
* Licensed under the MIT license. | ||
@@ -10,0 +10,0 @@ */ |
@@ -10,3 +10,3 @@ /* | ||
* | ||
* Copyright (c) 2013 - 2018 Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019 Alex Grant, LocalNerve, contributors | ||
* Licensed under the MIT license. | ||
@@ -13,0 +13,0 @@ */ |
@@ -9,3 +9,3 @@ /* | ||
* | ||
* Copyright (c) 2013 - 2018 Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019 Alex Grant, LocalNerve, contributors | ||
* Licensed under the MIT license. | ||
@@ -12,0 +12,0 @@ */ |
@@ -9,3 +9,3 @@ /* | ||
* | ||
* Copyright (c) 2013 - 2018 Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019 Alex Grant, LocalNerve, contributors | ||
* Licensed under the MIT license. | ||
@@ -12,0 +12,0 @@ */ |
@@ -14,3 +14,3 @@ /* | ||
* | ||
* Copyright (c) 2013 - 2018 Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019 Alex Grant, LocalNerve, contributors | ||
* Licensed under the MIT license. | ||
@@ -17,0 +17,0 @@ */ |
@@ -8,3 +8,3 @@ /* | ||
* | ||
* Copyright (c) 2013 - 2018 Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019 Alex Grant, LocalNerve, contributors | ||
* Licensed under the MIT license. | ||
@@ -11,0 +11,0 @@ */ |
@@ -8,3 +8,3 @@ /* | ||
* | ||
* Copyright (c) 2013 - 2018 Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019 Alex Grant, LocalNerve, contributors | ||
* Licensed under the MIT license. | ||
@@ -11,0 +11,0 @@ */ |
@@ -8,3 +8,3 @@ /* | ||
* | ||
* Copyright (c) 2013 - 2018 Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019 Alex Grant, LocalNerve, contributors | ||
* Licensed under the MIT license. | ||
@@ -11,0 +11,0 @@ */ |
@@ -10,3 +10,3 @@ /* | ||
* | ||
* Copyright (c) 2013 - 2018 Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019 Alex Grant, LocalNerve, contributors | ||
* Licensed under the MIT license. | ||
@@ -13,0 +13,0 @@ */ |
{ | ||
"name": "html-snapshots", | ||
"version": "0.15.0", | ||
"version": "0.15.1", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Alex Grant", |
/* | ||
* options.js | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
* | ||
@@ -6,0 +6,0 @@ * A test helper to decorate html-snapshots options |
/** | ||
* Asserts error is error. | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -6,0 +6,0 @@ var assert = require("assert"); |
/* | ||
* Helper to add dynamic url nodes to a test sitemap. | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -6,0 +6,0 @@ var smLib = require("sitemap-xml"); |
/** | ||
* Async module tests. | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -6,0 +6,0 @@ /* global describe, beforeEach, it */ |
/** | ||
* Helpers tests. | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -6,0 +6,0 @@ /* global describe, it */ |
/** | ||
* Common node tests. | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -6,0 +6,0 @@ /* global describe, it */ |
/** | ||
* Common module tests. | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -6,0 +6,0 @@ /* global describe, it */ |
/** | ||
* Basic library tests. | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -6,0 +6,0 @@ /* global module, require, it */ |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -8,0 +8,0 @@ module.exports = function(content) { |
/** | ||
* Library tests focused on the phantomjsOptions option. | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -6,0 +6,0 @@ /* global module, require, it */ |
/** | ||
* Library tests focused on the processLimit option. | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -6,0 +6,0 @@ /* global module, require, process, clearInterval, setInterval, it */ |
/** | ||
* Library tests that use robots. | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -6,0 +6,0 @@ /* global module, require, it */ |
/** | ||
* Library tests that use sitemap-index. | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -6,0 +6,0 @@ /* global require, module, it */ |
/** | ||
* Library tests that use sitemap. | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -6,0 +6,0 @@ /* global require, module, it */ |
/** | ||
* Library tests focused on the phantomjsOptions option. | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -6,0 +6,0 @@ /* global module, require, beforeEach, describe, it */ |
/** | ||
* Driver for html-snapshots library tests. | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -6,0 +6,0 @@ /* global describe, before, after */ |
/** | ||
* Library tests focused on the useJQuery option. | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -6,0 +6,0 @@ /* global module, require, process, clearInterval, setTimeout, it */ |
/** | ||
* html-snapshots test utilities and constants. | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -6,0 +6,0 @@ /* global require, process, Promise */ |
/** | ||
* Sitemap-index tests. | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -6,0 +6,0 @@ /* global describe, it, before */ |
/** | ||
* Sitemap tests. | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -6,0 +6,0 @@ /* global describe, it, before */ |
/** | ||
* General input generator tests. | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -6,0 +6,0 @@ /* global describe, it, before */ |
/** | ||
* Create a local web server for tests. | ||
* | ||
* Copyright (c) 2013 - 2018, Alex Grant, LocalNerve, contributors | ||
* Copyright (c) 2013 - 2019, Alex Grant, LocalNerve, contributors | ||
*/ | ||
@@ -6,0 +6,0 @@ var pathm = require("path"); |
Sorry, the diff of this file is not supported yet