@percy/client 1.31.3-beta.2 → 1.31.3-beta.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.
- package/dist/proxy.js +9 -0
- package/package.json +5 -5
package/dist/proxy.js
CHANGED
|
@@ -5,6 +5,15 @@ import https from 'https';
|
|
|
5
5
|
import logger from '@percy/logger';
|
|
6
6
|
import { stripQuotesAndSpaces } from '@percy/env/utils';
|
|
7
7
|
import { PacProxyAgent } from 'pac-proxy-agent';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Primary proxy implementation for Percy CLI
|
|
11
|
+
*
|
|
12
|
+
* NOTE: A simplified copy exists in @percy/sdk-utils/src/proxy.js due to module
|
|
13
|
+
* compatibility constraints. When modifying core proxy logic here, also update
|
|
14
|
+
* the sdk-utils version.
|
|
15
|
+
*/
|
|
16
|
+
|
|
8
17
|
const CRLF = '\r\n';
|
|
9
18
|
const STATUS_REG = /^HTTP\/1.[01] (\d*)/;
|
|
10
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@percy/client",
|
|
3
|
-
"version": "1.31.3-beta.
|
|
3
|
+
"version": "1.31.3-beta.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"test:coverage": "yarn test --coverage"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@percy/config": "1.31.3-beta.
|
|
37
|
-
"@percy/env": "1.31.3-beta.
|
|
38
|
-
"@percy/logger": "1.31.3-beta.
|
|
36
|
+
"@percy/config": "1.31.3-beta.4",
|
|
37
|
+
"@percy/env": "1.31.3-beta.4",
|
|
38
|
+
"@percy/logger": "1.31.3-beta.4",
|
|
39
39
|
"pac-proxy-agent": "^7.0.2",
|
|
40
40
|
"pako": "^2.1.0"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "d4fa0ae4e58a2f8fd2e389492ee6f2ef0e6c7fd0"
|
|
43
43
|
}
|