@reddoorla/maintenance 0.54.4 → 0.55.0
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/cli/bin.js +101 -5
- package/dist/cli/bin.js.map +1 -1
- package/dist/cli/commands/audit.js +6 -0
- package/dist/cli/commands/audit.js.map +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -5
|
@@ -125,6 +125,7 @@ __export(websites_exports, {
|
|
|
125
125
|
parseSecurityAdvisories: () => parseSecurityAdvisories,
|
|
126
126
|
siteSlug: () => siteSlug,
|
|
127
127
|
updateA11yCounts: () => updateA11yCounts,
|
|
128
|
+
updateAnalyticsHealth: () => updateAnalyticsHealth,
|
|
128
129
|
updateAuditFields: () => updateAuditFields,
|
|
129
130
|
updateDepsCounts: () => updateDepsCounts,
|
|
130
131
|
updateGitHubSignals: () => updateGitHubSignals,
|
|
@@ -185,6 +186,7 @@ function mapRow(rec) {
|
|
|
185
186
|
ga4PropertyId: f["GA4 property ID"] ?? null,
|
|
186
187
|
searchQuery: f["Search query"] ?? null,
|
|
187
188
|
searchConsoleProperty: f["Search Console property"] ?? null,
|
|
189
|
+
analyticsSoftFailAt: f["Analytics soft-fail at"] ?? null,
|
|
188
190
|
gitRepo: f["Git repo"] ?? null,
|
|
189
191
|
reportRecipientsTo: f["Report recipients (To)"] ?? null,
|
|
190
192
|
reportRecipientsCc: f["Report recipients (CC)"] ?? null,
|
|
@@ -327,6 +329,10 @@ function browserFields(r) {
|
|
|
327
329
|
async function updateScores(base, recordId, scores) {
|
|
328
330
|
await base(WEBSITES_TABLE).update([{ id: recordId, fields: scoreFields(scores) }]);
|
|
329
331
|
}
|
|
332
|
+
async function updateAnalyticsHealth(base, recordId, at) {
|
|
333
|
+
const fields = { "Analytics soft-fail at": at };
|
|
334
|
+
await base(WEBSITES_TABLE).update([{ id: recordId, fields }]);
|
|
335
|
+
}
|
|
330
336
|
async function updateA11yCounts(base, recordId, counts) {
|
|
331
337
|
await base(WEBSITES_TABLE).update([{ id: recordId, fields: a11yFields(counts) }]);
|
|
332
338
|
}
|