Dhalang 0.6.3 → 0.6.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: affc5a7a677cade8adf37073ab71155ad812fdb0765c947c560ecb8de50dafc3
4
- data.tar.gz: 72a7122ea73080759aef9d5ccd375167da9efffee1836f92df990c7046df08d7
3
+ metadata.gz: 70f9719f301ba33dc769df19417b0b597adc574a9c7df54ed710f4f23d19e2a0
4
+ data.tar.gz: d7d6b46261a0dc227e9fb26cc79a8c7377c9148d464c2ab8e3e383d2f7115c7a
5
5
  SHA512:
6
- metadata.gz: a007aa999b92d55b8d10bf6e0683d9f5ddf833f5a3f26914abfbdda562a25bb197ba29595f4d55edbcd9c11ea15eb0a2c57da8bb5595e38f521e5a465c13aa24
7
- data.tar.gz: 2bdf23451af29feaa0ba70b78c7af7ca603bc02db2dfffcbbd815dd766b4fc99972328a7cf2d6b15dad23dadfc51aa8f3ea10713652ed087df4fa46890211f3e
6
+ metadata.gz: 69b4cede399f0200064ec2ed56df24e42826f7b112d67d3026ba04f40139d02a72ff62bc407be94d10116adffc701ff8977a253e9ac56783402c3220d5d9989d
7
+ data.tar.gz: ea4f6c687f7fa8ab3951883ae8cbec53f0a23a71c118c3f742605e3ca4dad9b398c2d718c776718cf89ab43fb331cebe2442d7db9e1ee0f5cf9e25815567120d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- Dhalang (0.6.2)
4
+ Dhalang (0.6.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -35,6 +35,7 @@ GEM
35
35
  ttfunk (1.7.0)
36
36
 
37
37
  PLATFORMS
38
+ arm64-darwin-21
38
39
  x86-mingw32
39
40
 
40
41
  DEPENDENCIES
data/README.md CHANGED
@@ -87,6 +87,7 @@ Below table lists all possible configuration parameters that can be set:
87
87
  | Key | Description | Default |
88
88
  |--------------------|-----------------------------------------------------------------------------------------|---------------------------------|
89
89
  | navigationTimeout | Amount of milliseconds until Puppeteer while timeout when navigating to the given page | 10000 |
90
+ | printToPDFTimeout | Amount of milliseconds until Puppeteer while timeout when calling Page.printToPDF | 0 (unlimited) |
90
91
  | navigationWaitForSelector | If set, Dhalang will wait for the specified selector to appear before creating the screenshot or PDF | None |
91
92
  | navigationWaitForXPath | If set, Dhalang will wait for the specified XPath to appear before creating the screenshot or PDF | None |
92
93
  | userAgent | User agent to send with the request | Default Puppeteer one |
@@ -5,16 +5,17 @@ module Dhalang
5
5
  private_constant :NODE_MODULES_PATH
6
6
 
7
7
  USER_OPTIONS = {
8
- navigationTimeout: 10000,
9
- navigationWaitUntil: 'load',
10
- navigationWaitForSelector: '',
11
- navigationWaitForXPath: '',
12
- userAgent: '',
13
- isHeadless: true,
14
- viewPort: '',
15
- httpAuthenticationCredentials: '',
16
- isAutoHeight: false,
17
- chromeOptions: []
8
+ navigationTimeout: 10000,
9
+ printToPDFTimeout: 0, # unlimited
10
+ navigationWaitUntil: 'load',
11
+ navigationWaitForSelector: '',
12
+ navigationWaitForXPath: '',
13
+ userAgent: '',
14
+ isHeadless: true,
15
+ viewPort: '',
16
+ httpAuthenticationCredentials: '',
17
+ isAutoHeight: false,
18
+ chromeOptions: []
18
19
  }
19
20
  private_constant :USER_OPTIONS
20
21
 
@@ -1,3 +1,3 @@
1
1
  module Dhalang
2
- VERSION = "0.6.3"
2
+ VERSION = "0.6.4"
3
3
  end
data/lib/js/dhalang.js CHANGED
@@ -116,6 +116,7 @@ exports.getConfiguredPdfOptions = async function (page, configuration) {
116
116
  // ignoring file related errors
117
117
  }
118
118
  }
119
+
119
120
  if (pdfOptions['footerTemplateFile'] !== '') {
120
121
  try {
121
122
  pdfOptions['footerTemplate'] = fs.readFileSync(pdfOptions['footerTemplateFile'], 'utf8')
@@ -133,6 +134,8 @@ exports.getConfiguredPdfOptions = async function (page, configuration) {
133
134
  }
134
135
  }
135
136
 
137
+ pdfOptions['timeout'] = configuration.userOptions.printToPDFTimeout
138
+
136
139
  return pdfOptions
137
140
  }
138
141
 
data/package-lock.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "dhalang",
3
- "version": "0.6.1",
3
+ "version": "0.6.4",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "dhalang",
9
- "version": "0.6.1",
9
+ "version": "0.6.4",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "puppeteer": "^9.0.0"
12
+ "puppeteer": "^13.3.2"
13
13
  }
14
14
  },
15
15
  "node_modules/@types/node": {
@@ -49,9 +49,9 @@
49
49
  "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g=="
50
50
  },
51
51
  "node_modules/bl": {
52
- "version": "4.0.3",
53
- "resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz",
54
- "integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==",
52
+ "version": "4.1.0",
53
+ "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
54
+ "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
55
55
  "dependencies": {
56
56
  "buffer": "^5.5.0",
57
57
  "inherits": "^2.0.4",
@@ -94,21 +94,34 @@
94
94
  "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
95
95
  "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
96
96
  },
97
+ "node_modules/cross-fetch": {
98
+ "version": "3.1.5",
99
+ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.5.tgz",
100
+ "integrity": "sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==",
101
+ "dependencies": {
102
+ "node-fetch": "2.6.7"
103
+ }
104
+ },
97
105
  "node_modules/debug": {
98
- "version": "4.2.0",
99
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz",
100
- "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==",
106
+ "version": "4.3.3",
107
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz",
108
+ "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==",
101
109
  "dependencies": {
102
110
  "ms": "2.1.2"
103
111
  },
104
112
  "engines": {
105
113
  "node": ">=6.0"
114
+ },
115
+ "peerDependenciesMeta": {
116
+ "supports-color": {
117
+ "optional": true
118
+ }
106
119
  }
107
120
  },
108
121
  "node_modules/devtools-protocol": {
109
- "version": "0.0.869402",
110
- "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.869402.tgz",
111
- "integrity": "sha512-VvlVYY+VDJe639yHs5PHISzdWTLL3Aw8rO4cvUtwvoxFd6FHbE4OpHHcde52M6096uYYazAmd4l0o5VuFRO2WA=="
122
+ "version": "0.0.960912",
123
+ "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.960912.tgz",
124
+ "integrity": "sha512-I3hWmV9rWHbdnUdmMKHF2NuYutIM2kXz2mdXW8ha7TbRlGTVs+PF+PsB5QWvpCek4Fy9B+msiispCfwlhG5Sqg=="
112
125
  },
113
126
  "node_modules/end-of-stream": {
114
127
  "version": "1.4.4",
@@ -123,7 +136,6 @@
123
136
  "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz",
124
137
  "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==",
125
138
  "dependencies": {
126
- "@types/yauzl": "^2.9.1",
127
139
  "debug": "^4.1.1",
128
140
  "get-stream": "^5.1.0",
129
141
  "yauzl": "^2.10.0"
@@ -259,11 +271,22 @@
259
271
  "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
260
272
  },
261
273
  "node_modules/node-fetch": {
262
- "version": "2.6.1",
263
- "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
264
- "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
274
+ "version": "2.6.7",
275
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
276
+ "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",
277
+ "dependencies": {
278
+ "whatwg-url": "^5.0.0"
279
+ },
265
280
  "engines": {
266
281
  "node": "4.x || >=6.0.0"
282
+ },
283
+ "peerDependencies": {
284
+ "encoding": "^0.1.0"
285
+ },
286
+ "peerDependenciesMeta": {
287
+ "encoding": {
288
+ "optional": true
289
+ }
267
290
  }
268
291
  },
269
292
  "node_modules/once": {
@@ -359,23 +382,23 @@
359
382
  }
360
383
  },
361
384
  "node_modules/puppeteer": {
362
- "version": "9.0.0",
363
- "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-9.0.0.tgz",
364
- "integrity": "sha512-Avu8SKWQRC1JKNMgfpH7d4KzzHOL/A65jRYrjNU46hxnOYGwqe4zZp/JW8qulaH0Pnbm5qyO3EbSKvqBUlfvkg==",
385
+ "version": "13.3.2",
386
+ "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-13.3.2.tgz",
387
+ "integrity": "sha512-TIt8/R0eaUwY1c0/O0sCJpSglvGEWVoWFfGZ2dNtxX3eHuBo1ln9abaWfxTjZfsrkYATLSs8oqEdRZpMNnCsvg==",
365
388
  "hasInstallScript": true,
366
389
  "dependencies": {
367
- "debug": "^4.1.0",
368
- "devtools-protocol": "0.0.869402",
369
- "extract-zip": "^2.0.0",
370
- "https-proxy-agent": "^5.0.0",
371
- "node-fetch": "^2.6.1",
372
- "pkg-dir": "^4.2.0",
373
- "progress": "^2.0.1",
374
- "proxy-from-env": "^1.1.0",
375
- "rimraf": "^3.0.2",
376
- "tar-fs": "^2.0.0",
377
- "unbzip2-stream": "^1.3.3",
378
- "ws": "^7.2.3"
390
+ "cross-fetch": "3.1.5",
391
+ "debug": "4.3.3",
392
+ "devtools-protocol": "0.0.960912",
393
+ "extract-zip": "2.0.1",
394
+ "https-proxy-agent": "5.0.0",
395
+ "pkg-dir": "4.2.0",
396
+ "progress": "2.0.3",
397
+ "proxy-from-env": "1.1.0",
398
+ "rimraf": "3.0.2",
399
+ "tar-fs": "2.1.1",
400
+ "unbzip2-stream": "1.4.3",
401
+ "ws": "8.5.0"
379
402
  },
380
403
  "engines": {
381
404
  "node": ">=10.18.1"
@@ -408,7 +431,21 @@
408
431
  "node_modules/safe-buffer": {
409
432
  "version": "5.2.1",
410
433
  "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
411
- "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
434
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
435
+ "funding": [
436
+ {
437
+ "type": "github",
438
+ "url": "https://github.com/sponsors/feross"
439
+ },
440
+ {
441
+ "type": "patreon",
442
+ "url": "https://www.patreon.com/feross"
443
+ },
444
+ {
445
+ "type": "consulting",
446
+ "url": "https://feross.org/support"
447
+ }
448
+ ]
412
449
  },
413
450
  "node_modules/string_decoder": {
414
451
  "version": "1.3.0",
@@ -419,20 +456,20 @@
419
456
  }
420
457
  },
421
458
  "node_modules/tar-fs": {
422
- "version": "2.1.0",
423
- "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.0.tgz",
424
- "integrity": "sha512-9uW5iDvrIMCVpvasdFHW0wJPez0K4JnMZtsuIeDI7HyMGJNxmDZDOCQROr7lXyS+iL/QMpj07qcjGYTSdRFXUg==",
459
+ "version": "2.1.1",
460
+ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz",
461
+ "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==",
425
462
  "dependencies": {
426
463
  "chownr": "^1.1.1",
427
464
  "mkdirp-classic": "^0.5.2",
428
465
  "pump": "^3.0.0",
429
- "tar-stream": "^2.0.0"
466
+ "tar-stream": "^2.1.4"
430
467
  }
431
468
  },
432
469
  "node_modules/tar-stream": {
433
- "version": "2.1.4",
434
- "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.1.4.tgz",
435
- "integrity": "sha512-o3pS2zlG4gxr67GmFYBLlq+dM8gyRGUOvsrHclSkvtVtQbjV0s/+ZE8OpICbaj8clrX3tjeHngYGP7rweaBnuw==",
470
+ "version": "2.2.0",
471
+ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",
472
+ "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",
436
473
  "dependencies": {
437
474
  "bl": "^4.0.3",
438
475
  "end-of-stream": "^1.4.1",
@@ -449,6 +486,11 @@
449
486
  "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
450
487
  "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU="
451
488
  },
489
+ "node_modules/tr46": {
490
+ "version": "0.0.3",
491
+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
492
+ "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o="
493
+ },
452
494
  "node_modules/unbzip2-stream": {
453
495
  "version": "1.4.3",
454
496
  "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz",
@@ -463,17 +505,43 @@
463
505
  "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
464
506
  "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
465
507
  },
508
+ "node_modules/webidl-conversions": {
509
+ "version": "3.0.1",
510
+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
511
+ "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE="
512
+ },
513
+ "node_modules/whatwg-url": {
514
+ "version": "5.0.0",
515
+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
516
+ "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=",
517
+ "dependencies": {
518
+ "tr46": "~0.0.3",
519
+ "webidl-conversions": "^3.0.0"
520
+ }
521
+ },
466
522
  "node_modules/wrappy": {
467
523
  "version": "1.0.2",
468
524
  "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
469
525
  "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
470
526
  },
471
527
  "node_modules/ws": {
472
- "version": "7.3.1",
473
- "resolved": "https://registry.npmjs.org/ws/-/ws-7.3.1.tgz",
474
- "integrity": "sha512-D3RuNkynyHmEJIpD2qrgVkc9DQ23OrN/moAwZX4L8DfvszsJxpjQuUq3LMx6HoYji9fbIOBY18XWBsAux1ZZUA==",
528
+ "version": "8.5.0",
529
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz",
530
+ "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==",
475
531
  "engines": {
476
- "node": ">=8.3.0"
532
+ "node": ">=10.0.0"
533
+ },
534
+ "peerDependencies": {
535
+ "bufferutil": "^4.0.1",
536
+ "utf-8-validate": "^5.0.2"
537
+ },
538
+ "peerDependenciesMeta": {
539
+ "bufferutil": {
540
+ "optional": true
541
+ },
542
+ "utf-8-validate": {
543
+ "optional": true
544
+ }
477
545
  }
478
546
  },
479
547
  "node_modules/yauzl": {
@@ -521,9 +589,9 @@
521
589
  "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g=="
522
590
  },
523
591
  "bl": {
524
- "version": "4.0.3",
525
- "resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz",
526
- "integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==",
592
+ "version": "4.1.0",
593
+ "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
594
+ "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
527
595
  "requires": {
528
596
  "buffer": "^5.5.0",
529
597
  "inherits": "^2.0.4",
@@ -563,18 +631,26 @@
563
631
  "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
564
632
  "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
565
633
  },
634
+ "cross-fetch": {
635
+ "version": "3.1.5",
636
+ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.5.tgz",
637
+ "integrity": "sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==",
638
+ "requires": {
639
+ "node-fetch": "2.6.7"
640
+ }
641
+ },
566
642
  "debug": {
567
- "version": "4.2.0",
568
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz",
569
- "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==",
643
+ "version": "4.3.3",
644
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz",
645
+ "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==",
570
646
  "requires": {
571
647
  "ms": "2.1.2"
572
648
  }
573
649
  },
574
650
  "devtools-protocol": {
575
- "version": "0.0.869402",
576
- "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.869402.tgz",
577
- "integrity": "sha512-VvlVYY+VDJe639yHs5PHISzdWTLL3Aw8rO4cvUtwvoxFd6FHbE4OpHHcde52M6096uYYazAmd4l0o5VuFRO2WA=="
651
+ "version": "0.0.960912",
652
+ "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.960912.tgz",
653
+ "integrity": "sha512-I3hWmV9rWHbdnUdmMKHF2NuYutIM2kXz2mdXW8ha7TbRlGTVs+PF+PsB5QWvpCek4Fy9B+msiispCfwlhG5Sqg=="
578
654
  },
579
655
  "end-of-stream": {
580
656
  "version": "1.4.4",
@@ -698,9 +774,12 @@
698
774
  "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
699
775
  },
700
776
  "node-fetch": {
701
- "version": "2.6.1",
702
- "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
703
- "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
777
+ "version": "2.6.7",
778
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
779
+ "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",
780
+ "requires": {
781
+ "whatwg-url": "^5.0.0"
782
+ }
704
783
  },
705
784
  "once": {
706
785
  "version": "1.4.0",
@@ -774,22 +853,22 @@
774
853
  }
775
854
  },
776
855
  "puppeteer": {
777
- "version": "9.0.0",
778
- "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-9.0.0.tgz",
779
- "integrity": "sha512-Avu8SKWQRC1JKNMgfpH7d4KzzHOL/A65jRYrjNU46hxnOYGwqe4zZp/JW8qulaH0Pnbm5qyO3EbSKvqBUlfvkg==",
780
- "requires": {
781
- "debug": "^4.1.0",
782
- "devtools-protocol": "0.0.869402",
783
- "extract-zip": "^2.0.0",
784
- "https-proxy-agent": "^5.0.0",
785
- "node-fetch": "^2.6.1",
786
- "pkg-dir": "^4.2.0",
787
- "progress": "^2.0.1",
788
- "proxy-from-env": "^1.1.0",
789
- "rimraf": "^3.0.2",
790
- "tar-fs": "^2.0.0",
791
- "unbzip2-stream": "^1.3.3",
792
- "ws": "^7.2.3"
856
+ "version": "13.3.2",
857
+ "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-13.3.2.tgz",
858
+ "integrity": "sha512-TIt8/R0eaUwY1c0/O0sCJpSglvGEWVoWFfGZ2dNtxX3eHuBo1ln9abaWfxTjZfsrkYATLSs8oqEdRZpMNnCsvg==",
859
+ "requires": {
860
+ "cross-fetch": "3.1.5",
861
+ "debug": "4.3.3",
862
+ "devtools-protocol": "0.0.960912",
863
+ "extract-zip": "2.0.1",
864
+ "https-proxy-agent": "5.0.0",
865
+ "pkg-dir": "4.2.0",
866
+ "progress": "2.0.3",
867
+ "proxy-from-env": "1.1.0",
868
+ "rimraf": "3.0.2",
869
+ "tar-fs": "2.1.1",
870
+ "unbzip2-stream": "1.4.3",
871
+ "ws": "8.5.0"
793
872
  }
794
873
  },
795
874
  "readable-stream": {
@@ -824,20 +903,20 @@
824
903
  }
825
904
  },
826
905
  "tar-fs": {
827
- "version": "2.1.0",
828
- "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.0.tgz",
829
- "integrity": "sha512-9uW5iDvrIMCVpvasdFHW0wJPez0K4JnMZtsuIeDI7HyMGJNxmDZDOCQROr7lXyS+iL/QMpj07qcjGYTSdRFXUg==",
906
+ "version": "2.1.1",
907
+ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz",
908
+ "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==",
830
909
  "requires": {
831
910
  "chownr": "^1.1.1",
832
911
  "mkdirp-classic": "^0.5.2",
833
912
  "pump": "^3.0.0",
834
- "tar-stream": "^2.0.0"
913
+ "tar-stream": "^2.1.4"
835
914
  }
836
915
  },
837
916
  "tar-stream": {
838
- "version": "2.1.4",
839
- "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.1.4.tgz",
840
- "integrity": "sha512-o3pS2zlG4gxr67GmFYBLlq+dM8gyRGUOvsrHclSkvtVtQbjV0s/+ZE8OpICbaj8clrX3tjeHngYGP7rweaBnuw==",
917
+ "version": "2.2.0",
918
+ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",
919
+ "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",
841
920
  "requires": {
842
921
  "bl": "^4.0.3",
843
922
  "end-of-stream": "^1.4.1",
@@ -851,6 +930,11 @@
851
930
  "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
852
931
  "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU="
853
932
  },
933
+ "tr46": {
934
+ "version": "0.0.3",
935
+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
936
+ "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o="
937
+ },
854
938
  "unbzip2-stream": {
855
939
  "version": "1.4.3",
856
940
  "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz",
@@ -865,15 +949,30 @@
865
949
  "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
866
950
  "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
867
951
  },
952
+ "webidl-conversions": {
953
+ "version": "3.0.1",
954
+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
955
+ "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE="
956
+ },
957
+ "whatwg-url": {
958
+ "version": "5.0.0",
959
+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
960
+ "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=",
961
+ "requires": {
962
+ "tr46": "~0.0.3",
963
+ "webidl-conversions": "^3.0.0"
964
+ }
965
+ },
868
966
  "wrappy": {
869
967
  "version": "1.0.2",
870
968
  "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
871
969
  "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
872
970
  },
873
971
  "ws": {
874
- "version": "7.3.1",
875
- "resolved": "https://registry.npmjs.org/ws/-/ws-7.3.1.tgz",
876
- "integrity": "sha512-D3RuNkynyHmEJIpD2qrgVkc9DQ23OrN/moAwZX4L8DfvszsJxpjQuUq3LMx6HoYji9fbIOBY18XWBsAux1ZZUA=="
972
+ "version": "8.5.0",
973
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz",
974
+ "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==",
975
+ "requires": {}
877
976
  },
878
977
  "yauzl": {
879
978
  "version": "2.10.0",
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhalang",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -20,6 +20,6 @@
20
20
  },
21
21
  "homepage": "https://github.com/NielsSteensma/Dhalang#readme",
22
22
  "dependencies": {
23
- "puppeteer": "^9.0.0"
23
+ "puppeteer": "^13.3.2"
24
24
  }
25
25
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Dhalang
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Niels Steensma
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-30 00:00:00.000000000 Z
11
+ date: 2022-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler