dbm-graph-api 1.1.21 → 1.1.23
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": "dbm-graph-api",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.23",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@aws-sdk/client-s3": "^3.741.0",
|
|
15
15
|
"@aws-sdk/s3-request-presigner": "^3.741.0",
|
|
16
|
-
"dbm": "^1.1.
|
|
16
|
+
"dbm": "^1.1.18",
|
|
17
17
|
"mime": "^4.0.6",
|
|
18
18
|
"sharp": "^0.33.5",
|
|
19
19
|
"ws": "^8.18.0"
|
|
@@ -30,7 +30,7 @@ export default class Question extends Dbm.core.BaseObject {
|
|
|
30
30
|
let currentItem = currentArray[i];
|
|
31
31
|
let fields = await currentItem.getFields();
|
|
32
32
|
|
|
33
|
-
let codedObject = {id: currentItem.id,
|
|
33
|
+
let codedObject = {id: currentItem.id, question: fields.question, title: fields.title, answer: fields.description};
|
|
34
34
|
helpPages[i] = codedObject;
|
|
35
35
|
}
|
|
36
36
|
|
|
@@ -589,7 +589,8 @@ export const setupSite = function(aServer) {
|
|
|
589
589
|
}
|
|
590
590
|
|
|
591
591
|
response += ' <url>\n';
|
|
592
|
-
|
|
592
|
+
let encodedUrl = url.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"').replace(/'/g, ''');
|
|
593
|
+
response += ' <loc>' + fullUrl + encodedUrl + '</loc>\n';
|
|
593
594
|
if(fields["lastModified"]) {
|
|
594
595
|
response += ' <lastmod>' + fields["lastModified"] + '</lastmod>\n';
|
|
595
596
|
}
|