@browserless/screenshot 10.7.10 → 10.7.11
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 +3 -2
- package/src/pretty/theme.js +2 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@browserless/screenshot",
|
|
3
3
|
"description": "Take a clean screenshot of any website",
|
|
4
4
|
"homepage": "https://browserless.js.org/#/?id=screenshoturl-options",
|
|
5
|
-
"version": "10.7.
|
|
5
|
+
"version": "10.7.11",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"author": {
|
|
8
8
|
"email": "hello@microlink.io",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"jimp": "~1.6.0",
|
|
38
38
|
"map-values-deep": "~1.0.2",
|
|
39
39
|
"mime": "~3.0.0",
|
|
40
|
+
"null-prototype-object": "~1.0.0",
|
|
40
41
|
"p-reflect": "~2.1.0",
|
|
41
42
|
"pretty-ms": "~7.0.1",
|
|
42
43
|
"prism-themes": "~1.9.0",
|
|
@@ -65,5 +66,5 @@
|
|
|
65
66
|
"timeout": "2m",
|
|
66
67
|
"workerThreads": false
|
|
67
68
|
},
|
|
68
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "31b1a9322e9bf17f9b569124afcdc47775fa028b"
|
|
69
70
|
}
|
package/src/pretty/theme.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
+
const NullProtoObj = require('null-prototype-object')
|
|
3
4
|
const { readFile } = require('fs/promises')
|
|
4
5
|
const isHttpUrl = require('is-url-http')
|
|
5
6
|
const path = require('path')
|
|
6
7
|
|
|
7
|
-
const CACHE =
|
|
8
|
+
const CACHE = new NullProtoObj()
|
|
8
9
|
|
|
9
10
|
const GET_THEME_PATH = () => require('prism-themes').themesDirectory
|
|
10
11
|
|