@percy/core
Advanced tools
Comparing version 1.28.4-beta.0 to 1.28.4-beta.1
@@ -150,3 +150,5 @@ import PercyClient from '@percy/client'; | ||
var _this$build; | ||
this.log.warn('Notice: Percy collects CI logs for service improvement, stored for 14 days. Opt-out anytime with export PERCY_CLIENT_ERROR_LOGS=false'); | ||
if (process.env.PERCY_CLIENT_ERROR_LOGS !== 'false') { | ||
this.log.warn('Notice: Percy collects CI logs for service improvement, stored for 30 days. Opt-out anytime with export PERCY_CLIENT_ERROR_LOGS=false'); | ||
} | ||
// start the snapshots queue immediately when not delayed or deferred | ||
@@ -433,3 +435,4 @@ if (!this.delayUploads && !this.deferUploads) yield this.#snapshots.start(); | ||
// Only add CI logs if not disabled voluntarily. | ||
if (process.env.PERCY_CLIENT_ERROR_LOGS !== 'false') { | ||
const sendCILogs = process.env.PERCY_CLIENT_ERROR_LOGS !== 'false'; | ||
if (sendCILogs) { | ||
const redactedContent = redactSecrets(logger.query(() => true, true)); | ||
@@ -449,3 +452,3 @@ logsObject.cilogs = redactedContent; | ||
const logsSHA = await this.client.sendBuildLogs(eventObject); | ||
this.log.info(`Build logs sent successfully. Please share this log ID with Percy team in case of any issues - ${logsSHA}`); | ||
this.log.info(`Build's CLI${sendCILogs ? ' and CI' : ''} logs sent successfully. Please share this log ID with Percy team in case of any issues - ${logsSHA}`); | ||
} catch (err) { | ||
@@ -452,0 +455,0 @@ this.log.warn('Could not send the builds logs'); |
{ | ||
"name": "@percy/core", | ||
"version": "1.28.4-beta.0", | ||
"version": "1.28.4-beta.1", | ||
"license": "MIT", | ||
@@ -46,7 +46,7 @@ "repository": { | ||
"dependencies": { | ||
"@percy/client": "1.28.4-beta.0", | ||
"@percy/config": "1.28.4-beta.0", | ||
"@percy/dom": "1.28.4-beta.0", | ||
"@percy/logger": "1.28.4-beta.0", | ||
"@percy/webdriver-utils": "1.28.4-beta.0", | ||
"@percy/client": "1.28.4-beta.1", | ||
"@percy/config": "1.28.4-beta.1", | ||
"@percy/dom": "1.28.4-beta.1", | ||
"@percy/logger": "1.28.4-beta.1", | ||
"@percy/webdriver-utils": "1.28.4-beta.1", | ||
"content-disposition": "^0.5.4", | ||
@@ -64,3 +64,3 @@ "cross-spawn": "^7.0.3", | ||
}, | ||
"gitHead": "fe4d7e944acd2081d901eb2eed202ccb64098576" | ||
"gitHead": "6f2c2bdf17f844b1add5f0c675163573893d301e" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
390191
5042
22
+ Added@percy/client@1.28.4-beta.1(transitive)
+ Added@percy/config@1.28.4-beta.1(transitive)
+ Added@percy/dom@1.28.4-beta.1(transitive)
+ Added@percy/env@1.28.4-beta.1(transitive)
+ Added@percy/logger@1.28.4-beta.1(transitive)
+ Added@percy/sdk-utils@1.28.4-beta.1(transitive)
+ Added@percy/webdriver-utils@1.28.4-beta.1(transitive)
- Removed@percy/client@1.28.4-beta.0(transitive)
- Removed@percy/config@1.28.4-beta.0(transitive)
- Removed@percy/dom@1.28.4-beta.0(transitive)
- Removed@percy/env@1.28.4-beta.0(transitive)
- Removed@percy/logger@1.28.4-beta.0(transitive)
- Removed@percy/sdk-utils@1.28.4-beta.0(transitive)
- Removed@percy/webdriver-utils@1.28.4-beta.0(transitive)
Updated@percy/client@1.28.4-beta.1
Updated@percy/config@1.28.4-beta.1
Updated@percy/dom@1.28.4-beta.1
Updated@percy/logger@1.28.4-beta.1