html-snapshots 0.17.8 → 0.18.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/.github/workflows/verify.yml +3 -3
- package/LICENSE.md +1 -1
- package/README.md +4 -4
- package/examples/custom/myFilter.js +1 -1
- package/examples/custom/package-lock.json +24 -24
- package/examples/custom/package.json +1 -1
- package/examples/custom/snapshot.js +1 -1
- package/examples/debug-phantomjs/package-lock.json +24 -24
- package/examples/debug-phantomjs/package.json +1 -1
- package/examples/debug-phantomjs/snapshot.js +1 -1
- package/examples/html5rocks/package-lock.json +24 -24
- package/examples/html5rocks/package.json +1 -1
- package/examples/html5rocks/snapshot.js +1 -1
- package/examples/process-limit/package-lock.json +24 -24
- package/examples/process-limit/package.json +1 -1
- package/examples/process-limit/snapshot.js +1 -1
- package/examples/simple-promise/package-lock.json +24 -24
- package/examples/simple-promise/package.json +1 -1
- package/examples/simple-promise/snapshot.js +1 -1
- package/examples/sitemap-index/package-lock.json +91 -91
- package/examples/sitemap-index/package.json +1 -1
- package/examples/sitemap-index/snapshot.js +1 -1
- package/examples/utils/index.js +1 -1
- package/examples/verbose/package-lock.json +24 -24
- package/examples/verbose/package.json +1 -1
- package/examples/verbose/snapshot.js +1 -1
- package/lib/async/exists.js +1 -1
- package/lib/async/index.js +1 -1
- package/lib/common/index.js +1 -1
- package/lib/common/node.js +1 -1
- package/lib/common/sitemap.js +1 -1
- package/lib/html-snapshots.js +1 -1
- package/lib/input-generators/_base.js +1 -1
- package/lib/input-generators/array.js +1 -1
- package/lib/input-generators/index.js +1 -1
- package/lib/input-generators/robots.js +1 -1
- package/lib/input-generators/sitemap-index.js +1 -1
- package/lib/input-generators/sitemap.js +1 -1
- package/lib/input-generators/textfile.js +1 -1
- package/lib/phantom/customFilter.js +1 -1
- package/lib/phantom/default.js +1 -1
- package/lib/phantom/modules/cli.js +1 -1
- package/lib/phantom/modules/detectors.js +1 -1
- package/lib/phantom/modules/globals.js +1 -1
- package/lib/phantom/modules/selectorDetect.js +1 -1
- package/lib/phantom/modules/verbose.js +1 -1
- package/lib/phantom/removeScripts.js +1 -1
- package/package.json +18 -18
- package/test/helpers/options.js +1 -1
- package/test/helpers/result.js +1 -1
- package/test/helpers/sitemap.js +1 -1
- package/test/mocha/async/test.js +1 -1
- package/test/mocha/common/helpers.js +1 -1
- package/test/mocha/common/node.js +1 -1
- package/test/mocha/common/test.js +1 -1
- package/test/mocha/html-snapshots/basics.js +1 -1
- package/test/mocha/html-snapshots/myFilter.js +1 -1
- package/test/mocha/html-snapshots/phantomjs-options.js +1 -1
- package/test/mocha/html-snapshots/process-limit.js +1 -1
- package/test/mocha/html-snapshots/robots.js +1 -1
- package/test/mocha/html-snapshots/sitemap-index.js +1 -1
- package/test/mocha/html-snapshots/sitemap.js +1 -1
- package/test/mocha/html-snapshots/snapshot-scripts.js +1 -1
- package/test/mocha/html-snapshots/test.js +1 -1
- package/test/mocha/html-snapshots/use-jquery.js +1 -1
- package/test/mocha/html-snapshots/utils.js +1 -1
- package/test/mocha/input-generators/sitemap-index.js +1 -1
- package/test/mocha/input-generators/sitemap.js +1 -1
- package/test/mocha/input-generators/test.js +1 -1
- package/test/server/index.js +1 -1
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"requires": true,
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"ajv": {
|
|
8
|
-
"version": "6.
|
|
9
|
-
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.
|
|
10
|
-
"integrity": "sha512-
|
|
8
|
+
"version": "6.12.6",
|
|
9
|
+
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
|
|
10
|
+
"integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
|
|
11
11
|
"requires": {
|
|
12
12
|
"fast-deep-equal": "^3.1.1",
|
|
13
13
|
"fast-json-stable-stringify": "^2.0.0",
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
"integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
|
|
30
30
|
},
|
|
31
31
|
"async": {
|
|
32
|
-
"version": "3.
|
|
33
|
-
"resolved": "https://registry.npmjs.org/async/-/async-3.
|
|
34
|
-
"integrity": "sha512-
|
|
32
|
+
"version": "3.2.0",
|
|
33
|
+
"resolved": "https://registry.npmjs.org/async/-/async-3.2.0.tgz",
|
|
34
|
+
"integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw=="
|
|
35
35
|
},
|
|
36
36
|
"async-lock": {
|
|
37
|
-
"version": "1.2.
|
|
38
|
-
"resolved": "https://registry.npmjs.org/async-lock/-/async-lock-1.2.
|
|
39
|
-
"integrity": "sha512-
|
|
37
|
+
"version": "1.2.8",
|
|
38
|
+
"resolved": "https://registry.npmjs.org/async-lock/-/async-lock-1.2.8.tgz",
|
|
39
|
+
"integrity": "sha512-G+26B2jc0Gw0EG/WN2M6IczuGepBsfR1+DtqLnyFSH4p2C668qkOCtEkGNVEaaNAVlYwEMazy1+/jnLxltBkIQ=="
|
|
40
40
|
},
|
|
41
41
|
"asynckit": {
|
|
42
42
|
"version": "0.4.0",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg="
|
|
50
50
|
},
|
|
51
51
|
"aws4": {
|
|
52
|
-
"version": "1.
|
|
53
|
-
"resolved": "https://registry.npmjs.org/aws4/-/aws4-1.
|
|
54
|
-
"integrity": "sha512-
|
|
52
|
+
"version": "1.11.0",
|
|
53
|
+
"resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz",
|
|
54
|
+
"integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA=="
|
|
55
55
|
},
|
|
56
56
|
"balanced-match": {
|
|
57
57
|
"version": "1.0.0",
|
|
@@ -75,6 +75,11 @@
|
|
|
75
75
|
"concat-map": "0.0.1"
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
|
+
"buffer-crc32": {
|
|
79
|
+
"version": "0.2.13",
|
|
80
|
+
"resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
|
|
81
|
+
"integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI="
|
|
82
|
+
},
|
|
78
83
|
"buffer-from": {
|
|
79
84
|
"version": "1.1.1",
|
|
80
85
|
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
|
|
@@ -169,22 +174,22 @@
|
|
|
169
174
|
"integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
|
|
170
175
|
},
|
|
171
176
|
"extract-zip": {
|
|
172
|
-
"version": "1.
|
|
173
|
-
"resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.
|
|
174
|
-
"integrity": "
|
|
175
|
-
"requires": {
|
|
176
|
-
"concat-stream": "1.6.2",
|
|
177
|
-
"debug": "2.6.9",
|
|
178
|
-
"mkdirp": "0.5.
|
|
179
|
-
"yauzl": "2.
|
|
177
|
+
"version": "1.7.0",
|
|
178
|
+
"resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.7.0.tgz",
|
|
179
|
+
"integrity": "sha512-xoh5G1W/PB0/27lXgMQyIhP5DSY/LhoCsOyZgb+6iMmRtCwVBo55uKaMoEYrDCKQhWvqEip5ZPKAc6eFNyf/MA==",
|
|
180
|
+
"requires": {
|
|
181
|
+
"concat-stream": "^1.6.2",
|
|
182
|
+
"debug": "^2.6.9",
|
|
183
|
+
"mkdirp": "^0.5.4",
|
|
184
|
+
"yauzl": "^2.10.0"
|
|
180
185
|
},
|
|
181
186
|
"dependencies": {
|
|
182
187
|
"mkdirp": {
|
|
183
|
-
"version": "0.5.
|
|
184
|
-
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.
|
|
185
|
-
"integrity": "
|
|
188
|
+
"version": "0.5.5",
|
|
189
|
+
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
|
|
190
|
+
"integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
|
|
186
191
|
"requires": {
|
|
187
|
-
"minimist": "
|
|
192
|
+
"minimist": "^1.2.5"
|
|
188
193
|
}
|
|
189
194
|
}
|
|
190
195
|
}
|
|
@@ -195,9 +200,9 @@
|
|
|
195
200
|
"integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU="
|
|
196
201
|
},
|
|
197
202
|
"fast-deep-equal": {
|
|
198
|
-
"version": "3.1.
|
|
199
|
-
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.
|
|
200
|
-
"integrity": "sha512-
|
|
203
|
+
"version": "3.1.3",
|
|
204
|
+
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
|
|
205
|
+
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
|
|
201
206
|
},
|
|
202
207
|
"fast-json-stable-stringify": {
|
|
203
208
|
"version": "2.1.0",
|
|
@@ -205,9 +210,9 @@
|
|
|
205
210
|
"integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
|
|
206
211
|
},
|
|
207
212
|
"fd-slicer": {
|
|
208
|
-
"version": "1.0
|
|
209
|
-
"resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.0.
|
|
210
|
-
"integrity": "sha1-
|
|
213
|
+
"version": "1.1.0",
|
|
214
|
+
"resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
|
|
215
|
+
"integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=",
|
|
211
216
|
"requires": {
|
|
212
217
|
"pend": "~1.2.0"
|
|
213
218
|
}
|
|
@@ -264,9 +269,9 @@
|
|
|
264
269
|
}
|
|
265
270
|
},
|
|
266
271
|
"graceful-fs": {
|
|
267
|
-
"version": "4.2.
|
|
268
|
-
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.
|
|
269
|
-
"integrity": "sha512-
|
|
272
|
+
"version": "4.2.6",
|
|
273
|
+
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz",
|
|
274
|
+
"integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ=="
|
|
270
275
|
},
|
|
271
276
|
"har-schema": {
|
|
272
277
|
"version": "2.0.0",
|
|
@@ -274,11 +279,11 @@
|
|
|
274
279
|
"integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI="
|
|
275
280
|
},
|
|
276
281
|
"har-validator": {
|
|
277
|
-
"version": "5.1.
|
|
278
|
-
"resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.
|
|
279
|
-
"integrity": "sha512-
|
|
282
|
+
"version": "5.1.5",
|
|
283
|
+
"resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz",
|
|
284
|
+
"integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==",
|
|
280
285
|
"requires": {
|
|
281
|
-
"ajv": "^6.
|
|
286
|
+
"ajv": "^6.12.3",
|
|
282
287
|
"har-schema": "^2.0.0"
|
|
283
288
|
}
|
|
284
289
|
},
|
|
@@ -292,17 +297,18 @@
|
|
|
292
297
|
}
|
|
293
298
|
},
|
|
294
299
|
"html-snapshots": {
|
|
295
|
-
"version": "0.17.
|
|
296
|
-
"resolved": "
|
|
300
|
+
"version": "0.17.8",
|
|
301
|
+
"resolved": "https://registry.npmjs.org/html-snapshots/-/html-snapshots-0.17.8.tgz",
|
|
302
|
+
"integrity": "sha512-/Z3xdzn+Y+6YV15JGxwLh+10xgNQEu7LgrPAt0HAaxqbHM5i6d6QCse4ous94OOiIUJi7EYmlIz4OopnLpOMwg==",
|
|
297
303
|
"requires": {
|
|
298
|
-
"async": "3.
|
|
299
|
-
"async-lock": "1.2.
|
|
304
|
+
"async": "3.2.0",
|
|
305
|
+
"async-lock": "1.2.8",
|
|
300
306
|
"combine-errors": "3.0.3",
|
|
301
|
-
"lodash": "^4.17.
|
|
302
|
-
"mkdirp": "^1.0.
|
|
307
|
+
"lodash": "^4.17.20",
|
|
308
|
+
"mkdirp": "^1.0.4",
|
|
303
309
|
"phantomjs-prebuilt": "2.1.16",
|
|
304
|
-
"request": "^2.88.
|
|
305
|
-
"rimraf": "^3.0.
|
|
310
|
+
"request": "^2.88.2",
|
|
311
|
+
"rimraf": "^3.0.2",
|
|
306
312
|
"xml2js": "~0.4.23"
|
|
307
313
|
}
|
|
308
314
|
},
|
|
@@ -408,9 +414,9 @@
|
|
|
408
414
|
}
|
|
409
415
|
},
|
|
410
416
|
"lodash": {
|
|
411
|
-
"version": "4.17.
|
|
412
|
-
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.
|
|
413
|
-
"integrity": "sha512-
|
|
417
|
+
"version": "4.17.21",
|
|
418
|
+
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
|
|
419
|
+
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
|
|
414
420
|
},
|
|
415
421
|
"lodash._baseiteratee": {
|
|
416
422
|
"version": "4.7.0",
|
|
@@ -462,16 +468,16 @@
|
|
|
462
468
|
}
|
|
463
469
|
},
|
|
464
470
|
"mime-db": {
|
|
465
|
-
"version": "1.
|
|
466
|
-
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.
|
|
467
|
-
"integrity": "sha512
|
|
471
|
+
"version": "1.45.0",
|
|
472
|
+
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.45.0.tgz",
|
|
473
|
+
"integrity": "sha512-CkqLUxUk15hofLoLyljJSrukZi8mAtgd+yE5uO4tqRZsdsAJKv0O+rFMhVDRJgozy+yG6md5KwuXhD4ocIoP+w=="
|
|
468
474
|
},
|
|
469
475
|
"mime-types": {
|
|
470
|
-
"version": "2.1.
|
|
471
|
-
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.
|
|
472
|
-
"integrity": "sha512-
|
|
476
|
+
"version": "2.1.28",
|
|
477
|
+
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.28.tgz",
|
|
478
|
+
"integrity": "sha512-0TO2yJ5YHYr7M2zzT7gDU1tbwHxEUWBCLt0lscSNpcdAfFyJOVEpRYNS7EXVcTLNj/25QO8gulHC5JtTzSE2UQ==",
|
|
473
479
|
"requires": {
|
|
474
|
-
"mime-db": "1.
|
|
480
|
+
"mime-db": "1.45.0"
|
|
475
481
|
}
|
|
476
482
|
},
|
|
477
483
|
"minimatch": {
|
|
@@ -483,14 +489,14 @@
|
|
|
483
489
|
}
|
|
484
490
|
},
|
|
485
491
|
"minimist": {
|
|
486
|
-
"version": "
|
|
487
|
-
"resolved": "https://registry.npmjs.org/minimist/-/minimist-
|
|
488
|
-
"integrity": "
|
|
492
|
+
"version": "1.2.6",
|
|
493
|
+
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz",
|
|
494
|
+
"integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q=="
|
|
489
495
|
},
|
|
490
496
|
"mkdirp": {
|
|
491
|
-
"version": "1.0.
|
|
492
|
-
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.
|
|
493
|
-
"integrity": "sha512-
|
|
497
|
+
"version": "1.0.4",
|
|
498
|
+
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
|
|
499
|
+
"integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw=="
|
|
494
500
|
},
|
|
495
501
|
"ms": {
|
|
496
502
|
"version": "2.0.0",
|
|
@@ -565,9 +571,9 @@
|
|
|
565
571
|
"integrity": "sha1-4mDHj2Fhzdmw5WzD4Khd4Xx6V74="
|
|
566
572
|
},
|
|
567
573
|
"psl": {
|
|
568
|
-
"version": "1.
|
|
569
|
-
"resolved": "https://registry.npmjs.org/psl/-/psl-1.
|
|
570
|
-
"integrity": "sha512-
|
|
574
|
+
"version": "1.8.0",
|
|
575
|
+
"resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz",
|
|
576
|
+
"integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ=="
|
|
571
577
|
},
|
|
572
578
|
"punycode": {
|
|
573
579
|
"version": "2.1.1",
|
|
@@ -594,9 +600,9 @@
|
|
|
594
600
|
}
|
|
595
601
|
},
|
|
596
602
|
"request": {
|
|
597
|
-
"version": "2.88.
|
|
598
|
-
"resolved": "https://registry.npmjs.org/request/-/request-2.88.
|
|
599
|
-
"integrity": "sha512-
|
|
603
|
+
"version": "2.88.2",
|
|
604
|
+
"resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz",
|
|
605
|
+
"integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==",
|
|
600
606
|
"requires": {
|
|
601
607
|
"aws-sign2": "~0.7.0",
|
|
602
608
|
"aws4": "^1.8.0",
|
|
@@ -605,7 +611,7 @@
|
|
|
605
611
|
"extend": "~3.0.2",
|
|
606
612
|
"forever-agent": "~0.6.1",
|
|
607
613
|
"form-data": "~2.3.2",
|
|
608
|
-
"har-validator": "~5.1.
|
|
614
|
+
"har-validator": "~5.1.3",
|
|
609
615
|
"http-signature": "~1.2.0",
|
|
610
616
|
"is-typedarray": "~1.0.0",
|
|
611
617
|
"isstream": "~0.1.2",
|
|
@@ -615,7 +621,7 @@
|
|
|
615
621
|
"performance-now": "^2.1.0",
|
|
616
622
|
"qs": "~6.5.2",
|
|
617
623
|
"safe-buffer": "^5.1.2",
|
|
618
|
-
"tough-cookie": "~2.
|
|
624
|
+
"tough-cookie": "~2.5.0",
|
|
619
625
|
"tunnel-agent": "^0.6.0",
|
|
620
626
|
"uuid": "^3.3.2"
|
|
621
627
|
}
|
|
@@ -629,9 +635,9 @@
|
|
|
629
635
|
}
|
|
630
636
|
},
|
|
631
637
|
"rimraf": {
|
|
632
|
-
"version": "3.0.
|
|
633
|
-
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.
|
|
634
|
-
"integrity": "sha512-
|
|
638
|
+
"version": "3.0.2",
|
|
639
|
+
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
|
|
640
|
+
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
|
|
635
641
|
"requires": {
|
|
636
642
|
"glob": "^7.1.3"
|
|
637
643
|
}
|
|
@@ -681,19 +687,12 @@
|
|
|
681
687
|
"integrity": "sha1-nnhYNtr0Z0MUWlmEtiaNgoUorGw="
|
|
682
688
|
},
|
|
683
689
|
"tough-cookie": {
|
|
684
|
-
"version": "2.
|
|
685
|
-
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.
|
|
686
|
-
"integrity": "sha512-
|
|
690
|
+
"version": "2.5.0",
|
|
691
|
+
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz",
|
|
692
|
+
"integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==",
|
|
687
693
|
"requires": {
|
|
688
|
-
"psl": "^1.1.
|
|
689
|
-
"punycode": "^1.
|
|
690
|
-
},
|
|
691
|
-
"dependencies": {
|
|
692
|
-
"punycode": {
|
|
693
|
-
"version": "1.4.1",
|
|
694
|
-
"resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
|
|
695
|
-
"integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4="
|
|
696
|
-
}
|
|
694
|
+
"psl": "^1.1.28",
|
|
695
|
+
"punycode": "^2.1.1"
|
|
697
696
|
}
|
|
698
697
|
},
|
|
699
698
|
"tunnel-agent": {
|
|
@@ -715,9 +714,9 @@
|
|
|
715
714
|
"integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c="
|
|
716
715
|
},
|
|
717
716
|
"uri-js": {
|
|
718
|
-
"version": "4.
|
|
719
|
-
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.
|
|
720
|
-
"integrity": "sha512-
|
|
717
|
+
"version": "4.4.1",
|
|
718
|
+
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
|
|
719
|
+
"integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
|
|
721
720
|
"requires": {
|
|
722
721
|
"punycode": "^2.1.0"
|
|
723
722
|
}
|
|
@@ -770,11 +769,12 @@
|
|
|
770
769
|
"integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA=="
|
|
771
770
|
},
|
|
772
771
|
"yauzl": {
|
|
773
|
-
"version": "2.
|
|
774
|
-
"resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.
|
|
775
|
-
"integrity": "sha1-
|
|
772
|
+
"version": "2.10.0",
|
|
773
|
+
"resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",
|
|
774
|
+
"integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=",
|
|
776
775
|
"requires": {
|
|
777
|
-
"
|
|
776
|
+
"buffer-crc32": "~0.2.3",
|
|
777
|
+
"fd-slicer": "~1.1.0"
|
|
778
778
|
}
|
|
779
779
|
}
|
|
780
780
|
}
|
package/examples/utils/index.js
CHANGED
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw=="
|
|
35
35
|
},
|
|
36
36
|
"async-lock": {
|
|
37
|
-
"version": "1.2.
|
|
38
|
-
"resolved": "https://registry.npmjs.org/async-lock/-/async-lock-1.2.
|
|
39
|
-
"integrity": "sha512-
|
|
37
|
+
"version": "1.2.8",
|
|
38
|
+
"resolved": "https://registry.npmjs.org/async-lock/-/async-lock-1.2.8.tgz",
|
|
39
|
+
"integrity": "sha512-G+26B2jc0Gw0EG/WN2M6IczuGepBsfR1+DtqLnyFSH4p2C668qkOCtEkGNVEaaNAVlYwEMazy1+/jnLxltBkIQ=="
|
|
40
40
|
},
|
|
41
41
|
"asynckit": {
|
|
42
42
|
"version": "0.4.0",
|
|
@@ -297,18 +297,18 @@
|
|
|
297
297
|
}
|
|
298
298
|
},
|
|
299
299
|
"html-snapshots": {
|
|
300
|
-
"version": "0.17.
|
|
301
|
-
"resolved": "https://registry.npmjs.org/html-snapshots/-/html-snapshots-0.17.
|
|
302
|
-
"integrity": "sha512
|
|
300
|
+
"version": "0.17.8",
|
|
301
|
+
"resolved": "https://registry.npmjs.org/html-snapshots/-/html-snapshots-0.17.8.tgz",
|
|
302
|
+
"integrity": "sha512-/Z3xdzn+Y+6YV15JGxwLh+10xgNQEu7LgrPAt0HAaxqbHM5i6d6QCse4ous94OOiIUJi7EYmlIz4OopnLpOMwg==",
|
|
303
303
|
"requires": {
|
|
304
304
|
"async": "3.2.0",
|
|
305
|
-
"async-lock": "1.2.
|
|
305
|
+
"async-lock": "1.2.8",
|
|
306
306
|
"combine-errors": "3.0.3",
|
|
307
|
-
"lodash": "^4.17.
|
|
308
|
-
"mkdirp": "^1.0.
|
|
307
|
+
"lodash": "^4.17.20",
|
|
308
|
+
"mkdirp": "^1.0.4",
|
|
309
309
|
"phantomjs-prebuilt": "2.1.16",
|
|
310
|
-
"request": "^2.88.
|
|
311
|
-
"rimraf": "^3.0.
|
|
310
|
+
"request": "^2.88.2",
|
|
311
|
+
"rimraf": "^3.0.2",
|
|
312
312
|
"xml2js": "~0.4.23"
|
|
313
313
|
}
|
|
314
314
|
},
|
|
@@ -414,9 +414,9 @@
|
|
|
414
414
|
}
|
|
415
415
|
},
|
|
416
416
|
"lodash": {
|
|
417
|
-
"version": "4.17.
|
|
418
|
-
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.
|
|
419
|
-
"integrity": "sha512-
|
|
417
|
+
"version": "4.17.21",
|
|
418
|
+
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
|
|
419
|
+
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
|
|
420
420
|
},
|
|
421
421
|
"lodash._baseiteratee": {
|
|
422
422
|
"version": "4.7.0",
|
|
@@ -468,16 +468,16 @@
|
|
|
468
468
|
}
|
|
469
469
|
},
|
|
470
470
|
"mime-db": {
|
|
471
|
-
"version": "1.
|
|
472
|
-
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.
|
|
473
|
-
"integrity": "sha512-
|
|
471
|
+
"version": "1.46.0",
|
|
472
|
+
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.46.0.tgz",
|
|
473
|
+
"integrity": "sha512-svXaP8UQRZ5K7or+ZmfNhg2xX3yKDMUzqadsSqi4NCH/KomcH75MAMYAGVlvXn4+b/xOPhS3I2uHKRUzvjY7BQ=="
|
|
474
474
|
},
|
|
475
475
|
"mime-types": {
|
|
476
|
-
"version": "2.1.
|
|
477
|
-
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.
|
|
478
|
-
"integrity": "sha512-
|
|
476
|
+
"version": "2.1.29",
|
|
477
|
+
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.29.tgz",
|
|
478
|
+
"integrity": "sha512-Y/jMt/S5sR9OaqteJtslsFZKWOIIqMACsJSiHghlCAyhf7jfVYjKBmLiX8OgpWeW+fjJ2b+Az69aPFPkUOY6xQ==",
|
|
479
479
|
"requires": {
|
|
480
|
-
"mime-db": "1.
|
|
480
|
+
"mime-db": "1.46.0"
|
|
481
481
|
}
|
|
482
482
|
},
|
|
483
483
|
"minimatch": {
|
|
@@ -489,9 +489,9 @@
|
|
|
489
489
|
}
|
|
490
490
|
},
|
|
491
491
|
"minimist": {
|
|
492
|
-
"version": "1.2.
|
|
493
|
-
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.
|
|
494
|
-
"integrity": "sha512-
|
|
492
|
+
"version": "1.2.6",
|
|
493
|
+
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz",
|
|
494
|
+
"integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q=="
|
|
495
495
|
},
|
|
496
496
|
"mkdirp": {
|
|
497
497
|
"version": "1.0.4",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Snapshot an example website.
|
|
3
|
-
* Copyright (c) 2013 -
|
|
3
|
+
* Copyright (c) 2013 - 2022, Alex Grant, LocalNerve, contributors
|
|
4
4
|
*
|
|
5
5
|
* Use sitemap.xml to snapshot an entire site.
|
|
6
6
|
* Use the verbose option to debug the loading of one of the pages.
|
package/lib/async/exists.js
CHANGED
|
@@ -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 -
|
|
8
|
+
* Copyright (c) 2013 - 2022, Alex Grant, LocalNerve, contributors
|
|
9
9
|
* Licensed under the MIT license.
|
|
10
10
|
*/
|
|
11
11
|
|
package/lib/async/index.js
CHANGED
package/lib/common/index.js
CHANGED
package/lib/common/node.js
CHANGED
package/lib/common/sitemap.js
CHANGED
|
@@ -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 -
|
|
7
|
+
* Copyright (c) 2013 - 2022 Alex Grant, LocalNerve, contributors
|
|
8
8
|
* Licensed under the MIT license.
|
|
9
9
|
*/
|
|
10
10
|
|
package/lib/html-snapshots.js
CHANGED
|
@@ -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 -
|
|
9
|
+
* Copyright (c) 2013 - 2022 Alex Grant, LocalNerve, contributors
|
|
10
10
|
* Licensed under the MIT license.
|
|
11
11
|
*/
|
|
12
12
|
/* global Promise */
|
|
@@ -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 -
|
|
7
|
+
* Copyright (c) 2013 - 2022 Alex Grant, LocalNerve, contributors
|
|
8
8
|
* Licensed under the MIT license.
|
|
9
9
|
*/
|
|
10
10
|
/* global Promise */
|
|
@@ -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 -
|
|
7
|
+
* Copyright (c) 2013 - 2022 Alex Grant, LocalNerve, contributors
|
|
8
8
|
* Licensed under the MIT license.
|
|
9
9
|
*/
|
|
10
10
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Does not support wildcards.
|
|
7
7
|
* If you need wildcards, use the sitemap input generator.
|
|
8
8
|
*
|
|
9
|
-
* Copyright (c) 2013 -
|
|
9
|
+
* Copyright (c) 2013 - 2022 Alex Grant, LocalNerve, contributors
|
|
10
10
|
* Licensed under the MIT license.
|
|
11
11
|
*/
|
|
12
12
|
|
|
@@ -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 -
|
|
7
|
+
* Copyright (c) 2013 - 2022 Alex Grant, LocalNerve, contributors
|
|
8
8
|
* Licensed under the MIT license.
|
|
9
9
|
*/
|
|
10
10
|
/* global Promise */
|
|
@@ -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 -
|
|
7
|
+
* Copyright (c) 2013 - 2022 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 -
|
|
7
|
+
* Copyright (c) 2013 - 2022 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 -
|
|
10
|
+
* Copyright (c) 2013 - 2022 Alex Grant, LocalNerve, contributors
|
|
11
11
|
* Licensed under the MIT license.
|
|
12
12
|
*/
|
|
13
13
|
var selectorDetect = require("./modules/selectorDetect");
|
package/lib/phantom/default.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This is a phantomJS script that runs in phantomjs.
|
|
8
8
|
*
|
|
9
|
-
* Copyright (c) 2013 -
|
|
9
|
+
* Copyright (c) 2013 - 2022 Alex Grant, LocalNerve, contributors
|
|
10
10
|
* Licensed under the MIT license.
|
|
11
11
|
*/
|
|
12
12
|
var selectorDetect = require("./modules/selectorDetect");
|