@percy/client 1.30.3-alpha.0 → 1.30.3-alpha.2
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/utils.js +2 -2
- package/package.json +4 -4
package/dist/utils.js
CHANGED
|
@@ -141,8 +141,8 @@ export async function request(url, options = {}, callback) {
|
|
|
141
141
|
} = new URL(url);
|
|
142
142
|
|
|
143
143
|
// reference the default export so tests can mock it
|
|
144
|
-
// bundling cli inside electron
|
|
145
|
-
// this: await import(protocol === 'https:' ? 'https' : 'http');
|
|
144
|
+
// bundling cli inside electron or another package fails if we import it
|
|
145
|
+
// like this: await import(protocol === 'https:' ? 'https' : 'http');
|
|
146
146
|
let {
|
|
147
147
|
default: http
|
|
148
148
|
} = protocol === 'https:' ? await import('https') : await import('http');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@percy/client",
|
|
3
|
-
"version": "1.30.3-alpha.
|
|
3
|
+
"version": "1.30.3-alpha.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"test:coverage": "yarn test --coverage"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@percy/env": "1.30.3-alpha.
|
|
37
|
-
"@percy/logger": "1.30.3-alpha.
|
|
36
|
+
"@percy/env": "1.30.3-alpha.2",
|
|
37
|
+
"@percy/logger": "1.30.3-alpha.2",
|
|
38
38
|
"pac-proxy-agent": "^7.0.2",
|
|
39
39
|
"pako": "^2.1.0"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "aeaba47044853e43b42e979a4e676916e4d95dff"
|
|
42
42
|
}
|