@browserless/goto 10.2.4 → 10.2.5
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 +8 -8
- package/src/engine.bin +0 -0
- package/src/index.js +3 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@browserless/goto",
|
|
3
3
|
"description": "Go to a page aborting unnecessary requests",
|
|
4
4
|
"homepage": "https://browserless.js.org/#/?id=gotopage-options",
|
|
5
|
-
"version": "10.2.
|
|
5
|
+
"version": "10.2.5",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"author": {
|
|
8
8
|
"email": "hello@microlink.io",
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"puppeteer"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@browserless/devices": "^10.
|
|
33
|
-
"@cliqz/adblocker-puppeteer": "~1.26.
|
|
34
|
-
"@kikobeats/time-span": "~1.0.
|
|
35
|
-
"
|
|
32
|
+
"@browserless/devices": "^10.2.5",
|
|
33
|
+
"@cliqz/adblocker-puppeteer": "~1.26.15",
|
|
34
|
+
"@kikobeats/time-span": "~1.0.3",
|
|
35
|
+
"@lukeed/ms": "~2.0.2",
|
|
36
|
+
"debug-logfmt": "~1.2.1",
|
|
36
37
|
"got": "~11.8.6",
|
|
37
|
-
"is-url-http": "~2.3.
|
|
38
|
+
"is-url-http": "~2.3.7",
|
|
38
39
|
"p-reflect": "~2.1.0",
|
|
39
40
|
"p-timeout": "~4.1.0",
|
|
40
|
-
"pretty-ms": "~7.0.1",
|
|
41
41
|
"shallow-equal": "~3.1.0",
|
|
42
42
|
"tough-cookie": "~4.1.3"
|
|
43
43
|
},
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"timeout": "2m",
|
|
63
63
|
"workerThreads": false
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "d5f5d3bba991e4a2a3f88892e596414ce7a10688",
|
|
66
66
|
"scripts": {
|
|
67
67
|
"postinstall": "node scripts/postinstall",
|
|
68
68
|
"test": "ava"
|
package/src/engine.bin
CHANGED
|
Binary file
|
package/src/index.js
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
const timeSpan = require('@kikobeats/time-span')({ format: require('pretty-ms') })
|
|
4
3
|
const { PuppeteerBlocker } = require('@cliqz/adblocker-puppeteer')
|
|
5
4
|
const { shallowEqualObjects } = require('shallow-equal')
|
|
6
5
|
const createDevices = require('@browserless/devices')
|
|
7
6
|
const toughCookie = require('tough-cookie')
|
|
7
|
+
const { format } = require('@lukeed/ms')
|
|
8
8
|
const pReflect = require('p-reflect')
|
|
9
9
|
const pTimeout = require('p-timeout')
|
|
10
10
|
const isUrl = require('is-url-http')
|
|
11
11
|
const path = require('path')
|
|
12
12
|
const fs = require('fs')
|
|
13
13
|
|
|
14
|
+
const timeSpan = require('@kikobeats/time-span')({ format: n => format(Math.round(n)) })
|
|
15
|
+
|
|
14
16
|
const { DEFAULT_INTERCEPT_RESOLUTION_PRIORITY } = require('puppeteer')
|
|
15
17
|
|
|
16
18
|
const debug = require('debug-logfmt')('browserless:goto')
|