@percy/core 1.5.0 → 1.5.1
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/dist/discovery.js +3 -1
- package/package.json +6 -6
package/dist/discovery.js
CHANGED
|
@@ -89,8 +89,10 @@ export function createRequestFinishedHandler(network, {
|
|
|
89
89
|
|
|
90
90
|
if (mimeType !== null && mimeType !== void 0 && mimeType.includes('font')) {
|
|
91
91
|
// font responses from the browser may not be properly encoded, so request them directly
|
|
92
|
+
log.debug('- Requesting asset directly');
|
|
92
93
|
body = await makeRequest(response.url, {
|
|
93
|
-
buffer: true
|
|
94
|
+
buffer: true,
|
|
95
|
+
headers: request.headers
|
|
94
96
|
});
|
|
95
97
|
}
|
|
96
98
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@percy/core",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"test:types": "tsd"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@percy/client": "1.5.
|
|
43
|
-
"@percy/config": "1.5.
|
|
44
|
-
"@percy/dom": "1.5.
|
|
45
|
-
"@percy/logger": "1.5.
|
|
42
|
+
"@percy/client": "1.5.1",
|
|
43
|
+
"@percy/config": "1.5.1",
|
|
44
|
+
"@percy/dom": "1.5.1",
|
|
45
|
+
"@percy/logger": "1.5.1",
|
|
46
46
|
"content-disposition": "^0.5.4",
|
|
47
47
|
"cross-spawn": "^7.0.3",
|
|
48
48
|
"extract-zip": "^2.0.1",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"rimraf": "^3.0.2",
|
|
54
54
|
"ws": "^8.0.0"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "c67c0d482d3da18e529f7bc2e1c219c04e59bbea"
|
|
57
57
|
}
|