@percy/core 1.28.0-beta.0 → 1.28.0-beta.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/browser.js +2 -2
- package/dist/percy.js +1 -1
- package/package.json +7 -7
package/dist/browser.js
CHANGED
|
@@ -17,8 +17,8 @@ export class Browser extends EventEmitter {
|
|
|
17
17
|
#callbacks = new Map();
|
|
18
18
|
#lastid = 0;
|
|
19
19
|
args = [
|
|
20
|
-
// disable the translate popup
|
|
21
|
-
'--disable-features=Translate',
|
|
20
|
+
// disable the translate popup and optimization downloads
|
|
21
|
+
'--disable-features=Translate,OptimizationGuideModelDownloading',
|
|
22
22
|
// disable several subsystems which run network requests in the background
|
|
23
23
|
'--disable-background-networking',
|
|
24
24
|
// disable task throttling of timer tasks from background pages
|
package/dist/percy.js
CHANGED
|
@@ -151,7 +151,7 @@ export class Percy {
|
|
|
151
151
|
if (!this.skipDiscovery) yield this.#discovery.start();
|
|
152
152
|
// start a local API server for SDK communication
|
|
153
153
|
if (this.server) yield this.server.listen();
|
|
154
|
-
const snapshotType = this.
|
|
154
|
+
const snapshotType = this.projectType === 'web' ? 'snapshot' : 'comparison';
|
|
155
155
|
this.syncQueue = new WaitForJob(snapshotType, this);
|
|
156
156
|
// log and mark this instance as started
|
|
157
157
|
this.log.info('Percy has started!');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@percy/core",
|
|
3
|
-
"version": "1.28.0-beta.
|
|
3
|
+
"version": "1.28.0-beta.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"test:types": "tsd"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@percy/client": "1.28.0-beta.
|
|
47
|
-
"@percy/config": "1.28.0-beta.
|
|
48
|
-
"@percy/dom": "1.28.0-beta.
|
|
49
|
-
"@percy/logger": "1.28.0-beta.
|
|
50
|
-
"@percy/webdriver-utils": "1.28.0-beta.
|
|
46
|
+
"@percy/client": "1.28.0-beta.1",
|
|
47
|
+
"@percy/config": "1.28.0-beta.1",
|
|
48
|
+
"@percy/dom": "1.28.0-beta.1",
|
|
49
|
+
"@percy/logger": "1.28.0-beta.1",
|
|
50
|
+
"@percy/webdriver-utils": "1.28.0-beta.1",
|
|
51
51
|
"content-disposition": "^0.5.4",
|
|
52
52
|
"cross-spawn": "^7.0.3",
|
|
53
53
|
"extract-zip": "^2.0.1",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"rimraf": "^3.0.2",
|
|
59
59
|
"ws": "^8.0.0"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "726fe9b1688c640a4806623d1d34aaafeb79d8c7"
|
|
62
62
|
}
|