backend-manager 3.2.102 → 3.2.103
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "backend-manager",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.103",
|
|
4
4
|
"description": "Quick tools for developing Firebase functions",
|
|
5
5
|
"main": "src/manager/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"homepage": "https://itwcreativeworks.com",
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@firebase/rules-unit-testing": "^2.0.7",
|
|
38
|
-
"@google-cloud/storage": "^7.
|
|
38
|
+
"@google-cloud/storage": "^7.10.2",
|
|
39
39
|
"@octokit/rest": "^19.0.13",
|
|
40
40
|
"@sendgrid/mail": "^7.7.0",
|
|
41
41
|
"@sentry/node": "^6.19.7",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"cors": "^2.8.5",
|
|
45
45
|
"dotenv": "^16.4.5",
|
|
46
46
|
"firebase-admin": "^11.11.1",
|
|
47
|
-
"firebase-functions": "^4.
|
|
47
|
+
"firebase-functions": "^4.9.0",
|
|
48
48
|
"fs-jetpack": "^5.1.0",
|
|
49
49
|
"hcaptcha": "^0.1.1",
|
|
50
50
|
"inquirer": "^8.2.5",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"uid-generator": "^2.0.0",
|
|
69
69
|
"ultimate-jekyll-poster": "^1.0.1",
|
|
70
70
|
"uuid": "^9.0.1",
|
|
71
|
-
"wonderful-fetch": "^1.1.
|
|
71
|
+
"wonderful-fetch": "^1.1.5",
|
|
72
72
|
"wonderful-log": "^1.0.5",
|
|
73
73
|
"yargs": "^17.7.2"
|
|
74
74
|
}
|
|
@@ -157,12 +157,14 @@ Module.prototype.downloadImage = function (src, alt) {
|
|
|
157
157
|
|
|
158
158
|
return new Promise(async function(resolve, reject) {
|
|
159
159
|
// Log
|
|
160
|
-
|
|
160
|
+
const hyphenated = hyphenate(alt);
|
|
161
|
+
|
|
162
|
+
assistant.log(`downloadImage(): src=${src}, alt=${alt}, hyphenated=${hyphenated}`);
|
|
161
163
|
|
|
162
164
|
// Get image
|
|
163
165
|
const image = await fetch(src, {
|
|
164
166
|
method: 'GET',
|
|
165
|
-
download:
|
|
167
|
+
download: hyphenated,
|
|
166
168
|
})
|
|
167
169
|
.then((r) => {
|
|
168
170
|
// Log
|
|
@@ -131,6 +131,7 @@ function Analytics(Manager, options) {
|
|
|
131
131
|
|
|
132
132
|
// Fix user data
|
|
133
133
|
// https://developers.google.com/analytics/devguides/collection/ga4/uid-data
|
|
134
|
+
// https://stackoverflow.com/questions/68636233/ga4-measurement-protocol-does-not-display-user-data-location-screen-resolution
|
|
134
135
|
self.userData = {
|
|
135
136
|
sha256_email_address: authUser?.auth?.email
|
|
136
137
|
? toSHA256(authUser?.auth?.email)
|