@percy/core 1.31.9-beta.1 → 1.31.9-beta.3
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/snapshot.js +7 -0
- package/package.json +8 -8
package/dist/snapshot.js
CHANGED
|
@@ -382,12 +382,19 @@ export function createSnapshotsQueue(percy) {
|
|
|
382
382
|
});
|
|
383
383
|
let url = data.attributes['web-url'];
|
|
384
384
|
let number = data.attributes['build-number'];
|
|
385
|
+
let usageWarning = data.attributes['usage-warning'];
|
|
385
386
|
percy.client.buildType = (_data$attributes = data.attributes) === null || _data$attributes === void 0 ? void 0 : _data$attributes.type;
|
|
386
387
|
Object.assign(build, {
|
|
387
388
|
id: data.id,
|
|
388
389
|
url,
|
|
389
390
|
number
|
|
390
391
|
});
|
|
392
|
+
|
|
393
|
+
// Display usage warning if present
|
|
394
|
+
if (usageWarning) {
|
|
395
|
+
percy.log.warn(usageWarning);
|
|
396
|
+
}
|
|
397
|
+
|
|
391
398
|
// immediately run the queue if not delayed or deferred
|
|
392
399
|
if (!percy.delayUploads && !percy.deferUploads) queue.run();
|
|
393
400
|
} catch (err) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@percy/core",
|
|
3
|
-
"version": "1.31.9-beta.
|
|
3
|
+
"version": "1.31.9-beta.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"test:types": "tsd"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@percy/client": "1.31.9-beta.
|
|
47
|
-
"@percy/config": "1.31.9-beta.
|
|
48
|
-
"@percy/dom": "1.31.9-beta.
|
|
49
|
-
"@percy/logger": "1.31.9-beta.
|
|
50
|
-
"@percy/monitoring": "1.31.9-beta.
|
|
51
|
-
"@percy/webdriver-utils": "1.31.9-beta.
|
|
46
|
+
"@percy/client": "1.31.9-beta.3",
|
|
47
|
+
"@percy/config": "1.31.9-beta.3",
|
|
48
|
+
"@percy/dom": "1.31.9-beta.3",
|
|
49
|
+
"@percy/logger": "1.31.9-beta.3",
|
|
50
|
+
"@percy/monitoring": "1.31.9-beta.3",
|
|
51
|
+
"@percy/webdriver-utils": "1.31.9-beta.3",
|
|
52
52
|
"content-disposition": "^0.5.4",
|
|
53
53
|
"cross-spawn": "^7.0.3",
|
|
54
54
|
"extract-zip": "^2.0.1",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"ws": "^8.17.1",
|
|
62
62
|
"yaml": "^2.4.1"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "38b33a40a51939de5d35df38b7652840e2bd6d9c"
|
|
65
65
|
}
|